亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? md5driver.c

?? 改進的MD5文件校驗
?? C
?? 第 1 頁 / 共 2 頁
字號:
#include <stdio.h>#include <sys/types.h>#include <time.h>#include <string.h>/* typedef a 32 bit type */typedef unsigned long int UINT4;/* Data structure for MD5 (Message Digest) computation */typedef struct {  UINT4 i[2];                   /* number of _bits_ handled mod 2^64 */  UINT4 buf[4];                                    /* scratch buffer */  unsigned char in[64];                              /* input buffer */  unsigned char digest[16];     /* actual digest after MD5Final call */} MD5_CTX;//void MD5Init(MD5_CTX *mdContext);//void MD5Final (MD5_CTX *mdContext);//void MD5Final (MD5_CTX *mdContext);/* ********************************************************************** ** End of md5.h                                                     ** ******************************* (cut) ******************************** ********************************************************************** ** md5.c                                                            ** ** RSA Data Security, Inc. MD5 Message Digest Algorithm             ** ** Created: 2/17/90 RLR                                             ** ** Revised: 1/91 SRD,AJ,BSK,JT Reference C Version                  ** ********************************************************************** *//* ********************************************************************** ** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. ** **                                                                  ** ** License to copy and use this software is granted provided that   ** ** it is identified as the "RSA Data Security, Inc. MD5 Message     ** ** Digest Algorithm" in all material mentioning or referencing this ** ** software or this function.                                       ** **                                                                  ** ** License is also granted to make and use derivative works         ** ** provided that such works are identified as "derived from the RSA ** ** Data Security, Inc. MD5 Message Digest Algorithm" in all         ** ** material mentioning or referencing the derived work.             ** **                                                                  ** ** RSA Data Security, Inc. makes no representations concerning      ** ** either the merchantability of this software or the suitability   ** ** of this software for any particular purpose.  It is provided "as ** ** is" without express or implied warranty of any kind.             ** **                                                                  ** ** These notices must be retained in any copies of any part of this ** ** documentation and/or software.                                   ** ********************************************************************** *//* forward declaration */static void Transform (UINT4 *buf,UINT4 *in);static unsigned char PADDING[64] = {  0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};/* F, G and H are basic MD5 functions: selection, majority, parity */#define F(x, y, z) (((x) & (y)) | ((~x) & (z)))#define G(x, y, z) (((x) & (z)) | ((y) & (~z)))#define H(x, y, z) ((x) ^ (y) ^ (z))#define I(x, y, z) ((y) ^ ((x) | (~z))) /* ROTATE_LEFT rotates x left n bits */#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n))))/* FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4 *//* Rotation is separate from addition to prevent recomputation */#define FF(a, b, c, d, x, s, ac) \  {(a) += F ((b), (c), (d)) + (x) + (UINT4)(ac); \   (a) = ROTATE_LEFT ((a), (s)); \   (a) += (b); \  }#define GG(a, b, c, d, x, s, ac) \  {(a) += G ((b), (c), (d)) + (x) + (UINT4)(ac); \   (a) = ROTATE_LEFT ((a), (s)); \   (a) += (b); \  }#define HH(a, b, c, d, x, s, ac) \  {(a) += H ((b), (c), (d)) + (x) + (UINT4)(ac); \   (a) = ROTATE_LEFT ((a), (s)); \   (a) += (b); \  }#define II(a, b, c, d, x, s, ac) \  {(a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \   (a) = ROTATE_LEFT ((a), (s)); \   (a) += (b); \  }void MD5Init (MD5_CTX *mdContext){  mdContext->i[0] = mdContext->i[1] = (UINT4)0;  /* Load magic initialization constants.   */  mdContext->buf[0] = (UINT4)0x67452301;  mdContext->buf[1] = (UINT4)0xefcdab89;  mdContext->buf[2] = (UINT4)0x98badcfe;  mdContext->buf[3] = (UINT4)0x10325476;}void MD5Update (MD5_CTX *mdContext,unsigned char *inBuf,unsigned int inLen){  UINT4 in[16];  int mdi;  unsigned int i, ii;  /* compute number of bytes mod 64 */  mdi = (int)((mdContext->i[0] >> 3) & 0x3F);  /* update number of bits */  if ((mdContext->i[0] + ((UINT4)inLen << 3)) < mdContext->i[0])    mdContext->i[1]++;  mdContext->i[0] += ((UINT4)inLen << 3);  mdContext->i[1] += ((UINT4)inLen >> 29);  while (inLen--) {    /* add new character to buffer, increment mdi */    mdContext->in[mdi++] = *inBuf++;    /* transform if necessary */    if (mdi == 0x40) {      for (i = 0, ii = 0; i < 16; i++, ii += 4)        in[i] = (((UINT4)mdContext->in[ii+3]) << 24) |                (((UINT4)mdContext->in[ii+2]) << 16) |                (((UINT4)mdContext->in[ii+1]) << 8) |                ((UINT4)mdContext->in[ii]);      Transform (mdContext->buf, in);      mdi = 0;    }  }}void MD5Final (MD5_CTX *mdContext){  UINT4 in[16];  int mdi;  unsigned int i, ii;  unsigned int padLen;  /* save number of bits */  in[14] = mdContext->i[0];  in[15] = mdContext->i[1];  /* compute number of bytes mod 64 */  mdi = (int)((mdContext->i[0] >> 3) & 0x3F);  /* pad out to 56 mod 64 */  padLen = (mdi < 56) ? (56 - mdi) : (120 - mdi);  MD5Update (mdContext, PADDING, padLen);  /* append length in bits and transform */  for (i = 0, ii = 0; i < 14; i++, ii += 4)    in[i] = (((UINT4)mdContext->in[ii+3]) << 24) |            (((UINT4)mdContext->in[ii+2]) << 16) |            (((UINT4)mdContext->in[ii+1]) << 8) |            ((UINT4)mdContext->in[ii]);  Transform (mdContext->buf, in);  /* store buffer in digest */  for (i = 0, ii = 0; i < 4; i++, ii += 4) {    mdContext->digest[ii] = (unsigned char)(mdContext->buf[i] & 0xFF);    mdContext->digest[ii+1] =      (unsigned char)((mdContext->buf[i] >> 8) & 0xFF);    mdContext->digest[ii+2] =      (unsigned char)((mdContext->buf[i] >> 16) & 0xFF);    mdContext->digest[ii+3] =      (unsigned char)((mdContext->buf[i] >> 24) & 0xFF);  }}/* Basic MD5 step. Transform buf based on in. */static void Transform (UINT4 *buf,UINT4 *in){  UINT4 a = buf[0], b = buf[1], c = buf[2], d = buf[3];  /* Round 1 */#define S11 7#define S12 12#define S13 17#define S14 22  //FF ( a, b, c, d, in[ 0], S11, 3614090360); /* 1 */  FF ( a, b, c, d, in[ 0], S11, 0xd76aa478); /* 1 */  FF ( d, a, b, c, in[ 1], S12, 0xe8c7b756); /* 2 */  FF ( c, d, a, b, in[ 2], S13,  0x242070db); /* 3 */  FF ( b, c, d, a, in[ 3], S14, 0xc1bdceee); /* 4 */  FF ( a, b, c, d, in[ 4], S11, 0xf57c0faf); /* 5 */  FF ( d, a, b, c, in[ 5], S12, 0x4787c62a); /* 6 */  FF ( c, d, a, b, in[ 6], S13, 0xa8304613); /* 7 */  FF ( b, c, d, a, in[ 7], S14, 0xfd469501); /* 8 */  FF ( a, b, c, d, in[ 8], S11, 0x698098d8); /* 9 */  FF ( d, a, b, c, in[ 9], S12, 0x8b44f7af); /* 10 */  FF ( c, d, a, b, in[10], S13, 0xffff5bb1); /* 11 */  FF ( b, c, d, a, in[11], S14, 0x895cd7be); /* 12 */  FF ( a, b, c, d, in[12], S11, 0x6b901122); /* 13 */  FF ( d, a, b, c, in[13], S12, 0xfd987193); /* 14 */  FF ( c, d, a, b, in[14], S13, 0xa679438e); /* 15 */  FF ( b, c, d, a, in[15], S14, 0x49b40821); /* 16 */  /* Round 2 */#define S21 5#define S22 9#define S23 14#define S24 20  GG ( a, b, c, d, in[ 1], S21, 0xf61e2562); /* 17 */  GG ( d, a, b, c, in[ 6], S22, 0xc040b340); /* 18 */  GG ( c, d, a, b, in[11], S23,  0x265e5a51); /* 19 */  GG ( b, c, d, a, in[ 0], S24, 0xe9b6c7aa); /* 20 */  GG ( a, b, c, d, in[ 5], S21, 0xd62f105d); /* 21 */  GG ( d, a, b, c, in[10], S22,   0x2441453); /* 22 */  GG ( c, d, a, b, in[15], S23, 0xd8a1e681); /* 23 */  GG ( b, c, d, a, in[ 4], S24, 0xe7d3fbc8); /* 24 */  GG ( a, b, c, d, in[ 9], S21,  0x21e1cde6); /* 25 */  GG ( d, a, b, c, in[14], S22, 0xc33707d6); /* 26 */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区二区三区在线播放| 韩国三级电影一区二区| 国产精品乱人伦| wwwwww.欧美系列| 欧美日韩高清一区二区三区| 欧美亚洲图片小说| 欧美熟乱第一页| 欧美性生活影院| 欧美日韩一区二区在线观看| 欧美天堂一区二区三区| 欧美浪妇xxxx高跟鞋交| 欧美精品免费视频| 91精选在线观看| 日韩视频在线你懂得| 精品对白一区国产伦| 久久久久国产精品厨房| 久久久亚洲精品石原莉奈| 国产亚洲精品久| 综合色天天鬼久久鬼色| 日韩毛片视频在线看| 亚洲天天做日日做天天谢日日欢| 亚洲欧美一区二区三区孕妇| 一区二区三区免费看视频| 亚洲一区二区在线免费观看视频| 亚洲一二三区不卡| 秋霞影院一区二区| 国产成人在线观看| 99久久99精品久久久久久 | 色婷婷激情一区二区三区| 色综合久久综合网97色综合 | 中文字幕在线观看一区| 亚洲嫩草精品久久| 亚洲国产精品久久久久秋霞影院| 日韩不卡一区二区三区| 黄色资源网久久资源365| 成人爽a毛片一区二区免费| 91在线观看高清| 7777女厕盗摄久久久| 久久久精品人体av艺术| 亚洲精品视频观看| 麻豆免费精品视频| 波多野结衣欧美| 欧美日本一区二区三区| 久久精品亚洲精品国产欧美kt∨| 亚洲男同性恋视频| 九色综合国产一区二区三区| 成人av在线播放网站| 欧美人与z0zoxxxx视频| 久久综合色播五月| 中文字幕一区二区三区视频| 日本亚洲最大的色成网站www| 国产一区二区视频在线| 91老师片黄在线观看| 日韩欧美在线影院| 最新欧美精品一区二区三区| 免费成人美女在线观看.| 成人免费福利片| 欧美日韩大陆一区二区| 国产欧美一区二区三区在线老狼| 亚洲综合在线电影| 国产精品一级片| 欧美丰满少妇xxxbbb| 国产精品乱人伦中文| 久久99久久精品| 欧美伊人久久久久久久久影院| 久久久国产综合精品女国产盗摄| 亚洲国产综合视频在线观看| 懂色一区二区三区免费观看| 精品视频一区 二区 三区| 国产精品五月天| 免费看欧美女人艹b| 在线一区二区三区四区| 日本一区二区三区四区 | 国产ts人妖一区二区| 欧美理论电影在线| 亚洲美女视频在线| 国产乱码精品一区二区三| 欧美妇女性影城| 一区二区三区欧美在线观看| 国产成人免费视频网站 | 精品日产卡一卡二卡麻豆| 亚洲夂夂婷婷色拍ww47| 国产成人精品在线看| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 91久久精品一区二区三| 久久你懂得1024| 另类欧美日韩国产在线| 欧美人与z0zoxxxx视频| 一区二区三区在线观看动漫| 成人avav影音| 国产亚洲美州欧州综合国| 久久99久国产精品黄毛片色诱| 欧美精品一二三| 亚洲国产日韩在线一区模特| 色先锋aa成人| 日韩毛片精品高清免费| 成人动漫一区二区在线| 国产日韩亚洲欧美综合| 国产高清在线精品| 久久久久久97三级| 国产成人自拍网| 日本一区二区三区电影| 国产高清久久久久| 国产亚洲精品中文字幕| 国产成人精品一区二区三区四区 | 亚洲一二三四区| 色香色香欲天天天影视综合网| 亚洲欧美日韩中文播放 | 欧美三级乱人伦电影| 亚洲综合一区二区三区| 在线观看亚洲一区| 亚洲一区二区三区四区的| 欧美主播一区二区三区| 亚洲宅男天堂在线观看无病毒| 在线观看不卡视频| 亚洲国产精品影院| 欧美精品久久久久久久久老牛影院 | 亚洲综合另类小说| 欧美日韩高清不卡| 麻豆成人久久精品二区三区小说| 日韩欧美在线综合网| 国产一区二区主播在线| 国产午夜一区二区三区| 成人av资源网站| 一区二区三区日本| 欧美一卡二卡三卡| 国产一区免费电影| 中文字幕一区二区三区av| 日本高清视频一区二区| 首页综合国产亚洲丝袜| 日韩欧美一二三| 国产成人av一区二区三区在线| 国产精品入口麻豆九色| 91九色最新地址| 日韩电影在线免费观看| 久久免费偷拍视频| 色综合久久久久久久| 午夜精品久久久| 久久久精品国产免大香伊| 91在线观看一区二区| 偷拍日韩校园综合在线| 久久久国际精品| 色婷婷综合久久久久中文一区二区| 午夜精品一区二区三区免费视频 | 丁香亚洲综合激情啪啪综合| 亚洲欧美区自拍先锋| 337p亚洲精品色噜噜狠狠| 国产综合色精品一区二区三区| 国产香蕉久久精品综合网| 色狠狠桃花综合| 久久狠狠亚洲综合| 亚洲私人影院在线观看| 欧美一区二区三区四区高清 | 欧美日韩在线三区| 国产资源在线一区| 亚洲精品久久久蜜桃| 欧美一区二区久久| 91亚洲国产成人精品一区二区三| 亚洲国产视频一区二区| 久久只精品国产| 欧美性感一类影片在线播放| 国产美女精品人人做人人爽| 亚洲天堂免费看| 精品女同一区二区| 色8久久精品久久久久久蜜| 国产一区二区在线视频| 亚洲国产一区在线观看| 欧美激情一区不卡| 欧美一级久久久久久久大片| 99精品视频免费在线观看| 六月丁香婷婷色狠狠久久| 一区二区三区四区激情| 国产亚洲精品免费| 日韩午夜电影在线观看| 欧美在线制服丝袜| 99精品国产一区二区三区不卡| 久久99精品国产麻豆婷婷洗澡| 亚洲狠狠爱一区二区三区| 国产精品高潮呻吟| 久久先锋影音av鲁色资源| 欧美日韩国产精品自在自线| av色综合久久天堂av综合| 久久99久久精品| 五月综合激情婷婷六月色窝| 最近中文字幕一区二区三区| 精品理论电影在线| 欧美人与性动xxxx| 在线看不卡av| 99re在线精品| av日韩在线网站| 成人做爰69片免费看网站| 韩国av一区二区| 蜜臀av性久久久久蜜臀aⅴ| 午夜影院久久久| 亚洲午夜久久久久久久久久久| 国产精品美女久久久久久2018| 日韩美女天天操| 欧美成人精品二区三区99精品| 欧美性一区二区| 欧美日韩视频专区在线播放|