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.
pub fn make_digest(variant: Sha2Variant) -> Result<Digest, Error>A digest bound to the declared SHA-2 variant. Fails with
error.unsupported if this implementation does not serve the
variant.