On linux systems, one can check for available entropy (useful to know if you're tapping
/dev/random for any PRNG purposes) with
However, there is no equivalent of
/proc on a Mac (AFAIK). How can I check for available system entropy on a Mac? I'm running OS X 10.7.3 (Lion)
To update with some of my comments under Kyle's answer — One of the reasons for Macs not displaying this information is that it isn't needed (in most cases). Linux systems will block calls to
/dev/random if there isn't enough entropy in the pool. On Macs, it periodically keeps adding to the entropy pool using the
However, it also notes that if the daemon fails for some reason, the output quality will decline without any indication of failure:
The quality of its output is however dependent on regular addition of appropriate entropy. If the
SecurityServersystem daemon fails for any reason, output quality will suffer over time without any explicit indication from the random device itself.
So even though the amount of entropy is not made available easily, it doesn't mean it isn't there and there might be instances where its knowledge might be helpful.