2 ** Copyright 1998 - 2000 Double Precision, Inc.
3 ** See COPYING for distribution information.
15 #include "random128.h"
17 static const char rcsid
[]="$Id: random128alpha.c,v 1.2 2000/05/27 04:59:26 mrsam Exp $";
19 const char *random128_alpha()
21 static char randombuf
[ 128 / 8 * 2 + 1];
24 strcpy(randombuf
, random128());
26 for (p
=randombuf
; *p
; p
++)
27 if ( isdigit((int)(unsigned char)*p
))
28 *p
= "GHIJKLMNOP"[ *p
- '0' ];