Struct Sha256
pub struct Sha256 { /* private fields */ }Expand description
SHA-256 (FIPS 180-4).
Trait Implementations§
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§
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).