Version 2.0.0
- Dependency updates from
@seanlinsley. This package now uses
more modern cryptographic crates from the
@RustCrypto team.
- The
set_cipher_key_size
function was removed, instead just set the encryptor'skey_size
property directly:e.key_size = KeySize::Aes256
Verifier#generate
now returns aResult<String>
- The
Version 1.1.0
- The
Encryptor
type is now a trait which is implemented by theAesHmacEncryptor
andAesGcmEncryptor
types. - The
set_cipher
function has been renamed toset_cipher_key_size
and theEncryptorCipher
type has been renamed toKeySize
.