diff --git a/framework/helpers/BaseSecurity.php b/framework/helpers/BaseSecurity.php index 17192a15e3..dc186c56c6 100644 --- a/framework/helpers/BaseSecurity.php +++ b/framework/helpers/BaseSecurity.php @@ -55,7 +55,6 @@ class BaseSecurity { $module = static::openCryptModule(); $data = static::addPadding($data); - srand(); $iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($module), MCRYPT_RAND); $key = static::deriveKey($password, $iv); mcrypt_generic_init($module, $key, $iv);