Skip to main content

execute_vector

Function execute_vector 

Source
pub fn execute_vector(
    kind: HashKindName,
    profile: CanonicalizationProfile,
    input: &VectorInput,
) -> Result<VectorOutcome, HashError>
Expand description

Execute one hash vector: build the canonical payload for the profile, frame it, and digest it. The declared profile must match the registry profile for the kind; unknown kinds fail closed during vector parsing.