#aes-gcm #crypto #universal-hashing

no-std ghash

Universal hash over GF(2^128) useful for constructing a Message Authentication Code (MAC), as in the AES-GCM authenticated encryption cipher

6 releases

✓ Uses Rust 2018 edition

0.2.3 Nov 14, 2019
0.2.2 Oct 6, 2019
0.1.0 Sep 19, 2019
0.0.0 Oct 6, 2016

#113 in Cryptography

Download history 416/week @ 2019-10-07 707/week @ 2019-10-14 840/week @ 2019-10-21 629/week @ 2019-10-28 542/week @ 2019-11-04 782/week @ 2019-11-11 968/week @ 2019-11-18 1307/week @ 2019-11-25 1875/week @ 2019-12-02 2247/week @ 2019-12-09 1640/week @ 2019-12-16 518/week @ 2019-12-23 615/week @ 2019-12-30 984/week @ 2020-01-06 1989/week @ 2020-01-13

4,042 downloads per month
Used in 4 crates (1 directly)

MIT/Apache

35KB
468 lines

GHASH: fast universal hash function and MAC

crate Docs Apache2/MIT licensed Rust Version Maintenance Status: Experimental Build Status

GHASH is a universal hash function which operates over GF(2^128) and can be used for constructing a Message Authentication Code (MAC).

Its primary intended use is for implementing AES-GCM.

Documentation

Security Warning

No security audits of this crate have ever been performed, and it has not been thoroughly assessed to ensure its operation is constant-time on common CPU architectures.

USE AT YOUR OWN RISK!

License

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.

Dependencies

~215KB