pub struct Sha1;Trait Implementations§
Source§impl AlgorithmSpec for Sha1
impl AlgorithmSpec for Sha1
const ALGORITHM: Algorithm = Algorithm::SHA1
const BLOCK_SIZE: usize = 64
const DIGEST_WORDS: usize = 5
type BlockingBuffer = HashBuffer<{ $block + 4 }>
type AsyncBuffer = HashBuffer<{ 2 * $block }>
type KeyBuffer = HashBuffer<64>
type NonHmacCsr = [u32; 38]
type HmacCsr = [u32; 51]
impl Copy for Sha1
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§
impl<T, I> Binding<I, NoHandler<I>> for T
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