Skip to main content

candidate_leaf_hash

Function candidate_leaf_hash 

Source
pub fn candidate_leaf_hash(candidate_entry: &[u8]) -> [u8; 32]
Expand description

Computes the leaf hash for a candidate entry using RFC 9162 Section 2.1.1.

SHA256(0x00 || candidate_entry)

This is a convenience wrapper around crate::leaf_hash for the candidate-entry derivation path.