Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable Salt Length for Argon2 Key Derivation #717

Closed
ankane opened this issue May 27, 2018 · 2 comments
Closed

Configurable Salt Length for Argon2 Key Derivation #717

ankane opened this issue May 27, 2018 · 2 comments

Comments

@ankane
Copy link

ankane commented May 27, 2018

Hi, thanks for this awesome library 馃憤

Currently, Argon2 has a fixed salt length (128 bits). It sounds like this is plenty for passwords (as discussed in #509), but longer salts are needed for key derivation.

What are your thoughts on exposing this?

@mouse07410
Copy link

Could you please explain why 128 bits of salt is not enough for key derivation? Ideally, with a reference to a respected source?

@ankane
Copy link
Author

ankane commented May 27, 2018

Hey @mouse07410, here's the case I'm familiar with. Essentially, the salt acts as a secret key, and it鈥檚 desirable for the key to be more than 128-bits. Unfortunately, I haven鈥檛 been able to find much literature on it. In hindsight, it probably doesn鈥檛 make sense to add if this is the only case. I'll follow up if I find anything else significant.

@ankane ankane closed this as completed May 27, 2018
Repository owner locked and limited conversation to collaborators Aug 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants