All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Use
Salt
type withPasswordHasher
(#1187) - Rename
Salt::new
=>Salt::from_b64
(#1266) - Rename
Salt::b64_decode
=>Salt::decode_b64
(#1266) - Rename
SaltString::new
=>SaltString::from_b64
(#1266) - Rename
SaltString::b64_decode
=>SaltString::decode_b64
(#1266) - Rename
SaltString::b64_encode
=>SaltString::encode_b64
(#1266)
- Allow
Salt
to be exactly the same amount asMAX_LENGTH
value (#1246)
- docs.rs metadata (#1031)
authentication
category to Cargo.toml (#976)
- Leverage
const_panic
; MSRV 1.57 (#896) - Rust 2021 edition upgrade (#897)
- Make
Ident::new
fallible; addIdent::new_unwrap
(#896, #960)
- Better
Debug
/Display
impls forSaltString
(#804)
base64ct
version restrictions (#914)
- Remove unused lifetimes (#760)
PasswordHashString
(#758)
- Handling of empty salts in
fmt::Display
impl for PasswordHash (#748) - MSRV regression from
base64ct
(#757)
- More details to
ParamValueInvalid
(#713) SaltInvalid
error (#713)version
param toPasswordHasher
(#719)ParamsString::add_b64_bytes
method (#722)
- Rename
PasswordHash::hash_password_simple
=>PasswordHash::hash_password
(#720) - Rename
PasswordHash::hash_password
=>PasswordHash::hash_password_customized
(#720) - Rename
Error::B64
=>Error::B64Encoding
(#721)
- Make max lengths of
Value
andSalt
both 64 (#707)
- Pin
subtle
dependency to v2.4 (#689)
- Re-export
rand_core
(#683)
- Use
subtle
crate for comparing hashOutput
(#631)
- Allow specifying output length and version with params (#615)
- Allow passing
&str
,&Salt
, or&SaltString
as salt (#615) - Simplify error handling (#615)
- Length constants (#600)
- Deprecate functions for obtaining length constants (#600)
- Update docs for PHC string field (#593)
- Broken
b64
links in rustdoc (#594)
- Bump
base64ct
dependency to v1.0 (#579)
Encoding
enum with bcrypt andcrypt(3)
Base64 support (#515)- Support for using
PasswordHash
with an alternateEncoding
(#518)
- Bump
base64ct
dependency to v0.2 (#519)
- Initial release