blob: 59943766c9ede09e058543a9cbb119365b291055 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// $Id: md5calc.h,v 1.1.1.1 2004/09/10 17:26:54 MagicalTux Exp $
#ifndef _MD5CALC_H_
#define _MD5CALC_H_
#include <netinet/in.h>
void MD5_String (const char *string, char *output);
void MD5_String2binary (const char *string, char *output);
char *MD5_saltcrypt(const char *key, const char *salt);
char *make_salt();
int pass_ok(const char *password, const char *crypted);
in_addr_t MD5_ip(char *secret, in_addr_t ip);
#endif
|