Subversion Repositories MLServ

Rev

Rev 5 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 nishi 1
/* $Id: cm_crypt.h 7 2024-09-25 00:56:55Z nishi $ */
2
 
3
#ifndef __CM_CRYPT_H__
4
#define __CM_CRYPT_H__
5
 
6
enum CRYPT_TYPES {
7
	C_START = -1,
8
	C_DES,
9
	C_MD5,
10
	C_BLOWFISH,
11
	C_UNK1,
12
	C_UNK2,
13
	C_SHA256,
14
	C_SHA512,
7 nishi 15
#ifdef __NetBSD__
16
	C_ARGON2,
17
#endif
5 nishi 18
	C_END
19
};
20
 
21
int cm_crypt_init(void);
22
char* cm_crypt(const char* string);
23
 
24
#endif