MD5在编程中的实现 (VB)

在VB中实现MD5算法 —————————————————————————————————————————— Option Explicit Dim w1 As String, w2 As String, w3 As String, w4 As String MD5F(ByVal tempstr As String, ByVal w As String, ByVal X As String, ByVal y As String, ByVal z As String, ByVal Xin As String, ByVal qdata As String, ByVal rots A...
2006-12-25 00:42 | 阅读 2411 次 | 评论 0 条

MD5在编程中的实现 (C语言)

在C语言中实现MD5算法 ——————————————————————————————————————————— */ #ifndef PROTOTYPES #define PROTOTYPES 0 #endif typedef unsigned char *POINTER; typedef unsigned short int UINT2; typedef unsigned long int UINT4; #if PROTOTYPES #define PROTO_LIST(list) list #else #define PROTO_LIST(list) () #endif ——...
2006-12-25 00:41 | 阅读 2890 次 | 评论 0 条

MD5的介绍,算法和实现(转)

MD5简介: MD5的全称是Message-Digest Algorithm 5,在90年代初由MIT的计算机科学实验室和RSA Data Security Inc发明,经MD2、MD3和MD4发展而来。 Message-Digest泛指字节串(Message)的Hash变换,就是把一个任意长度的字节串变换成一定长的大整数。请注意我使用了“字节串”而不是“字符串”这个词,是因为这种变换只与字节的值有关,与字符集或编码方式无关。 MD5将任意长度的“字节串”变换成一个128bit的大整数,并且它是一个不可逆的字符串变换算法,(我刚开始还愚蠢的认为MD5是可逆的算法 感谢Stkm...
2006-12-25 00:39 | 阅读 2965 次 | 评论 0 条
浏览13961次