Expand description
An async wrapper around argon2
Structs§
- Config
- Configuration for the
argon2
algorithm.
Enums§
- Error
- All possible errors that can happen.
Functions§
- hash
- Hash this password with the given config. Return the hashed password as a String.
- hash_
raw - Hash this password with the given config. Return the hashed password as a raw bytes vector.
- set_
config - Set the global config.
- verify
- Verify a password with the given hash.
Type Aliases§
- Result
- A type helper for every result returned by this crate.