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 7a81928 + d306814 commit 81d0450Copy full SHA for 81d0450
lib/internal/Magento/Framework/Encryption/Encryptor.php
@@ -591,6 +591,7 @@ private function getArgonHash(
591
string $salt
592
): string {
593
//phpcs:disable PHPCompatibility.Constants.NewConstants
594
+ //phpcs:disable PHPCompatibility.FunctionUse.NewFunctions
595
if (strlen($salt) < SODIUM_CRYPTO_PWHASH_SALTBYTES) {
596
$salt = str_pad($salt, SODIUM_CRYPTO_PWHASH_SALTBYTES, $salt);
597
} elseif (strlen($salt) > SODIUM_CRYPTO_PWHASH_SALTBYTES) {
@@ -607,6 +608,7 @@ private function getArgonHash(
607
608
SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13
609
)
610
);
611
+ //phpcs:enable PHPCompatibility.FunctionUse.NewFunctions
612
//phpcs:enable PHPCompatibility.Constants.NewConstants
613
}
614
0 commit comments