Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

Ghash

GHASH is a universal hash function that uses multiplication by a fixed parameter within a Galois field.

It is not a general purpose hash function - The key must be secret, unpredictable and never reused.

GHASH is typically used to compute the authentication tag in the AES-GCM construction.

ghash_polyval.Ghash
pub const Ghash = Hash(.big, true)

File

lib/std/crypto/ghash_polyval.zig:15

Code

pub const Ghash = Hash(.big, true)