Skip to content

v0.1.0

Latest

Choose a tag to compare

@grempe grempe released this 14 Oct 00:19
v0.1.0

Initial release.

Added

  • SequenceHash: SequenceHash with streaming (new/1, add/2, result/1,
    result_with_customizer/2) and one-shot (hash/3) APIs.
  • SequenceHash.MAC: SequenceMAC with the same APIs plus mac/4 and
    constant-time verify/5 and verify_result/3.
  • SequenceHash.Encoding and SequenceHash.SequenceFunction: the
    specification's primitives, with its examples as doctests.
  • Support for SHA-256, SHA-512, SHA3-256, SHA3-512, BLAKE2b and BLAKE2s.
  • Conformance tests against all C2SP/CCTV vectors, plus reference vectors for
    long customization strings.
  • Benchee benchmarks in bench/.
  • Opt-in differential tests against the upstream Python and Rust
    implementations (mix test.differential).

Published to Hex: https://hex.pm/packages/sequencehash/0.1.0