Does HP-UX have a /dev/random, /dev/urandom, or similar device?
Updated: 09/12/03 Yes, at least for 11.11. The Strong Random Number Generator provides a secure, non-reproducible source of true random numbers for applications with strong security requirements, such as for generating encryption keys. The /dev/random and /dev/urandom files created by this product allow the read(2) system call to retrieve strong random binary sequences of up to 256 bytes. This interface is compatible with that provided by the Linux /dev/random and /dev/urandom special files. The Strong RNG can be downloaded for free from: o http://software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=KRNG11I A technical white paper on the Strong RNG is available at: o http://newfdawg.com/SSHpart5.htm There are a few alternatives for other versions of HP-UX… For limited purposes, one can always use the POSIX shell’s $RANDOM to receive a random integer between 0 and 32768.
Related Questions
- I need TVicHW32 or a similar device driver to work with I/O ports under Windows NT but what advantage is TVicHW32 under Windows 95/98/ME where I can reach all ports directly from my application?
- What about using a Waterpik or similar device that uses a water pressure stream to clean between teeth and at the gum line?
- Does HP-UX have a /dev/random, /dev/urandom, or similar device?