random(4): kernel random number source devices - Linux man page

google_ad_section_start random, urandom - kernel random number source devices #include < linux/random.h > int ioctl( fd , RND request , param ); The character special files /dev/random and /dev/urandom (present since Linux 1.3.30) provide an interface to the kernel's random number generator. File /dev/random has major device number 1 and minor device number 8. File /dev/urandom has major device number 1 and minor device number 9. The random number generator gathers environmental noise from device drivers and other sources into an entropy pool. The generator also keeps an estimate of the number of bits of noise in the entropy pool. From this entropy pool random numbers are created. When read, the /dev/random device will only return random bytes within the estimated number of bits of noise in the entropy pool. /dev/random should be suitable for uses that need very hig...

Linked on 2015-01-27 01:04:40 | Similar Links