Updated the bcrypt description as discussed in #1532 #1551
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In #1532 there was a side discussion by @ja2048 and @jmanico on why the CS mentioned that HMAC would be vulnerable to password shucking, but the linked talk mentioned that even a hash with a pepper would prevent it. So I correcteed the guidance.
I further removed the mentioning of PBKDF2, since this suggests that bcrypt + PBKDF2 would give FIPS-140 compliance.
I also added that bcrypt should only be used for legacy system which don't have agron2 or scrypt, as discussed in #1532