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.

SipHash64

SipHash function with 64-bit output.

Recommended parameters are:

SipHash is not a traditional hash function. If the input includes untrusted content, a secret key is absolutely necessary. And due to its small output size, collisions in SipHash64 can be found with an exhaustive search.

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

File

lib/std/crypto/siphash.zig:25

Code

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