pub struct PasswordHash {}Implementations§
Source§impl PasswordHash
impl PasswordHash
pub fn argon2( algorithm: Algorithm, params: Params, password: Secret<String>, salt: &[u8], ) -> Secret<Vec<u8>>
pub fn argon2d( password: Secret<String>, salt: &[u8], iterations: u8, threads: u8, memory: u32, ) -> Secret<Vec<u8>>
pub fn argon2id( password: Secret<String>, salt: &[u8], iterations: u8, threads: u8, memory: u32, ) -> Secret<Vec<u8>>
Auto Trait Implementations§
impl Freeze for PasswordHash
impl RefUnwindSafe for PasswordHash
impl Send for PasswordHash
impl Sync for PasswordHash
impl Unpin for PasswordHash
impl UnwindSafe for PasswordHash
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