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