Skip to main content

BackupRng

Type Alias BackupRng 

Source
type BackupRng = ReseedingRng<ChaCha20Rng, Box<dyn TryRng<Error = Infallible> + Send>>;
Expand description

The type we’ve chosen to use for our backup Rng.

(We need to box this because the default JitterRng is unnameable.)

We use JitterRng to reseed a ChaCha20 core because it is potentially very slow.

Aliased Type§

struct BackupRng { /* private fields */ }