Struct flexible_transcript::DigestTranscript
source · pub struct DigestTranscript<D: Clone + SecureDigest>(_);Expand description
A simple transcript format constructed around the specified hash algorithm.
Trait Implementations
sourceimpl<D: Clone + Clone + SecureDigest> Clone for DigestTranscript<D>
impl<D: Clone + Clone + SecureDigest> Clone for DigestTranscript<D>
sourcefn clone(&self) -> DigestTranscript<D>
fn clone(&self) -> DigestTranscript<D>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<D: Debug + Clone + SecureDigest> Debug for DigestTranscript<D>
impl<D: Debug + Clone + SecureDigest> Debug for DigestTranscript<D>
sourceimpl<D: Clone + SecureDigest> Transcript for DigestTranscript<D>
impl<D: Clone + SecureDigest> Transcript for DigestTranscript<D>
type Challenge = GenericArray<u8, <D as OutputSizeUser>::OutputSize>
sourcefn domain_separate(&mut self, label: &'static [u8])
fn domain_separate(&mut self, label: &'static [u8])
Apply a domain separator to the transcript.
sourcefn 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.
Auto Trait Implementations
impl<D> RefUnwindSafe for DigestTranscript<D>where
D: RefUnwindSafe,
impl<D> Send for DigestTranscript<D>where
D: Send,
impl<D> Sync for DigestTranscript<D>where
D: Sync,
impl<D> Unpin for DigestTranscript<D>where
D: Unpin,
impl<D> UnwindSafe for DigestTranscript<D>where
D: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more