資源簡介
代碼片段和文件信息
/************************************************************
MD5校驗和計算小程序(C)
??Author:?rssn
??Email?:?rssn@163.com
??QQ????:?126027268
??Blog??:?http://blog.csdn.net/rssn_net/
?************************************************************/
#include?“StdAfx.h“
#include?“MD5.h“
//DEFINES?for?MD5
#define?UINT4?unsigned?int
/*?F?G?H?and?I?are?basic?MD5?functions.?*/
#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.?*/
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????10700??2012-03-10?14:08??Md5.cpp
?????文件????????662??2012-05-04?11:39??MD5.H
-----------?---------??----------?-----??----
????????????????11362????????????????????2
評論
共有 條評論