pub fn hash(buf: &[u8]) -> u64
Expand description

A reference implementation of SeaHash.

This is bloody slow when compared to the optimized version. This is because SeaHash was specifically designed to take all sorts of hardware and software hacks into account to achieve maximal performance, but this makes code significantly less readable. As such, this version has only one goal: to make the algorithm readable and understandable.