pub enum KdfType {
HkdfWithSha256,
HkdfWithSha384,
HkdfWithSha512,
Kmac128,
Kmac256,
}Expand description
Define the KDF types
Variants§
HkdfWithSha256
Hkdf with SHA-256
HkdfWithSha384
Hkdf with SHA-512
HkdfWithSha512
Hkdf with SHA-512
Kmac128
Kmac with 128-bit key
Kmac256
Kmac with 256-bit key
Implementations§
Trait Implementations§
Source§impl IntoEnumIterator for KdfType
impl IntoEnumIterator for KdfType
impl StructuralPartialEq for KdfType
Auto Trait Implementations§
impl Freeze for KdfType
impl RefUnwindSafe for KdfType
impl Send for KdfType
impl Sync for KdfType
impl Unpin for KdfType
impl UnwindSafe for KdfType
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