We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d12cfe8 commit d072357Copy full SHA for d072357
lib/internal/Magento/Framework/Encryption/Crypt.php
@@ -66,7 +66,7 @@ public function __construct(
66
$allowedCharacters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
67
$initVector = '';
68
for ($i = 0; $i < $initVectorSize; $i++) {
69
- $initVector .= $allowedCharacters[rand(0, strlen($allowedCharacters) - 1)];
+ $initVector .= $allowedCharacters[random_int(0, strlen($allowedCharacters) - 1)];
70
}
71
// @codingStandardsIgnoreStart
72
@mcrypt_generic_deinit($handle);
0 commit comments