5 ** Copyright 1998 - 2002 Double Precision, Inc.
6 ** See COPYING for distribution information.
12 static const char random128_h_rcsid
[]="$Id: random128.h,v 1.4 2002/07/01 03:17:05 mrsam Exp $";
15 random128 returns 128 random bits from the entropy. random128
16 returns a pointer to 32 hexadecimal uppercase nibbles, all total
20 const char *random128();
23 random128_alpha does the same thing, except that the return
24 string contains uppercase alphabetic letters only (letters 'A'
28 const char *random128_alpha();
31 ** random128_bin(), saves the 128 random bits in 16 bytes.
34 typedef unsigned char random128binbuf
[16];
36 void random128_binary(random128binbuf
*);