pub struct Md(/* private fields */);
Expand description
A message digest algorithm.
Implementations§
source§impl Md
impl Md
sourcepub fn from_nid(type_: Nid) -> Option<&'static MdRef>
pub fn from_nid(type_: Nid) -> Option<&'static MdRef>
Returns the Md
corresponding to an Nid
.
This corresponds to EVP_get_digestbynid
.
pub fn null() -> &'static MdRef
pub fn md5() -> &'static MdRef
pub fn sha1() -> &'static MdRef
pub fn sha224() -> &'static MdRef
pub fn sha256() -> &'static MdRef
pub fn sha384() -> &'static MdRef
pub fn sha512() -> &'static MdRef
pub fn sha3_224() -> &'static MdRef
pub fn sha3_256() -> &'static MdRef
pub fn sha3_384() -> &'static MdRef
pub fn sha3_512() -> &'static MdRef
pub fn shake128() -> &'static MdRef
pub fn shake256() -> &'static MdRef
pub fn ripemd160() -> &'static MdRef
pub fn sm3() -> &'static MdRef
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more