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.
- Improved
const fn
support (#450)
- Max params (#452)
- Provide
std::error::Error::source
forargon2::Error
(#379) ParamsBuilder::context
(#400)- Enable
password-hash/alloc
whenalloc
feature is enabled (#422) - Impl
Debug
forArgon2
(#423) Block::new()
const initializer (#427)Params::DEFAULT
constant (#439)- Initial AVX2 SIMD optimizations (#440)
- Merge
Argon2
andInstance
structs (#247) - Refactor
ParamsBuilder
to make it more ergonomic (#247) - Bump
password-hash
dependency to v0.5 (#383) - Adopt OWASP recommended default
Params
(#386) - MSRV 1.65 (#391)
- Erroneous docs for
m_cost
andBlock
(#247) - Allow
zeroize
in heapless environments (i.e. withoutalloc
) (#374)
argon2::RECOMMENDED_SALT_LEN
(#307)
- Minimal versions build (#273)
- Make
Params::block_count()
public (#258)
- Bump
blake2
dependency to v0.10 (#254)
- Handling of
p_cost
parameter (#235)
Argon2::new
now has explicitversion
andparams
(#213)- Factored apart
Argon2::new
andArgon2::new_with_secret
, making the former infallible (#213) Params
struct is now opaque with field accessors, and ensured to always represent a valid set of parameters (#213)- Removed
version
parameter fromhash_password_into
, using the one supplied toArgon2::new
(#213) - Bump
password-hash
to v0.3 (#217, RustCrypto/traits#724) - Use
resolver = "2"
; MSRV 1.51+ (#220)
Params
no longer has aversion
field (#211)
- Impl
std::error::Error
forargon2::Error
(#200) - Impl
TryFrom<Params>
forArgon2
(#202) Result
type alias (#203)ParamsBuilder
(#204)
- Relax
zeroize
requirements to>=1, <1.4
(#195)
- Pin
zeroize
dependency to v1.3 (#190)
Params
always available; no longer feature-gated onpassword-hash
(#182)
- Configured params are used with
hash_password_simple
(#182)
- Forbid unsafe code outside parallel implementation (#157)
- Bump
password-hash
crate dependency to v0.2 (#164)
argon2::BLOCK_SIZE
constant (#161)
- Parallel lane processing using
rayon
(#149)
std
feature (#141)
- Salt-length related panic (#135)
- rustdoc typo (#128)
rand
feature; enabled-by-default (#126)
- Initial release