Struct openssl::hash::MessageDigest [−][src]
pub struct MessageDigest(_);
Methods
impl MessageDigest
[src]
impl MessageDigest
pub unsafe fn from_ptr(x: *const EVP_MD) -> Self
[src]
pub unsafe fn from_ptr(x: *const EVP_MD) -> Self
pub 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() -> MessageDigest
pub fn sha1() -> MessageDigest
[src]
pub fn sha1() -> MessageDigest
pub fn sha224() -> MessageDigest
[src]
pub fn sha224() -> MessageDigest
pub fn sha256() -> MessageDigest
[src]
pub fn sha256() -> MessageDigest
pub fn sha384() -> MessageDigest
[src]
pub fn sha384() -> MessageDigest
pub fn sha512() -> MessageDigest
[src]
pub fn sha512() -> MessageDigest
pub fn ripemd160() -> MessageDigest
[src]
pub fn ripemd160() -> MessageDigest
pub fn as_ptr(&self) -> *const EVP_MD
[src]
pub fn as_ptr(&self) -> *const EVP_MD
pub fn size(&self) -> usize
[src]
pub fn size(&self) -> usize
The size of the digest in bytes
Trait Implementations
impl Copy for MessageDigest
[src]
impl Copy for MessageDigest
impl Clone for MessageDigest
[src]
impl Clone for MessageDigest
fn clone(&self) -> MessageDigest
[src]
fn clone(&self) -> MessageDigest
Returns 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 MessageDigest
impl Send for MessageDigest
[src]
impl Send for MessageDigest