0.10.0
Changelog:
-
New types for secret keys, nonces, tags, etc. This greatly increases misuse-reisstance, usability and safety. To read more about the types and how they are implemented, see the wiki section.
-
defaultAPI has been dropped. All high-level functionality is now accessible through these interfaces:orion::aead,orion::auth,orion::kdfandorion::pwhash. -
AEAD interfaces in
hazardousand in the high-level API (previouslydefault::encrypt, etc.) have been renamed tosealandopento reflect the authentication and hopefully increase familiarity. -
finalize_to_dst()has been dropped for HMAC. -
Adaption of the
#[must_use]attribute. -
Documentation improvements.
-
HKDF and cSHAKE dropped from high-level API.
-
High-level PBKDF2 now uses 64 byte salts and 64 byte password hashes and the iteration count has been made available for users to control.
-
Argument
infofor HKDF andadfor AEADs are nowOption. -
util::gen_rand_keyandutil::compare_ctare nowutil::secure_rand_bytesandutil::secure_cmp. -
The password length enforcement in high-level PBKDF2 API has been removed.
-
All other public types (eg.
CShake,HmacandPoly1305) now implementDebug. -
Using
clear_on_dropto wipe memory in favor ofseckey. -
New features
nightlyandno_std. To use orion in ano_stdcontext, some dependency specfications are needed. Refer to the README for these. -
Major improvements to error propagation.