Open
Description
argon2.Key() & .IDKey() appear to thrash memory by allocating a (typically) large buffer and using it once.
https://github.com/golang/crypto/blob/master/argon2/argon2.go#L157
This might not scale well where every login on a high-traffic site calls this API to check a password.
Could API variants be added which take a config struct that optionally contains a buffer, so we can use a buffer pool?
Metadata
Metadata
Assignees
Type
Projects
Status
Hold