Expand description
§RustCrypto: PHC String Format
Pure Rust implementation of the Password Hashing Competition (PHC) string format, which is used to store password hashes.
§Example (Argon2):
$argon2d$v=19$m=512,t=3,p=2$5VtWOO3cGWYQHEMaYGbsfQ$AcmqasQgW/wI6wAHAMk4aQ§Minimum Supported Rust Version (MSRV) Policy
MSRV increases are not considered breaking changes and can happen in patch releases.
The crate MSRV accounts for all supported targets and crate feature combinations, excluding explicitly unstable features.
§License
Licensed under either of:
at your option.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Structs§
- Ident
- Algorithm or parameter identifier.
- Output
- Output from password hashing functions, i.e. the “hash” or “digest” as raw bytes.
- Params
String - Algorithm parameter string.
- Password
Hash - Password hash.
- Password
Hash String Deprecated alloc - DEPRECATED: serialized
PasswordHash. - Salt
- In password hashing, a “salt” is an additional value used to personalize/tweak the output of a password hashing function for a given input password.
- Salt
String - “B64”-encoded
Saltstored as a stack-allocated string. - Value
- Algorithm parameter value string.
Enums§
- Error
- Password hashing errors.