create_hash_chain_from_slice

Function create_hash_chain_from_slice 

Source
pub fn create_hash_chain_from_slice(
    inputs: &[[u8; 32]],
) -> Result<[u8; 32], HasherError>
Expand description

Creates a hash chain from a slice of [u8;32] arrays.

§Parameters

  • inputs: A slice of [u8;32] array to be hashed.

§Returns

  • Result<[u8; 32], HasherError>: The resulting hash chain or an error.