Open dhui opened 6 years ago
Argon2 is now available in the golang.org/x/crypto/argon2 package. https://godoc.org/golang.org/x/crypto/argon2
golang.org/x/crypto/argon2
Note: As of 2017-01-07, the Golang implementation chose to only expose Argon2i which is optimized for password hashing and KDFs since it's data independent. See:
Hold off on making Argon2 the default KDF until more time has passed: https://pthree.org/2016/06/29/further-investigation-into-scrypt-and-argon2-password-hashing/
golang.org/x/crypt/argon2 now "supports" the Argon2id variant by exposing it: https://github.com/golang/go/issues/23602 https://github.com/golang/crypto/commit/d9133f5469342136e669e85192a26056b587f503
golang.org/x/crypt/argon2
Argon2 is now available in the
golang.org/x/crypto/argon2
package. https://godoc.org/golang.org/x/crypto/argon2Note: As of 2017-01-07, the Golang implementation chose to only expose Argon2i which is optimized for password hashing and KDFs since it's data independent. See:
Hold off on making Argon2 the default KDF until more time has passed: https://pthree.org/2016/06/29/further-investigation-into-scrypt-and-argon2-password-hashing/