Skip to main content

make_digest

Function make_digest 

Source
pub fn make_digest(variant: Sha2Variant) -> Result<Digest, Error>
Expand description

A digest bound to the declared SHA-2 variant. Fails with error.unsupported if this implementation does not serve the variant.