Enum crypto_hash::Algorithm
[−]
[src]
pub enum Algorithm {
MD5,
SHA1,
SHA256,
SHA512,
}Available cryptographic hash functions.
Variants
MD5Popular message digest algorithm, only available for backwards compatibility purposes.
SHA1SHA-1 algorithm from NIST FIPS, only available for backwards compatibility purposes.
SHA256SHA-2 family algorithm (256 bits).
SHA512SHA-2 family algorithm (512 bits).
Trait Implementations
impl Clone for Algorithm[src]
fn clone(&self) -> Algorithm
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