1 /* Copyright 1999 Enhanced Software Technologies Inc.
2  * All Rights Reserved
3  *
4  * bin2hex.c: binary to hex conversions.
5  *
6  * RCS CHANGE LOG
7  * Revision 1.1  2000/03/28 23:54:28  eric
8  * Initial checkin -- aescrypt/aesget
9  *
10  * Revision 1.3  1999/11/18 16:23:36  eric
11  * More mods to make it work. Start of the 'rsh' functionality.
12  *
13  * Revision 1.2  1999/09/30 20:32:28  eric
14  * Refreshed after Richard foobared the CVS archive
15  *
16  * Revision 1.1  1999/09/23 00:09:14  eric
17  * Initial checkin
18  *
19  *
20  */
21 
22 /* do hex2binary on blocks of data, where we stored the blocks of data
23  * in big endian format before hand, e.g., it may be stuff we did using
24  * the mpz_t stuff or generated using the dorandom() function.
25  */
26 
27 unsigned int unhexnib(unsigned char hexchar);
28 
29 unsigned char *hexify_block( unsigned char *resultbuf, int length );
30 char *unhexify_block(char *str, int length);
31 
32 
33