Use Windows CryptGenRandom function instead of RandomRange #3
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: eric/pascal_bcrypt#3
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Use Windows CryptGenRandom function instead of RandomRange on line #L567 for Windows Platforms.
If you are generating passwords faster than .5 seconds, the salt will duplicate every other round. Hopefully nobody is generating mass password hashes from the same password. Can't think of a use case. (I'm sure there is one).
This is only affected if you generate a hash for the same password.
This will output something like :
This repo is no longer being updated. See BCrypt in https://github.com/renegadebbs/Renegade.Hash