Skip to content

Commit 81d0450

Browse files
Merge MC-36790 into cia-2.3.7
2 parents 7a81928 + d306814 commit 81d0450

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/Encryption/Encryptor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ private function getArgonHash(
591591
string $salt
592592
): string {
593593
//phpcs:disable PHPCompatibility.Constants.NewConstants
594+
//phpcs:disable PHPCompatibility.FunctionUse.NewFunctions
594595
if (strlen($salt) < SODIUM_CRYPTO_PWHASH_SALTBYTES) {
595596
$salt = str_pad($salt, SODIUM_CRYPTO_PWHASH_SALTBYTES, $salt);
596597
} elseif (strlen($salt) > SODIUM_CRYPTO_PWHASH_SALTBYTES) {
@@ -607,6 +608,7 @@ private function getArgonHash(
607608
SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13
608609
)
609610
);
611+
//phpcs:enable PHPCompatibility.FunctionUse.NewFunctions
610612
//phpcs:enable PHPCompatibility.Constants.NewConstants
611613
}
612614
}

0 commit comments

Comments
 (0)