tari-project / triptych

BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

feat: use a transcript RNG for prover nonces #15

Closed AaronFeickert closed 8 months ago

AaronFeickert commented 8 months ago

As noted in #14, nonces required for proof generation are produced using an externally-provided random number generator. This PR builds a Merlin-based TranscriptRng that uses the transcript state, witness data, and external random number generator to produce nonces. This provides a much more robust design for nonce construction.

Closes #14.