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.
- Changed the cipher to XChaCha20Poly1305, which uses a 192-bit nonce compared to AES-GCM's 96-bit nonces. This drastically reduces the concern about using random byte sequences for nonce generation. The likelyhood of a collision is considered negligible by most cryptography experts.
0.3.0 - 2024-04-28
- Re-export
secrecy::ExposeSecret
in theconfig
module.
key_config::KeyConfig
has been moved toconfig::Config
& is no longer exposed throughlib.rs
. You'll have to use the full path to reach it.- The encryption strategy is no longer configured on the
EncryptedMessage
itself, but rather inside itsConfig
type.
- Removed the
utilities::key_decoder
module, as it's out of scope for this library. - Removed the
utilities::key_generation
module, as it's out of scope for this library. - Removed the
with_new_payload
&with_new_payload_and_key_config
methods, as they add no value.
0.2.0 - 2024-04-23
First official release.