Skip to main content

nonced_block_root

Function nonced_block_root 

Source
pub fn nonced_block_root(
    nonce: &[u8; 32],
    peer: &[u8; 32],
    key: &XorName,
    content: &[u8],
) -> [u8; 32]
Expand description

Compute the nonced block-tree root over a chunk’s content (responder, round 1). Requires every byte of the chunk, under the fresh nonce.