question on defaults for argon2 #4
-
Are the defaults for argon2 in pwdlib documented anywhere? I can't seem to find them in docs or source code.
example output structure: ^ from the above I assume version=19; memory=65536 kibibytes; iterations=3; parallelism=4. Is this correct? |
Beta Was this translation helpful? Give feedback.
Answered by
frankie567
May 3, 2024
Replies: 1 comment 4 replies
-
The defaults are actually pulled directly from Argon2 implementation: pwdlib/pwdlib/hashers/argon2.py Lines 15 to 23 in 17fd0c6 Which are defined there, and corresponds to the "low memory" profile of the RFC: |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
84adam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The defaults are actually pulled directly from Argon2 implementation:
pwdlib/pwdlib/hashers/argon2.py
Lines 15 to 23 in 17fd0c6
Which are defined there, and corresponds to the "low memory" profile of the RFC:
https://github.com/hynek/argon2-cffi/blob/0805dbdded04dc3c4bc8573236c80be50ff30113/src/argon2/profiles.py#L30-L38