random128.h
上传用户:s81996212
上传日期:2007-01-04
资源大小:722k
文件大小:1k
- #ifndef random128_h
- #define random128_h
- /*
- ** Copyright 1998 - 2000 Double Precision, Inc.
- ** See COPYING for distribution information.
- */
- #ifdef __cplusplus
- extern "C" {
- #endif
- static const char random128_h_rcsid[]="$Id: random128.h,v 1.3 2000/04/23 16:30:46 mrsam Exp $";
- /*
- random128 returns 128 random bits from the entropy. random128
- returns a pointer to 32 hexadecimal uppercase nibbles, all total
- being 128 bits.
- */
- const char *random128();
- /*
- random128_alpha does the same thing, except that the return
- string contains uppercase alphabetic letters only (letters 'A'
- through 'P').
- */
- const char *random128_alpha();
- #ifdef __cplusplus
- }
- #endif
- #endif