pub fn tweak_hash(
public_param: &PublicParam,
tweak_type: u8,
sub_position: u32,
index: u32,
payload: &[u8],
) -> DigestExpand description
The BLAKE3 keyed hash of payload under pp | tweak, truncated to DIGEST_LEN.
One compression for chain steps (16 bytes of payload), Merkle nodes (32) and the message encoding (56); eleven for the WOTS public key’s 672.