Random

From Hackepedia
Revision as of 06:07, 10 October 2005 by Pbug (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Randomness in some UNIX operating system can be achieved through cryptographically achieved randomness such as arc4random(3) which uses the interfaces /dev/random, /dev/arandom and /dev/urandom. This method is assumed to be pretty good. Weak randomness can often lead to the system compromisable.

Random sources

Sound cards and their white noise are a good means of randomness. Some CPU's provide random number generators which the Operating System may use. Crypto-accelerating cards usually provide a source of randomness.