Struct openssl::hash::MessageDigest [−][src]
pub struct MessageDigest(_);
Methods
impl MessageDigest[src]
impl MessageDigestpub unsafe fn from_ptr(x: *const EVP_MD) -> Self[src]
pub unsafe fn from_ptr(x: *const EVP_MD) -> Selfpub fn from_nid(type_: Nid) -> Option<MessageDigest>[src]
pub fn from_nid(type_: Nid) -> Option<MessageDigest>Returns the MessageDigest corresponding to an Nid.
This corresponds to EVP_get_digestbynid.
pub fn md5() -> MessageDigest[src]
pub fn md5() -> MessageDigestpub fn sha1() -> MessageDigest[src]
pub fn sha1() -> MessageDigestpub fn sha224() -> MessageDigest[src]
pub fn sha224() -> MessageDigestpub fn sha256() -> MessageDigest[src]
pub fn sha256() -> MessageDigestpub fn sha384() -> MessageDigest[src]
pub fn sha384() -> MessageDigestpub fn sha512() -> MessageDigest[src]
pub fn sha512() -> MessageDigestpub fn ripemd160() -> MessageDigest[src]
pub fn ripemd160() -> MessageDigestpub fn as_ptr(&self) -> *const EVP_MD[src]
pub fn as_ptr(&self) -> *const EVP_MDpub fn size(&self) -> usize[src]
pub fn size(&self) -> usizeThe size of the digest in bytes
Trait Implementations
impl Copy for MessageDigest[src]
impl Copy for MessageDigestimpl Clone for MessageDigest[src]
impl Clone for MessageDigestfn clone(&self) -> MessageDigest[src]
fn clone(&self) -> MessageDigestReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Sync for MessageDigest[src]
impl Sync for MessageDigestimpl Send for MessageDigest[src]
impl Send for MessageDigest