Changelog

0.9.5 - 2024-04-16

Changed

  • Update document

0.9.4 - 2024-04-08

Changed

  • Update copyright notice (#223)

0.9.3 - 2024-02-17

Fixed

  • Fix syntax highlighting in README.md

0.9.2 - 2024-02-17

Fixed

  • Fix example.path in Cargo.toml (#178)

0.9.1 - 2024-02-17

Changed

  • Bump MSRV to 1.74.0 (#163)

0.9.0 - 2024-01-18

Changed

  • Change Error::source to return Some when the error is Error::InvalidParams (#110)

  • Merge scryptenc-cli crate (#115)

Removed

  • Remove impl From<InvalidParams> for Error (#110)

0.8.7 - 2024-01-07

Changed

  • Change to use bump-my-version

0.8.6 - 2023-12-07

Changed

  • Supports input from stdin and output to a file in the examples (#93)

0.8.5 - 2023-11-29

Changed

  • Bump MSRV to 1.70.0 (#90)

  • Enable scrypt/std when std feature is enabled (#91)

0.8.4 - 2023-11-04

Added

  • Add Code of Conduct (#82)

  • Add serialization support for Params (#85)

0.8.3 - 2023-09-29

Removed

  • Remove Params::default (#76)

0.8.2 - 2023-09-20 [YANKED]

Added

  • Add constants to represent header and tag sizes (#72)

Changed

  • Change the structure of Params (#70)

0.8.1 - 2023-09-07

Changed

  • Bump clap from 3 to 4 (#62)

  • Bump actions/checkout from 3 to 4 (#63)

0.8.0 - 2023-09-03

Added

  • Add a specialized Result type for read and write operations for the scrypt encrypted data format (#56)

  • Add convenience functions for using Encryptor and Decryptor (#57)

Changed

  • Re-export hmac crate (#51)

  • Change to store the plaintext and the ciphertext as slice in Encryptor and Decryptor (#54)

  • Make alloc optional and add alloc feature for enables functionality requiring an allocator (#55)

0.7.1 - 2023-08-18

Changed

  • Change SPDX-FileCopyrightText of each file to include only the year of initial publication (#45)

  • Remove unnecessary newline after period (#46)

0.7.0 - 2023-08-11

Changed

  • Split Params from format.rs (#38)

  • Use StdRng instead of ChaCha20Rng to generate salt (#38)

  • Rename Error::InvalidHeaderSignature to Error::InvalidHeaderMac (#40)

  • Rename Error::InvalidSignature to Error::InvalidMac (#40)

0.6.0 - 2023-08-09

Added

  • Add doctests to public API (#34)

  • Implement Clone, Copy, Eq and PartialEq for Error (#35)

Fixed

  • Fix benches/encrypt.rs (#30)

0.5.3 - 2023-08-06

Changed

  • Update documentation (#26)

0.5.2 - 2023-08-01

Changed

  • Change the comment header to the format recommended by the REUSE Specification (#23)

  • Make this project REUSE compliant (#24)

0.5.1 - 2023-07-04

Changed

  • Enable doc_auto_cfg feature

0.5.0 - 2023-03-12

Added

  • Add Error::InvalidHeaderSignature

Changed

  • Bump scrypt to v0.11

  • Bump MSRV to 1.60.0

  • Change to return Error::InvalidHeaderSignature if the header signature was invalid

0.4.1 - 2022-11-09

Changed

  • Re-export digest and scrypt crates

0.4.0 - 2022-11-04

Added

  • Add no_std support

  • Add benchmarks

Removed

  • Remove Error::Io

0.3.1 - 2022-11-01

Changed

  • Change password input prompt of examples

  • Change Result::unwrap() to Result::expect()

0.3.0 - 2022-10-31

Changed

  • Change the inner structure of Params

  • Change error message

  • Update examples

  • Change order of parameters in public API

Removed

  • Remove From<scrypt::Params> for Params

  • Remove TryFrom<Params> for scrypt::Params

0.2.1 - 2022-10-24

Added

  • Add inline attribute

0.2.0 - 2022-10-14

Added

  • Add Encryptor::out_len() and Decryptor::out_len()

  • Add Clone for Encryptor and Decryptor

Changed

  • Change the type of parameters for Encryptor::encrypt() and Decryptor::decrypt(). These now takes impl AsMut<[u8]>.

  • Rename Encryptor::new() to Encryptor::with_params()

  • Change Encryptor::new() to use the recommended scrypt parameters instead of taking parameters

  • Change the structure of types about the format

0.1.0 - 2022-10-09

Added

  • Initial release