Expand description
Easily hash and verify passwords using bcrypt
Forked to remove getrandom dependency completely
Structs§
- Hash
Parts - A bcrypt hash result before concatenating
Enums§
- Bcrypt
Error - All the errors we can encounter while hashing/verifying passwords
- Version
- BCrypt hash version https://en.wikipedia.org/wiki/Bcrypt#Versioning_history
Constants§
Functions§
- bcrypt
- hash_
with_ salt - Generates a password given a hash and a cost. The function returns a result structure and allows to format the hash in different versions.
- verify
- Verify that a password is equivalent to the hash provided
Type Aliases§
- Bcrypt
Result - Library generic result type.