chore: add CryptoRng trait bound - #427
Conversation
ebfull
left a comment
There was a problem hiding this comment.
If we're stuck using an old version of rand right now for some reason, then I don't want to bother with a refactoring like this. Otherwise, concept ACK from me.
|
|
I've opened #437 to help us move in the right direction on |
|
This can be rebased on |
|
rebased. but we should still have |
|
In Currently, I don't think we even call |
References #116
Right now, we mostly use
StdRngwhich already implementsCryptoRng(even though not deterministic) or not as fast asChaCha20Rng.But this should be a first step towards
CryptoRngtrait bounds to relevant APIs.