#include <iostream>
#include "../src/utility/md5.h"

void main()
{
    
    SHA1 sha1;
    
    char buffer[41];

    sha1.SHA_GO("a",buffer);

    printf("%s",buffer);

    //sha1调用
//===================================================
    //MD5调用
    std::string str = "abc";
    
    MD5 md5(str);
    
    std::string result = md5.md5();

    printf("%s",result.c_str());

    system("pause");

}

下载地址:https://files.cnblogs.com/ytjjyy/sha1-md5.zip

相关文章:

  • 2021-09-01
  • 2021-07-30
  • 2021-12-20
  • 2021-08-19
  • 2021-12-18
  • 2022-01-02
  • 2021-07-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
  • 2021-07-15
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案