[][src]Struct mundane::insecure::InsecureHmacSha1

pub struct InsecureHmacSha1 { /* fields omitted */ }
Deprecated:

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]

Deprecated:

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]

Deprecated:

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]

Deprecated:

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]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]