MCPcopy Create free account
hub / github.com/docknetwork/crypto / build_rng

Method build_rng

merlin/src/transcript.rs:219–223  ·  view source on GitHub ↗

Fork the current [`Transcript`] to construct an RNG whose output is bound to the current transcript state as well as prover's secrets. See the [`TranscriptRngBuilder`] documentation for more details.

(&self)

Source from the content-addressed store, hash-verified

217 ///
218 /// See the [`TranscriptRngBuilder`] documentation for more details.
219 pub fn build_rng(&self) -> TranscriptRngBuilder {
220 TranscriptRngBuilder {
221 strobe: self.strobe.clone(),
222 }
223 }
224}
225
226/// Constructs a [`TranscriptRng`] by rekeying the [`Transcript`] with

Calls 1

cloneMethod · 0.80