pub struct InsecureSha1Digest(/* private fields */);
๐Deprecated: SHA-1 is considered insecure
Expand description
INSECURE: The digest output by the SHA-1 hash function.
ยงSecurity
SHA-1 is considered insecure, and should only be used for compatibility with legacy applications.
Trait Implementationsยง
Sourceยงimpl Debug for InsecureSha1Digest
impl Debug for InsecureSha1Digest
Sourceยงimpl Digest for InsecureSha1Digest
impl Digest for InsecureSha1Digest
Sourceยงconst DIGEST_LEN: usize = 20usize
const DIGEST_LEN: usize = 20usize
The length in bytes of this digest.
Sourceยงfn from_bytes(bytes: Self::Bytes) -> Self
fn from_bytes(bytes: Self::Bytes) -> Self
Constructs a new digest from bytes.
Sourceยงimpl Display for InsecureSha1Digest
impl Display for InsecureSha1Digest
Sourceยงimpl PartialEq for InsecureSha1Digest
impl PartialEq for InsecureSha1Digest
impl Eq for InsecureSha1Digest
Auto Trait Implementationsยง
impl Freeze for InsecureSha1Digest
impl RefUnwindSafe for InsecureSha1Digest
impl Send for InsecureSha1Digest
impl Sync for InsecureSha1Digest
impl Unpin for InsecureSha1Digest
impl UnwindSafe for InsecureSha1Digest
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