pub trait HpkeTestRng {
    fn try_fill_test_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error>;
fn seed(&mut self, seed: &[u8]); }
Expand description

PRNG extension for testing that is supposed to return pre-configured bytes.

Required methods

Like RngCore::try_fill_bytes but the result is expected to be known.

Set the randomness state of this test PRNG.

Implementors