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.

Polyval

POLYVAL 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.

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

ghash_polyval.Polyval
pub const Polyval = Hash(.little, false)

File

lib/std/crypto/ghash_polyval.zig:23

Code

pub const Polyval = Hash(.little, false)