diff options
| author | Stefan Esser | 2010-02-21 11:44:54 +0100 |
|---|---|---|
| committer | Stefan Esser | 2010-02-21 11:44:54 +0100 |
| commit | 36dbfacbe64697d959f524e537b15b73c090d898 (patch) | |
| tree | f1c7ce1409b0e7765fc72d550546967fcf0f9717 /crypt_md5.h | |
Inital commit
Diffstat (limited to 'crypt_md5.h')
| -rw-r--r-- | crypt_md5.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/crypt_md5.h b/crypt_md5.h new file mode 100644 index 0000000..56f03a2 --- /dev/null +++ b/crypt_md5.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* | ||
| 2 | +----------------------------------------------------------------------+ | ||
| 3 | | PHP Version 5 | | ||
| 4 | +----------------------------------------------------------------------+ | ||
| 5 | | Copyright (c) 1997-2006 The PHP Group | | ||
| 6 | +----------------------------------------------------------------------+ | ||
| 7 | | This source file is subject to version 3.01 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_01.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 | +----------------------------------------------------------------------+ | ||
| 15 | | Author: Edin Kadribasic | | ||
| 16 | +----------------------------------------------------------------------+ | ||
| 17 | */ | ||
| 18 | |||
| 19 | /* $Id: crypt_md5.h,v 1.1.1.1 2007-11-28 01:15:35 sesser Exp $ */ | ||
| 20 | #ifndef _MD5CRYPT_H_ | ||
| 21 | #define _MD5CRYPT_H_ | ||
| 22 | |||
| 23 | #ifdef __cplusplus | ||
| 24 | extern "C" | ||
| 25 | { | ||
| 26 | #endif | ||
| 27 | |||
| 28 | #define MD5_MAGIC "$1$" | ||
| 29 | #define MD5_MAGIC_LEN 3 | ||
| 30 | |||
| 31 | char *md5_crypt(const char *pw, const char *salt); | ||
| 32 | |||
| 33 | #ifdef __cplusplus | ||
| 34 | } | ||
| 35 | #endif | ||
| 36 | |||
| 37 | #endif /* _MD5CRYPT_H_ */ \ No newline at end of file | ||
