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.

SipHash128

SipHash function with 128-bit output.

Recommended parameters are:

SipHash is not a traditional hash function. If the input includes untrusted content, a secret key is absolutely necessary.

siphash.SipHash128
pub fn SipHash128(comptime c_rounds: usize, comptime d_rounds: usize) type

File

lib/std/crypto/siphash.zig:39

Code

pub fn SipHash128(comptime c_rounds: usize, comptime d_rounds: usize) type {
    return SipHash(u128, c_rounds, d_rounds);
}