Skip to main content

Module entropy

Module entropy 

Source
Expand description

Seeded entropy for tests. Production paths must never select this.

Structs§

ProductionEntropy
Production entropy. Always OS bytes; never a seeded LCG.
SeededEntropy
Deterministic LCG used by harness tests. Product code must not call this.

Enums§

EntropySource
Which generator a caller asked for. Test exists only under cfg(test).

Functions§

fill_os
Production entropy. Test code must not call this from SeededEntropy.