struct ScramSha256Hash {
iterations: NonZeroU32,
salt: [u8; 32],
server_key: [u8; 32],
client_key: [u8; 32],
}
Expand description
The SCRAM-SHA-256 hash
Fields§
§iterations: NonZeroU32
The number of iterations used for hashing
salt: [u8; 32]
The salt used for hashing
server_key: [u8; 32]
The server key
client_key: [u8; 32]
The client key
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScramSha256Hash
impl RefUnwindSafe for ScramSha256Hash
impl Send for ScramSha256Hash
impl Sync for ScramSha256Hash
impl Unpin for ScramSha256Hash
impl UnwindSafe for ScramSha256Hash
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