pub struct TranscriptRng { /* private fields */ }Expand description
An RNG providing synthetic randomness to the prover.
A TranscriptRng is constructed from a Transcript using a
TranscriptRngBuilder; see its documentation for details on
how to construct one.
The transcript RNG construction is described in the Generating Randomness section of the Merlin website.
Trait Implementations§
impl CryptoRng for TranscriptRng
Source§impl RngCore for TranscriptRng
impl RngCore for TranscriptRng
Source§fn fill_bytes(&mut self, dest: &mut [u8])
fn fill_bytes(&mut self, dest: &mut [u8])
Fill
dest with random data. Read moreAuto Trait Implementations§
impl Freeze for TranscriptRng
impl RefUnwindSafe for TranscriptRng
impl Send for TranscriptRng
impl Sync for TranscriptRng
impl Unpin for TranscriptRng
impl UnsafeUnpin for TranscriptRng
impl UnwindSafe for TranscriptRng
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