pub struct InsecureHmacMd5 { /* private fields */ }
👎Deprecated: HMAC-MD5 is considered insecure
Expand description
INSECURE: The Hash-based Message Authentication Code (HMAC) over MD5.
§Security
HMAC-MD5 is considered insecure, and should only be used for compatibility with legacy applications.
Implementations§
Source§impl InsecureHmacMd5
impl InsecureHmacMd5
Sourcepub fn insecure_new(key: &[u8]) -> InsecureHmacMd5
👎Deprecated: HMAC-MD5 is considered insecure
pub fn insecure_new(key: &[u8]) -> InsecureHmacMd5
INSECURE: Constructs a new HMAC-MD5.
§Security
HMAC-MD5 is considered insecure, and should only be used for compatibility with legacy applications.
Sourcepub fn insecure_update(&mut self, bytes: &[u8])
👎Deprecated: HMAC-MD5 is considered insecure
pub fn insecure_update(&mut self, bytes: &[u8])
INSECURE: Adds bytes to the HMAC-MD5.
§Security
HMAC-MD5 is considered insecure, and should only be used for compatibility with legacy applications.
Sourcepub fn insecure_finish(self) -> InsecureMd5Digest
👎Deprecated: HMAC-MD5 is considered insecure
pub fn insecure_finish(self) -> InsecureMd5Digest
INSECURE: Returns the HMAC-MD5 of the bytes added so far.
§Security
HMAC-MD5 is considered insecure, and should only be used for compatibility with legacy applications.
Auto Trait Implementations§
impl Freeze for InsecureHmacMd5
impl RefUnwindSafe for InsecureHmacMd5
impl !Send for InsecureHmacMd5
impl !Sync for InsecureHmacMd5
impl Unpin for InsecureHmacMd5
impl UnwindSafe for InsecureHmacMd5
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