- Update dependency on tiny-keccak
- Update dependency on maidsafe_utilities to 0.18.0
- Update to rustc 2018 edition
- Update lazy_static
- Update README, CI URL and misc (formatting and clippy)
- Use rust 1.29.1 stable / no nightly.
- Add ability to generate sign keypair using a given seed.
- Add key derivation using scrypt with an optional work factor parameter.
- Add support for encryption using custom nonces.
- Export the constants
NONCE_BYTES
,SEED_BYTES
, andHASH_BYTES
.
- Upgrade unwrap version to 1.2.0.
- Expose constants of encryption and signing key sizes.
- Implement
Copy
trait forSignature
,PublicEncryptKey
andPublicSignKey
.
- Use rust 1.28.0 stable / 2018-07-07 nightly
- rustfmt 0.99.2 and clippy-0.0.212
- Split types to map 1-to-1 with low libraries to make it more versatile and
better suit downstream dependants.
PublicSignKey
SecretSignKey
PublicEncryptKey
SecretEncryptKey
SymmetricKey
Signature
- Implement
Display
for public keys. - Add more
into_bytes
andfrom_bytes
functions.
- Rename publicly exported structures and functions to better represent their intended use:
PublicId
->PublicKeys
,PublicId::name()
->PublicKeys::public_sign_key()
.SecretId
->SecretKeys
,SecretId::public_id()
->SecretId::public_keys()
.EncryptionError
->Error
.
- Rename feature
use-mock-crypto
tomock
. - Add the hashing function
hash
to the public API (along with a mock version). - Add fast pseudo-random generator
SeededRng
to be used along with the mock crypto.
- Initial implementation
- Implement the basic encryption features for asymmetric anonymous and authenticated encryption.
- Implement the detached signature and verification functions.
- Implement the symmetric encryption functions.
- Implement the mock-crypto version of the library for testing purposes.