3 __RCSID("$NetBSD: util.c,v 1.1 2004/07/02 00:05:23 sjg Exp $");
10 static const unsigned char itoa64
[] = /* 0 ... 63 => ascii - 64 */
11 "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
14 __crypt_to64(char *s
, u_int32_t v
, int n
)
18 *s
++ = itoa64
[v
& 0x3f];