package updates
This commit is contained in:
@@ -67,7 +67,7 @@ class Encrypter implements EncrypterContract
|
||||
*/
|
||||
public static function generateKey($cipher)
|
||||
{
|
||||
return random_bytes($cipher == 'AES-128-CBC' ? 16 : 32);
|
||||
return random_bytes($cipher === 'AES-128-CBC' ? 16 : 32);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user