Skip to content

Releases: dusk-network/safe

dusk-safe 0.4.0

Choose a tag to compare

@HDauven HDauven released this 08 Oct 08:59
e7ad333

Release of dusk-safe 0.4.0. This update includes breaking API changes listed below.

Fixed

  • Read the Sponge::absorb input through a single as_ref call
  • Wipe old output allocations before growth, including when continuing cloned sponges #37
  • Return an error and invalidate the sponge when output allocation fails #37
  • Wipe encryption/decryption temporary vectors on error and unwinding #37
  • Permanently invalidate sponges after operation errors or explicit zeroization #37
  • Reject IO patterns whose aggregated runs exceed the 31-bit encoding limit #37
  • Reject sponge widths below two at construction #37
  • Redact permutation state, buffered output and backend data from sponge debugging #37
  • Reject empty ciphertext consistently in decrypt #35

Changed

  • Simplify sponge finalization and IO-pattern validation
  • Raise the MSRV to Rust 1.96.1 #32

Removed

  • Remove PartialEq from Sponge #39

Crates.io · Full changelog

v0.3.0

Choose a tag to compare

@d-sonuga d-sonuga released this 06 Feb 11:35
d3eddd1

0.3.0 - 2025-02-06

Changed

  • Update dependency dusk-bls12_381 to 0.14
  • Update dependency dusk-jubjub to 0.15
  • Change rust toolchain version to nightly-2023-11-10 (1.75.0) [#26]

v0.2.1

Choose a tag to compare

@moCello moCello released this 08 May 13:55
2d42f41

0.2.1 - 2024-05-08

Changed

  • Omit unnecessary check on message_len in decrypt [#21]

v0.2.0

Choose a tag to compare

@moCello moCello released this 27 Mar 09:54
d0d912e

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<Vec<Call>> [#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]

v0.1.0

Choose a tag to compare

@moCello moCello released this 08 Mar 10:52

Implement SAFE framework

  • Add Safe trait
  • Add Sponge struct
  • Add Error enum
  • Add README
  • Add Changelog
  • Add documentation
  • Add license