pub struct DigestTranscript<D: Send + Clone + SecureDigest>(/* private fields */);
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 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<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.
Source§impl<D> Zeroize for DigestTranscript<D>
impl<D> Zeroize for DigestTranscript<D>
Auto Trait Implementations§
impl<D> Freeze for DigestTranscript<D>where
D: Freeze,
impl<D> RefUnwindSafe for DigestTranscript<D>where
D: RefUnwindSafe,
impl<D> Send for DigestTranscript<D>
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§
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