Functionsยง
- create_
hash_ chain_ from_ array - Creates a hash chain from an array of [u8;32] arrays.
- create_
hash_ chain_ from_ slice - Creates a hash chain from a slice of [u8;32] arrays.
- create_
two_ inputs_ hash_ chain - Creates a two inputs hash chain from two slices of [u8;32] arrays. The two slices must have the same length. Hashes are hashed in pairs, with the first hash from the first slice and the second hash from the second slice. H(i) = H(H(i-1), hashes_first[i], hashes_second[i])