From ebfc04034ecafecbdd846d08f0129302fb310f8a Mon Sep 17 00:00:00 2001 From: Padraig Doran Date: Wed, 5 Aug 2020 23:04:22 +0100 Subject: [PATCH] Updated comment to refer to Argon2id, not Argon2i --- src/Password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Password.php b/src/Password.php index 6443f93..ebded38 100644 --- a/src/Password.php +++ b/src/Password.php @@ -111,7 +111,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