pub struct CASScrypt;Trait Implementations§
Source§impl CASPasswordHasher for CASScrypt
impl CASPasswordHasher for CASScrypt
Source§fn hash_password(password_to_hash: String) -> String
fn hash_password(password_to_hash: String) -> String
Hashes a password using Scrypt. Returns the hashed password as a string.
Auto Trait Implementations§
impl Freeze for CASScrypt
impl RefUnwindSafe for CASScrypt
impl Send for CASScrypt
impl Sync for CASScrypt
impl Unpin for CASScrypt
impl UnwindSafe for CASScrypt
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