pub struct Sha256;Trait Implementations§
Source§impl AlgorithmSpec for Sha256
impl AlgorithmSpec for Sha256
const ALGORITHM: Algorithm = Algorithm::SHA256
const BLOCK_SIZE: usize = 64
const DIGEST_WORDS: usize = 8
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 Sha256
Auto Trait Implementations§
impl Freeze for Sha256
impl RefUnwindSafe for Sha256
impl Send for Sha256
impl Sync for Sha256
impl Unpin for Sha256
impl UnsafeUnpin for Sha256
impl UnwindSafe for Sha256
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