Closed sylvain101010 closed 4 years ago
The Argon2 algorithm has 3 variants which work slightly differently: Argon2d, Argon2i and Argon2id.
In general, for password hashes that are stored in a databse you should use the Argon2id variant. This is essentially a hybrid of the Argon2d and Argon2i algorithms and uses a combination of data-independent memory access (for resistance against side-channel timing attacks) and data-depending memory access (for resistance against GPU cracking attacks).
Ho ok thank you very much! I totally missed the introduction godoc explaining this.
Thank you!
Hi, first of all thank you for your work! It's great!
I can't find why you use
argon2.IDKey
instead ofargon2.Key
. Can you explain me the differences?