3 genrandom, prng \- random number generation
11 .B #include <libsec.h>
14 void genrandom(uchar *buf, int nbytes)
17 void prng(uchar *buf, int nbytes)
19 Most security software requires a source of random or, at the
20 very least, unguessable numbers.
23 fills a buffer with bytes from the X9.17 pseudo-random
24 number generator. The X9.17 generator is seeded by 24
25 truly random bytes read via
33 pseudo-random number generator to fill the buffer. Used with
35 this function can produce a reproducible stream of pseudo random
36 numbers useful in testing.
38 Both functions may be passed to