jellyfish
jellyfish copied to clipboard
audit the useage of `RngCore + CryptoRng` vs `Rng` vs `CSPRNG`
this triggers me to think if we should replace some RngCore + CryptoRng
trait bound in our API to just Rng
?
- We are not implementing an PRNG ourselves, so we should probably always use
Rng
overRngCore
, (since the latter is for backend implemented by the generator) - What are some places where we have to use CSPRNG? probably not in schonrr or transcript?
Originally posted by @alxiong in https://github.com/EspressoSystems/jellyfish/pull/53#discussion_r851586106
Some follow-up conversations here: https://github.com/RustCrypto/traits/issues/1087