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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide preset parameters for RFC 9106 #9

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mudge
Copy link
Owner

@mudge mudge commented Nov 28, 2024

GitHub: #8

Allow users to choose from recommended parameters from RFC 9106 and the OWASP Password Storage Cheat Sheet by providing them as constants on Argon2id.

To allow users to use this as defaults without having to pass them to every call to Argon2id::Password.create, add a new Argon2id.set_defaults method for setting multiple parameters at once. Note that Argon2id.set_defaults returns nil as it is purely for side-effects only.

@mudge mudge force-pushed the defaults-and-profiles branch from 347bb4d to 730ee03 Compare November 28, 2024 20:37
GitHub: #8

Allow users to choose from recommended parameters from RFC 9106 and the
OWASP Password Storage Cheat Sheet by providing them as constants on
`Argon2id`.

To allow users to use this as defaults without having to pass them to
every call to `Argon2id::Password.create`, add a new
`Argon2id.set_defaults` method for setting multiple parameters at once.
Note that `Argon2id.set_defaults` returns `nil` as it is purely for
side-effects only.
@mudge mudge force-pushed the defaults-and-profiles branch from 730ee03 to b01ecae Compare November 29, 2024 12:53
@mudge mudge force-pushed the main branch 3 times, most recently from ef2ad73 to 7cd8956 Compare December 16, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant