pub struct ScramSha512RustNative;
Expand description
All hashing code dedicated for SHA512. Both rust native and ring inplemetations.
A ScramProvider
which provides SCRAM-SHA-512 and SCRAM-SHA-512-PLUS
based on the PBKDF2, Sha, Hmac
Trait Implementations§
Source§impl ScramHashing for ScramSha512RustNative
impl ScramHashing for ScramSha512RustNative
Source§impl ScramOps for ScramSha512RustNative
impl ScramOps for ScramSha512RustNative
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 ScramSha512RustNative
impl RefUnwindSafe for ScramSha512RustNative
impl Send for ScramSha512RustNative
impl Sync for ScramSha512RustNative
impl Unpin for ScramSha512RustNative
impl UnwindSafe for ScramSha512RustNative
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