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.
2 parents 80ae9bd + 856d3e9 commit 2e7aa88Copy full SHA for 2e7aa88
lib/internal/Magento/Framework/Encryption/Encryptor.php
@@ -162,7 +162,7 @@ public function __construct(
162
*/
163
public function getLatestHashVersion(): int
164
{
165
- if (extension_loaded('sodium')) {
+ if (extension_loaded('sodium') && defined('SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13')) {
166
return self::HASH_VERSION_ARGON2ID13;
167
}
168
0 commit comments