pub enum SeedVariant {
Blake2bShake256,
Blake2bSha3_256,
Blake2bSha512,
Shake256Sha3_256,
}Expand description
Seed generation variant — selects the hash chain.
Variants§
Blake2bShake256
keyed-BLAKE2b (32 bytes) → SHAKE-256 (32 bytes)
Blake2bSha3_256
keyed-BLAKE2b (32 bytes) → SHA3-256 (32 bytes)
Blake2bSha512
keyed-BLAKE2b (32 bytes) → SHA-512 truncated to 32 bytes
Shake256Sha3_256
SHAKE-256 (32 bytes) → SHA3-256 (32 bytes)
Trait Implementations§
Source§impl Clone for SeedVariant
impl Clone for SeedVariant
Source§fn clone(&self) -> SeedVariant
fn clone(&self) -> SeedVariant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SeedVariant
Source§impl Debug for SeedVariant
impl Debug for SeedVariant
impl Eq for SeedVariant
Source§impl PartialEq for SeedVariant
impl PartialEq for SeedVariant
impl StructuralPartialEq for SeedVariant
Auto Trait Implementations§
impl Freeze for SeedVariant
impl RefUnwindSafe for SeedVariant
impl Send for SeedVariant
impl Sync for SeedVariant
impl Unpin for SeedVariant
impl UnsafeUnpin for SeedVariant
impl UnwindSafe for SeedVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more