pub struct Sha1 { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Digest for Sha1
impl Digest for Sha1
Source§const BLOCK_LEN: usize = 64
const BLOCK_LEN: usize = 64
Byte-oriented block size used by the Merkle-Damgard or sponge API. Read more
Source§const OUTPUT_LEN: usize = 20
const OUTPUT_LEN: usize = 20
Digest size in bytes.
Source§fn finalize_into(self, out: &mut [u8])
fn finalize_into(self, out: &mut [u8])
Finalize the hash into
out. Read moreSource§fn finalize_reset(&mut self, out: &mut [u8])
fn finalize_reset(&mut self, out: &mut [u8])
Finalize in place and wipe the internal state. Read more
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