diff --git a/src/Password.php b/src/Password.php index 3978f07..cacd3fa 100644 --- a/src/Password.php +++ b/src/Password.php @@ -113,7 +113,7 @@ public static function needsRehash( $config->ENCODING )->getString(); - // Upon successful decryption, verify that we're using Argon2i + // Upon successful decryption, verify that we're using Argon2id if (!\hash_equals( Binary::safeSubstr($hash_str, 0, 10), \SODIUM_CRYPTO_PWHASH_STRPREFIX