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