The Poly1305 universal hash function and message authentication code


Keywords
chacha20, crypto, mac, salsa20, universal-hashing
Licenses
Apache-2.0/MIT

Documentation

RustCrypto: Universal Hash Functions

Project Chat Apache2/MIT licensed dependency status HAZMAT

Collection of Universal Hash Functions written in pure Rust.

Crates

Name Crates.io Documentation MSRV
ghash crates.io Documentation MSRV 1.85
poly1305 crates.io Documentation MSRV 1.85
polyval crates.io Documentation MSRV 1.85

⚠️ Security Warning: Hazmat!

Universal hash functions have subtle security properties and are primarily intended as a building block for constructions like AEAD algorithms.

USE AT YOUR OWN RISK!

Usage

Crates functionality is expressed in terms of traits defined in the universal-hash crate.

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.