pub struct PasswordHash {
pub salt: [u8; 32],
pub iterations: NonZeroU32,
pub hash: [u8; 32],
}
Fields§
§salt: [u8; 32]
The salt used for hashing
iterations: NonZeroU32
The number of iterations used for hashing
hash: [u8; 32]
The hash of the password. This is the result of PBKDF2 with SHA256
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