pub enum HashAlgorithmId {
Sha1,
Sha256,
Sha384,
Sha512,
Md2,
Md4,
Md5,
}
Expand description
Hashing algorithm identifiers
Variants§
Sha1
The 160-bit secure hash algorithm.
Standard: FIPS 180-2, FIPS 198.
Sha256
The 256-bit secure hash algorithm.
Standard: FIPS 180-2, FIPS 198.
Sha384
The 384-bit secure hash algorithm.
Standard: FIPS 180-2, FIPS 198.
Sha512
The 512-bit secure hash algorithm.
Standard: FIPS 180-2, FIPS 198.
Md2
The MD2 hash algorithm.
Standard: RFC 1319.
Md4
The MD4 hash algorithm.
Standard: RFC 1320.
Md5
The MD5 hash algorithm.
Standard: RFC 1321.
Implementations§
Trait Implementations§
Source§impl AlgorithmKind for HashAlgorithmId
impl AlgorithmKind for HashAlgorithmId
Source§impl Clone for HashAlgorithmId
impl Clone for HashAlgorithmId
Source§fn clone(&self) -> HashAlgorithmId
fn clone(&self) -> HashAlgorithmId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HashAlgorithmId
impl Debug for HashAlgorithmId
Source§impl PartialEq for HashAlgorithmId
impl PartialEq for HashAlgorithmId
Source§impl PartialOrd for HashAlgorithmId
impl PartialOrd for HashAlgorithmId
Source§impl<'a> TryFrom<&'a str> for HashAlgorithmId
impl<'a> TryFrom<&'a str> for HashAlgorithmId
impl Copy for HashAlgorithmId
impl StructuralPartialEq for HashAlgorithmId
Auto Trait Implementations§
impl Freeze for HashAlgorithmId
impl RefUnwindSafe for HashAlgorithmId
impl Send for HashAlgorithmId
impl Sync for HashAlgorithmId
impl Unpin for HashAlgorithmId
impl UnwindSafe for HashAlgorithmId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more