Function single_chunk_hash

Source
pub fn single_chunk_hash(input: &[u8]) -> Option<[u8; 32]>
Expand description

Hashing function for at most a single chunk worth of bytes.

Returns None if input length exceeds one chunk.