CSHA1

码农软件 · 软件分类 · 加密/解密软件包 · 2019-10-01 06:26:46

软件介绍

CSHA1 是实现快速 SHA1 安全哈希算法的 C++ 类库。

示例代码:

CSHA1 sha1;
sha1.Update(string0, strlen(string0));
sha1.Update(string1, strlen(string1));
sha1.Update(binary2, uSizeOfBufferBinary2);
sha1.Update(binary3, uSizeOfBufferBinary3);
sha1.Final();

sha1.ReportHash(szReport, CSHA1::REPORT_HEX_SHORT);
// or
sha1.GetHash(binaryArray);

CSHA1 sha1; sha1.HashFile("TheFile.cpp"); // Hash in the contents of the file // 'TheFile.cpp' sha1.Final(); sha1.ReportHash(szReport, CSHA1::REPORT_HEX); // Get final hash as // pre-formatted string // or sha1.GetHash(binaryArray); // Get the raw message digest bytes to a // temporary buffer

本文地址:https://codercto.com/soft/d/15774.html

Spring Boot实战

Spring Boot实战

[美]克雷格·沃斯 / 丁雪丰 / 人民邮电出版社 / 2016-9 / 59.00元

本书以Spring应用程序开发为中心,全面讲解如何运用Spring Boot提高效率,使应用程序的开发和管理更加轻松有趣。作者行文亲切流畅,以大量示例讲解了Spring Boot在各类情境中的应用,内容涵盖起步依赖、Spring Boot CLI、Groovy、Grails、Actuator。对于Spring Boot开发应用中较为繁琐的内容,附录奉上整理完毕的表格,一目了然,方便读者查阅。一起来看看 《Spring Boot实战》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试