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

argon2: add Params::DEFAULT constant #439

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jul 3, 2023

Allows for accessing default parameters in const contexts

Allows for accessing default parameters in const contexts
@tarcieri tarcieri merged commit 3571f10 into master Jul 3, 2023
@tarcieri tarcieri deleted the argon2/default-params-constant branch July 3, 2023 15:53
@C0D3-M4513R
Copy link
Contributor

Yes, but not as customizable.
I cannot store a custom const default Params object

@tarcieri
Copy link
Member Author

tarcieri commented Jul 3, 2023

That seems at odds with the notion of a default, especially in this context: we have specially selected the OWASP recommended parameters specifically so you don't have to customize them.

If you want customization, by definition you are not using the default.

@tarcieri tarcieri mentioned this pull request Jul 13, 2023
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.

2 participants