Skip to main content

hash_seq_chunk

Function hash_seq_chunk 

Source
pub fn hash_seq_chunk(
    model: &str,
    parent: &[u8; 32],
    tokens: &[u32],
) -> [u8; 32]
Expand description

Sequence-chained digest for one chunk. parent is the digest of the prior chunk, or all-zero for the first chunk.