md5加密,@md5

#include "stdafx.h"
#include "md5.h"
#include <iostream>
#include <string>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
    ifstream ifile("130001.zpx", std::ios::binary);
    //d41d8cd98f00b204e9800998ecf8427e 文件为空的值!
    if ( !ifile)
    {
        cout << "IOError" << endl;
    }
    MD5 md5(ifile);
    string str = md5.toString();
    cout << str << endl;
    return 0;
}
MD5();
MD5(const void* input, size_t length);
MD5(const string& str);
MD5(ifstream& in);
void update(const void* input, size_t length);
void update(const string& str);
void update(ifstream& in);
Tags:  md5在线解密 md5校验工具 winmd5 md5解密 md5加密

延伸阅读

最新评论

发表评论