pub fn cryptonight_hash_v0(buf: &[u8]) -> [u8; 32]
Calculates the CryptoNight v0 hash of buf.
CryptoNight