3 ms·
The problem with "block until you have enough entropy" is that the amount of entropy you have is literally unknowable.
by cperciva 8y ago
The problem with "block until you have enough entropy" is that the amount of entropy you have is literally unknowable.
- tux1968 8y agoHow can that be true? The kernel at least, knows how much you have and knows to block consumption until it crosses the desired threshold.
- cperciva 8y agoThe kernel knows how many bytes you've fed into it. But it has no fundamentally sound way of computing a lower bound on how much entropy those bytes contained; the best approaches involve calculating an upper bound and then say "well hopefully it's at least X% of this".