pub struct Sha256 { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Digest for Sha256
impl Digest for Sha256
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 = 32
const OUTPUT_LEN: usize = 32
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 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