[−][src]Struct mundane::insecure::InsecureHmacSha1
HMAC-SHA1 is considered insecure
INSECURE: The Hash-based Message Authentication Code (HMAC) over SHA-1.
Security
HMAC-SHA1 is considered insecure, and should only be used for compatibility with legacy applications.
Methods
impl InsecureHmacSha1
[src]
#[must_use]
pub fn insecure_new(key: &[u8]) -> InsecureHmacSha1
[src]
HMAC-SHA1 is considered insecure
INSECURE: Constructs a new HMAC-SHA1.
Security
HMAC-SHA1 is considered insecure, and should only be used for compatibility with legacy applications.
pub fn insecure_update(&mut self, bytes: &[u8])
[src]
HMAC-SHA1 is considered insecure
INSECURE: Adds bytes to the HMAC-SHA1.
Security
HMAC-SHA1 is considered insecure, and should only be used for compatibility with legacy applications.
#[must_use]
pub fn insecure_finish(self) -> InsecureSha1Digest
[src]
HMAC-SHA1 is considered insecure
INSECURE: Returns the HMAC-SHA1 of the bytes added so far.
Security
HMAC-SHA1 is considered insecure, and should only be used for compatibility with legacy applications.
Auto Trait Implementations
impl !Send for InsecureHmacSha1
impl Unpin for InsecureHmacSha1
impl !Sync for InsecureHmacSha1
impl RefUnwindSafe for InsecureHmacSha1
impl UnwindSafe for InsecureHmacSha1
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,