Skip to content

Commit

Permalink
Merge pull request #155 from padraigdoran/patch-4
Browse files Browse the repository at this point in the history
Updated comment to refer to Argon2id, not Argon2i
  • Loading branch information
paragonie-security authored Dec 3, 2020
2 parents e7adebc + ebfc040 commit 106d917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 106d917

Please sign in to comment.