Md5-md5.h Extracted from PHP source code

Source: Internet
Author: User
Tags php source code

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.