3 ms·
That is an excellent question! There are two separate issues here: 1. How many bits of real entropy can you count on getting out of a TRNG in a given amount
by lisper 10y ago
That is an excellent question!
There are two separate issues here:
1. How many bits of real entropy can you count on getting out of a TRNG in a given amount of time?
2. How many bits can you safely extract from a PRNG that has been seeded with N bits of entropy?
This discussion is about issue #1. The /dev/random vs /dev/urandom arguments are about issue #2.
Just for the record, the answer to #2 is: once your PRNG has been seeded with "enough" entropy, you can safely extract an essentially infinite amount of pseudo-randomness out of it (where "essentially" means that there might be a theoretical limit, but you won't encounter it before the heat death of the universe).
(How much entropy is "enough"? Again, it depends on how paranoid you want to be. 128 bits is barely enough. 256 is plenty. 512 is overkill.)