Enum wycheproof::HashFunction
source · pub enum HashFunction {
Show 13 variants
Sha1,
Sha2_224,
Sha2_256,
Sha2_384,
Sha2_512,
Sha2_512_224,
Sha2_512_256,
Sha3_224,
Sha3_256,
Sha3_384,
Sha3_512,
Shake128,
Shake256,
}
Expand description
Hash Function identifiers
Variants§
Sha1
Sha2_224
Sha2_256
Sha2_384
Sha2_512
Sha2_512_224
Sha2_512_256
Sha3_224
Sha3_256
Sha3_384
Sha3_512
Shake128
Shake256
Trait Implementations§
source§impl Clone for HashFunction
impl Clone for HashFunction
source§fn clone(&self) -> HashFunction
fn clone(&self) -> HashFunction
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 HashFunction
impl Debug for HashFunction
source§impl<'de> Deserialize<'de> for HashFunction
impl<'de> Deserialize<'de> for HashFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for HashFunction
impl Hash for HashFunction
source§impl PartialEq<HashFunction> for HashFunction
impl PartialEq<HashFunction> for HashFunction
source§fn eq(&self, other: &HashFunction) -> bool
fn eq(&self, other: &HashFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HashFunction
impl Eq for HashFunction
impl StructuralEq for HashFunction
impl StructuralPartialEq for HashFunction
Auto Trait Implementations§
impl RefUnwindSafe for HashFunction
impl Send for HashFunction
impl Sync for HashFunction
impl Unpin for HashFunction
impl UnwindSafe for HashFunction
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