Struct Sha1
pub struct Sha1 { /* private fields */ }Expand description
SHA-1 hasher (160-bit output, 64-byte blocks). Deprecated.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sha1
impl RefUnwindSafe for Sha1
impl Send for Sha1
impl Sync for Sha1
impl Unpin for Sha1
impl UnsafeUnpin for Sha1
impl UnwindSafe for Sha1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Hasher for Twhere
T: Digest,
impl<T> Hasher for Twhere
T: Digest,
Source§const OUTPUT_LEN: usize = const OUTPUT_LEN: usize = <T as tessera::Digest>::OUTPUT_LEN;
const OUTPUT_LEN: usize = const OUTPUT_LEN: usize = <T as tessera::Digest>::OUTPUT_LEN;
Output size in bytes.
Source§const BLOCK_LEN: usize = const BLOCK_LEN: usize = <T as tessera::Digest>::BLOCK_LEN;
const BLOCK_LEN: usize = const BLOCK_LEN: usize = <T as tessera::Digest>::BLOCK_LEN;
Block size in bytes (for HMAC computation).
Source§fn finalize_into(self, out: &mut [u8])
fn finalize_into(self, out: &mut [u8])
Finalize into a caller-provided buffer (no allocation).