C++的加密(用MD5)?
来源:百度知道 编辑:UC知道 时间:2024/05/21 19:13:42
//-------------------------------------------------------------------//
// MD5加密类 Version 1.0 //
// //
// Create: 2003-10-08 Modify: 2003-10-08 Complete: //
// //
//-------------------------------------------------------------------//
#ifndef __MD5__
#define __MD5__
#include "common.hpp"
#include "cstring.hpp"
typedef unsigned char BYTE;
typedef unsigned long WORD32;
// 离散算法类
class Hash
{
protected:
void CorrectEndianess(WORD