2
+----------------------------------------------------------------------+
4
+----------------------------------------------------------------------+
5
| Copyright (c) 1997-2004 The PHP Group |
6
+----------------------------------------------------------------------+
7
| This source file is subject to version 3.0 of the PHP license, |
8
| that is bundled with this package in the file LICENSE, and is |
9
| available through the world-wide-web at the following url: |
10
| http://www.php.net/license/3_0.txt. |
11
| If you did not receive a copy of the PHP license and are unable to |
12
| obtain it through the world-wide-web, please send a note to |
13
| license@php.net so we can mail you a copy immediately. |
14
+----------------------------------------------------------------------+
16
+----------------------------------------------------------------------+
19
/* $Id: crypt_win32.h,v 1.6 2004/01/08 17:33:28 sniper Exp $ */
21
/* This code is distributed under the PHP license with permission from
22
the author Jochen Obalek <jochen.obalek@bigfoot.de> */
24
/* encrypt.h - API to 56 bit DES encryption via calls
25
encrypt(3), setkey(3) and crypt(3)
26
Copyright (C) 1991 Jochen Obalek
28
This program is free software; you can redistribute it and/or modify
29
it under the terms of the GNU General Public License as published by
30
the Free Software Foundation; either version 2, or (at your option)
33
This program is distributed in the hope that it will be useful,
34
but WITHOUT ANY WARRANTY; without even the implied warranty of
35
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36
GNU General Public License for more details.
38
You should have received a copy of the GNU General Public License
39
along with this program; if not, write to the Free Software
40
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
52
void _EXFUN(encrypt, (char *block, int edflag));
53
void _EXFUN(setkey, (char *key));
54
char * _EXFUN(crypt, (const char *key, const char *salt));
60
#endif /* _ENCRYPT_H_ */