pub trait CryptoSha256TranscriptProcessor {
// Required methods
fn sha256_update(&mut self, _: &[u8]);
fn sha256_fork(&self) -> Self;
fn sha256_finalize(self) -> [u8; 32];
}Expand description
Transcript processor used to hash handshakes. Typically implemented by the crypto provider.
Required Methods§
Sourcefn sha256_update(&mut self, _: &[u8])
fn sha256_update(&mut self, _: &[u8])
Update the SHA256 Transcript with the given data
Sourcefn sha256_fork(&self) -> Self
fn sha256_fork(&self) -> Self
Clone ourselves
Sourcefn sha256_finalize(self) -> [u8; 32]
fn sha256_finalize(self) -> [u8; 32]
Finalize the current SHA384 digest
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.