hpke-rs icon indicating copy to clipboard operation
hpke-rs copied to clipboard

Handle randomness properly

Open franziskuskiefer opened this issue 2 years ago • 0 comments

We either relies on the crypto provider to generate randomness or uses rand::rngs::OsRng for generating randomness. The latter is cryptographically secure but not ideal because it taps into the OS entropy source directly, which might block or return bad entropy when queried too rapidly.

This issue tracks changes to how we handle randomness.

franziskuskiefer avatar Sep 23 '21 10:09 franziskuskiefer