[−][src]Trait rsa::hash::Hash
A generic trait that exposes the information that is needed for a hash function to be
used in sign
and verify.
.
Required methods
fn size(&self) -> usize
Returns the length in bytes of a digest.
fn asn1_prefix(&self) -> Vec<u8>
Returns the ASN1 DER prefix for the the hash function.