ghash
GHASH
Mojo implementation of GHASH, a universal hash function over GF(2¹²⁸)
defined modulo the polynomial x¹²⁸ + x⁷ + x² + x + 1.
GHASH is the authentication component of AES-GCM (Galois/Counter Mode), specified in NIST SP 800-38D. Block, key, and tag sizes are all 16 bytes.
References
- NIST SP 800-38D — Galois/Counter Mode (GCM) and GMAC
- Wikipedia — Galois/Counter Mode
- RustCrypto —
ghash
Mojo package 🡭