Struct flexible_transcript::DigestTranscript
source · pub struct DigestTranscript<D: Send + Clone + SecureDigest>(_);Expand description
A simple transcript format constructed around the specified hash algorithm.
Trait Implementations§
source§impl<D: Clone + Send + Clone + SecureDigest> Clone for DigestTranscript<D>
impl<D: Clone + Send + Clone + SecureDigest> Clone for DigestTranscript<D>
source§fn clone(&self) -> DigestTranscript<D>
fn clone(&self) -> DigestTranscript<D>
Returns a copy 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<D: Debug + Send + Clone + SecureDigest> Debug for DigestTranscript<D>
impl<D: Debug + Send + Clone + SecureDigest> Debug for DigestTranscript<D>
source§impl<D: Send + Clone + SecureDigest> Transcript for DigestTranscript<D>
impl<D: Send + Clone + SecureDigest> Transcript for DigestTranscript<D>
type Challenge = GenericArray<u8, <D as OutputSizeUser>::OutputSize>
source§fn domain_separate(&mut self, label: &'static [u8])
fn domain_separate(&mut self, label: &'static [u8])
Apply a domain separator to the transcript.
source§fn append_message<M: AsRef<[u8]>>(&mut self, label: &'static [u8], message: M)
fn append_message<M: AsRef<[u8]>>(&mut self, label: &'static [u8], message: M)
Append a message to the transcript.