Pudu programming language
Menu
API reference

Std.Checksum.fnv1a32

1 declaration

fn

fnv1a32: &Bytes -> UInt32

The 32-bit FNV-1a hash of the bytes.

Small, fast, and well spread for short keys such as names and paths — suited to sharding and bucketing. It is not keyed, so whoever chooses the keys can choose collisions; a table facing untrusted input wants Std.SipHash.

Back to Std.ChecksumSearch related declarations