You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The secret parameter, which is used for keyed hashing. This allows a secret key to be input at hashing time (from some external location) and be folded into the value of the hash. This means that even if your salts and hashes are compromised, an attacker cannot brute-force to find the password without the key.
Package version
latest
Describe the bug
Argon supports a
secret
key: https://github.com/P-H-C/phc-winner-argon2?tab=readme-ov-file#libraryIf I see this correctly then the argon2 npm package supports this (https://github.com/ranisalt/node-argon2/blob/7bf76721387db96f3ae153577dd370e08405ebe5/argon2.cjs#L57C1-L57C31) but it's not yet supported by the hash/verify methods of this package:
hash/src/drivers/argon.ts
Lines 207 to 216 in 9463702
Reproduction repo
No response
The text was updated successfully, but these errors were encountered: