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

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

Message digest (hash) type.

Variants

MD5
SHA1
SHA224
SHA256
SHA384
SHA512
RIPEMD160

Methods

impl Type

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

Derived Implementations

impl Clone for Type

fn clone(&self) -> Type

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

impl Copy for Type