Md5.h
/* +----------------------------------------------------------------------+ | php version 5 | +------------------------------------------------ ----------------------+ | copyright (c) 1997-2013 the php group | +------ ----------------------------------------------------------------+ | this source file is subject to version 3.01 of the php license, | | that is bundled with this package in the file license, and is | | available through the world-wide-web at the following url: | | http://www.php.net/ license/3_01.txt | | if you did not receive a copy of the php license and are unable to | | obtain it through the world-wide-web, please send a note to | | [email protected] so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: Alexander Peslyak (Solar designer) <solar at openwall.com> | | Rasmus Lerdorf <[email protected]> | +----------------------------------------------------------------------+*/#ifndef md5_h#define MD5_H#include <stdlib.h> #include <stdint.h> #ifndef __i386__#define __i386__#endiftypedef uint32_t php_uint32;/* * this is an openssl-compatible implementation Of the rsa data security, * inc. md5 message-digest algorithm (rfc 1321). * * written by solar designer <solar at openwall.com> in 2001, and placed * in the public domain . there ' s absolutely no warranty. * * see md5.c for more information. *//* md5 context. */typedef struct { php_uint32 lo, hi; php_uint32 a, b, c, d; &NBSP;&NBSP;&NBSP;UNSIGNED&NBSP;CHAR&NBSP;BUFFER[64];&NBSP;&NBSP;&NBSP;&NBSP;PHP_UINT32&NBSP;BLOCK[16];} php_md5_ctx;void php_md5inIt (PHP_MD5_CTX&NBSP;*CTX); Void php_md5update (Php_md5_ctx *ctx, const void *data, size_t size); void php_md5final (UNSIGNED&NBSP;CHAR&NBSP;*RESULT,&NBSP;PHP_MD5_CTX&NBSP;*CTX); # endif
Md5-md5.h Extracted from PHP source code