pub enum HashAlgorithm {
Sha1,
Sha224,
Sha256,
Sha384,
Sha512,
Blake2s,
Blake2b,
Sha3_224,
Sha3_256,
Sha3_384,
Sha3_512,
}
Expand description
Choice of hashing algorithms.
Variants§
Trait Implementations§
Source§impl From<HashAlgorithm> for Algorithm
impl From<HashAlgorithm> for Algorithm
Source§fn from(value: HashAlgorithm) -> Self
fn from(value: HashAlgorithm) -> Self
Converter to libcrux
type.
Auto Trait Implementations§
impl Freeze for HashAlgorithm
impl RefUnwindSafe for HashAlgorithm
impl Send for HashAlgorithm
impl Sync for HashAlgorithm
impl Unpin for HashAlgorithm
impl UnwindSafe for HashAlgorithm
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