/hash

A collection of algebraic hash functions written in Rust.

Primary LanguageRustApache License 2.0Apache-2.0

hash

This crate provides an implementation of algebraic cryptographic hash functions.

  • This implementation can be used in no-std environments by relying on the alloc crate instead.

WARNING: This is an ongoing, prototype implementation subject to changes. In particular, it has not been audited and may contain bugs and security flaws. This implementation is NOT ready for production use.

It currently contains:

  • an instantiation of Rescue-Prime over a 64-bit prime field with state width 8 and capacity 4
  • an instantiation of Rescue-Prime over a 64-bit prime field with state width 12 and capacity 4
  • an instantiation of Rescue-Prime over a 64-bit prime field with state width 14 and capacity 7

License

Licensed under either of

at your option.