Replies: 1 comment 7 replies
-
A way better approach is to encrypt the hashes. By doing so, the secret key can be changed without requiring the plaintext password to be known and rehash everything. The authentication tag will also protect the parameters from being changed. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In some situations it's nice to be able to add a high entropy secret to a password for key derivation (see for example this use case https://infosec.exchange/@sc00bz/109684199071308560)
It turns out Argon2 support this natively via the Secret (K) input. It would be nice to surface this possibility in the pwhash public API.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions