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

垃圾收集

垃圾收集

琼斯 / 谢之易 / 人民邮电出版社 / 2004-4-1 / 45.00元

书围绕着动态内存自动回收的话题,介绍了垃圾收集机制,详细分析了各种算法和相关技术。 本书共12章。第1章首先介绍计算机存储器管理的演化和自动内存回收的需求,并引入了本书所使用的术语和记法。第2章介绍了3种“经典”的垃圾收集技术:引用计数(reference counting)、标记-清扫(mark-sweep)和节点复制(copying)。 随后的4章更详细地讨论了上述这些垃圾收集方式......一起来看看 《垃圾收集》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具