pub struct InsecureHmacSha1 { /* private fields */ }
👎Deprecated: HMAC-SHA1 is considered insecure
Expand description
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.
Implementations§
Source§impl InsecureHmacSha1
impl InsecureHmacSha1
Sourcepub fn insecure_new(key: &[u8]) -> InsecureHmacSha1
👎Deprecated: HMAC-SHA1 is considered insecure
pub fn insecure_new(key: &[u8]) -> InsecureHmacSha1
INSECURE: Constructs a new HMAC-SHA1.
§Security
HMAC-SHA1 is considered insecure, and should only be used for compatibility with legacy applications.
Sourcepub fn insecure_update(&mut self, bytes: &[u8])
👎Deprecated: HMAC-SHA1 is considered insecure
pub fn insecure_update(&mut self, bytes: &[u8])
INSECURE: Adds bytes to the HMAC-SHA1.
§Security
HMAC-SHA1 is considered insecure, and should only be used for compatibility with legacy applications.
Sourcepub fn insecure_finish(self) -> InsecureSha1Digest
👎Deprecated: HMAC-SHA1 is considered insecure
pub fn insecure_finish(self) -> InsecureSha1Digest
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 Freeze for InsecureHmacSha1
impl RefUnwindSafe for InsecureHmacSha1
impl !Send for InsecureHmacSha1
impl !Sync for InsecureHmacSha1
impl Unpin for InsecureHmacSha1
impl UnwindSafe for InsecureHmacSha1
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