# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [0.2.1] - 2024-05-08 ### Changed - Omit unnecessary check on `message_len` in `decrypt` [#21] ## [0.2.0] - 2024-03-27 ### Added - Add authenticated encryption and decryption [#6] - Add check for `cipher.len == message.len + 1` in `encrypt` and `decrypt` [#9] - Add check for max squeeze and absorb len [#17] ### Changed - Let `Sponge::start` take the io-pattern as `impl Into>` [#4] - Change `nonce` to be `&T` instead of `T` in `encrypt` and `decrypt` [#9] - Improve crate documentation [#13] - Rename `Encryption::assert_equal` to `Encryption::is_equal` [#15] ## [0.1.0] - 2024-03-07 ### Added - Add initial implementation of the SAFE framework [#3] - Add `Safe` trait - Add `Sponge` struct - Add `Error` enum - Add README - Add Changelog - Add documentation [#21]: https://github.com/dusk-network/safe/issues/21 [#17]: https://github.com/dusk-network/safe/issues/17 [#15]: https://github.com/dusk-network/safe/issues/15 [#13]: https://github.com/dusk-network/safe/issues/13 [#9]: https://github.com/dusk-network/safe/issues/9 [#6]: https://github.com/dusk-network/safe/issues/6 [#4]: https://github.com/dusk-network/safe/issues/4 [#3]: https://github.com/dusk-network/safe/issues/3 [Unreleased]: https://github.com/dusk-network/safe/compare/v0.2.1...HEAD [0.2.1]: https://github.com/dusk-network/safe/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/dusk-network/safe/compare/v0.1.0...v0.2.0 [0.1.0]: https://github.com/dusk-network/safe/releases/tag/v0.1.0