Enum openssl::crypto::hash::Type [] [src]

pub enum Type {
    MD5,
    SHA1,
    SHA224,
    SHA256,
    SHA384,
    SHA512,
    RIPEMD160,
}

Message digest (hash) type.

Variants

MD5SHA1SHA224SHA256SHA384SHA512RIPEMD160

Methods

impl Type
[src]

fn md_len(&self) -> usize

Returns the length of the message digest.

fn evp_md(&self) -> *const EVP_MD

Internal interface subject to removal.

Trait Implementations

impl Clone for Type
[src]

fn clone(&self) -> Type

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Type
[src]