0.12.0
Changelog:
- [Breaking change]: All high-level functions now return a Result.
- [Breaking change]:
Passwordinpbkdf2,SecretKeyandhmac()ofhmacandextract()ofhkdfinhazardousnow return a Result. - [Breaking change]: Limit all
generate()taking alengthparameter, andorion::kdfcalls to a length of less thanu32::max_value()as maximum. - [Breaking change]:
orion::kdfandorion::pwhashtake a newPasswordparameter that is heap-allocated and returns a Result. - Removed
sha2dependency andringdev-dependency.sha2has been replaced with orion's own SHA512 implementation. - Added support for BLAKE2b and SHA512.
- Updated to Rust 2018 Edition.
- Better performance for HMAC, HKDF and PBKDF2.
Thanks to @gabelanglais for valuable feedback, especially on the API design.