pub struct Sha256Hasher { /* private fields */ }Expand description
RustCrypto Sha256Hasher
Implementations§
Source§impl Sha256Hasher
impl Sha256Hasher
pub fn sha256_init() -> Self
Trait Implementations§
Source§impl Clone for Sha256Hasher
impl Clone for Sha256Hasher
Source§fn clone(&self) -> Sha256Hasher
fn clone(&self) -> Sha256Hasher
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CryptoSha256TranscriptProcessor for Sha256Hasher
impl CryptoSha256TranscriptProcessor for Sha256Hasher
Source§fn sha256_update(&mut self, d: &[u8])
fn sha256_update(&mut self, d: &[u8])
Update the SHA256 Transcript with the given data
Source§fn sha256_fork(&self) -> Self
fn sha256_fork(&self) -> Self
Clone ourselves
Source§fn sha256_finalize(self) -> [u8; 32]
fn sha256_finalize(self) -> [u8; 32]
Finalize the current SHA384 digest
Auto Trait Implementations§
impl Freeze for Sha256Hasher
impl RefUnwindSafe for Sha256Hasher
impl Send for Sha256Hasher
impl Sync for Sha256Hasher
impl Unpin for Sha256Hasher
impl UnwindSafe for Sha256Hasher
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