-
Notifications
You must be signed in to change notification settings - Fork 64
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
Document minimum log rounds #79
Comments
Yes, it's documented in the gen_salt function, but not in the hashpwsalt function, which might be confusing. Maybe raising an error would provide more forceful 'documentation' :) |
At the very least I'd recommend adding a little note to the README in step 4 of the Installation section. |
I've just released version 2.4, and these are the changes:
|
Awesome, thanks! I think this will help keep a lot of people from tripping up. |
I had added this line in my test config:
which did not make my tests any faster. I looked into the source code, and found that if the value is not between 4 and 32, it gets thrown out and
12
gets used (changing my config to 4 made my tests fast again). I asked about this in the Elixir Slack channel and found that this has confused others in the past.I think this should either be strongly documented or throw a warning instead of just silently using 12.
Thanks!
The text was updated successfully, but these errors were encountered: