Module capsules_core::test::rng

source ·
Expand description

Test entropy and random number generators. Usually, to test the full library, these generators should be through two layers of translation for entropy then converted to randomness. For example, if your platform provides an Entropy32, then test Entropy32 -> Entropy32to8 -> Entropy8to32 -> Entropy32ToRandom. Then simply ask for ELEMENTS random numbers and print them in hex to console.

Structs§