/*
- * Sherlock Library -- MD5 Binary <-> Hex Conversions
+ * UCW Library -- MD5 Binary <-> Hex Conversions
*
* (c) 1997 Martin Mares <mj@ucw.cz>
+ *
+ * This software may be freely distributed and used according to the terms
+ * of the GNU Lesser General Public License.
*/
#include "lib/lib.h"
#include <stdio.h>
void
-md5_to_hex(byte *s, byte *d)
+md5_to_hex(const byte *s, char *d)
{
int i;
for(i=0; i<MD5_SIZE; i++)
}
void
-hex_to_md5(byte *s, byte *d)
+hex_to_md5(const char *s, byte *d)
{
uns i, j;
for(i=0; i<MD5_SIZE; i++)