Enum crypto_hash::Algorithm [] [src]

pub enum Algorithm {
    MD5,
    SHA1,
    SHA256,
    SHA512,
}

Available cryptographic hash functions.

Variants

Popular message digest algorithm, only available for backwards compatibility purposes.

SHA-1 algorithm from NIST FIPS, only available for backwards compatibility purposes.

SHA-2 family algorithm (256 bits).

SHA-2 family algorithm (512 bits).

Trait Implementations

impl Clone for Algorithm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Algorithm
[src]

Formats the value using the given formatter.