Skip to content

Is the default setting for Argon2Function good enough? #96

Answered by firaja
bobaikato asked this question in Q&A
Discussion options

You must be logged in to vote

These are the minimum suggested requirements by OWASP and it's good: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#introduction

Anything stronger than that is better, but also depends on your system requirements. For example memory=15/iterations=2 and memory=37/iterations=1 provides the same level of security, but there is a tradeoff between RAM and CPU. If you have more computational power than memory you should choose the first one.

In any case Password4j provides a tool that can help to choose the right configuration: https://github.com/Password4j/password4j/wiki/Recommended-settings#responsiveness-3 (numbers here are just random examples)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bobaikato
Comment options

Answer selected by firaja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants