pub struct MdRef(_);Expand description
A reference to an Md.
Implementations§
source§impl MdRef
impl MdRef
sourcepub fn block_size(&self) -> usize
pub fn block_size(&self) -> usize
Returns the block size of the digest in bytes.
This corresponds to EVP_MD_block_size.
sourcepub fn size(&self) -> usize
pub fn size(&self) -> usize
Returns the size of the digest in bytes.
This corresponds to EVP_MD_size.
sourcepub fn type_(&self) -> Nid
pub fn type_(&self) -> Nid
Returns the Nid of the digest.
This corresponds to EVP_MD_type.