ghash
cargo install ghash

ghash

Collection of universal hashing functions

by RustCrypto

0.3.0 (see all)License:MIT OR Apache-2.0
cargo install ghash
Readme

GHASH: fast universal hash function and MAC

crate Docs Apache2/MIT licensed Rust Version 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 Notes

This crate has received one security audit by NCC Group, with no significant findings. We would like to thank MobileCoin for funding the audit.

All implementations contained in the crate are designed to execute in constant time, either by relying on hardware intrinsics (i.e. AVX2 on x86/x86_64), or using a portable implementation which is only constant time on processors which implement constant-time multiplication.

It is not suitable for use on processors with a variable-time multiplication operation (e.g. short circuit on multiply-by-zero / multiply-by-one, such as certain 32-bit PowerPC CPUs and some non-ARM microcontrollers).

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.

GitHub Stars

18

LAST COMMIT

8mos ago

MAINTAINERS

2

CONTRIBUTORS

5

OPEN ISSUES

1

OPEN PRs

0
VersionTagPublished
0.3.0
2yrs ago
0.2.3
3yrs ago
0.2.2
3yrs ago
0.2.1
3yrs ago
No alternatives found
No tutorials found
Add a tutorial