pub enum Algorithm {
Argon2id,
}Expand description
Argon2 primitive type: this crate implements Argon2id only.
The single variant keeps constructor call sites drop-in compatible with the
general argon2 crate while making Argon2d and Argon2i unrepresentable.
Variants§
Argon2id
The hybrid variant (RFC 9106 §3.1): data-independent addressing for the first two slices of the first pass, data-dependent for everything after.
Trait Implementations§
impl Copy for Algorithm
impl Eq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnsafeUnpin for Algorithm
impl UnwindSafe for Algorithm
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