pub struct ScramSha256RustNative;
Expand description
All hasing code dedicated for SHA256. Both rust native and ring inplemetations.
A ScramProvider
which provides SCRAM-SHA-256 and SCRAM-SHA-256-PLUS
based on the PBKDF2, Sha, Hmac
Trait Implementations§
Source§impl ScramHashing for ScramSha256RustNative
impl ScramHashing for ScramSha256RustNative
Source§impl ScramOps for ScramSha256RustNative
impl ScramOps for ScramSha256RustNative
Source§fn xor_arrays(a: &[u8], b: &[u8]) -> ScramResult<Vec<u8>>
fn xor_arrays(a: &[u8], b: &[u8]) -> ScramResult<Vec<u8>>
A function which performs the XOR of two arrays
Auto Trait Implementations§
impl Freeze for ScramSha256RustNative
impl RefUnwindSafe for ScramSha256RustNative
impl Send for ScramSha256RustNative
impl Sync for ScramSha256RustNative
impl Unpin for ScramSha256RustNative
impl UnwindSafe for ScramSha256RustNative
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