pub struct DeriveKeyRequest<'a> {
pub profile: Argon2Profile,
pub secret: &'a Argon2Secret,
pub salt: &'a Argon2Salt,
}Expand description
Inputs for a single Argon2id key-derivation operation.
Fields§
§profile: Argon2ProfileParameter profile selecting the cost tuple.
secret: &'a Argon2SecretSecret input (e.g. password) to hash.
salt: &'a Argon2SaltSalt to bind the derivation to.
Auto Trait Implementations§
impl<'a> Freeze for DeriveKeyRequest<'a>
impl<'a> RefUnwindSafe for DeriveKeyRequest<'a>
impl<'a> Send for DeriveKeyRequest<'a>
impl<'a> Sync for DeriveKeyRequest<'a>
impl<'a> Unpin for DeriveKeyRequest<'a>
impl<'a> UnsafeUnpin for DeriveKeyRequest<'a>
impl<'a> UnwindSafe for DeriveKeyRequest<'a>
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