pub fn cryptonight_hash_v1(buf: &[u8]) -> Result<[u8; 32], DataCanNotBeHashed>
Calculates the CryptoNight v1 hash of buf.
CryptoNight
This will return an error if buf is less than 43 bytes.