
软件加密
文章平均质量分 85
浅止
学无止境
展开
-
MultiHash 算法 c++ 实现(二) / vckpg 构建可移植包的方法
1. 基于vcpkg安装构建 依赖库(windows),包括以下库Crypto++ ,varint ,ms-gsl安装vcpkg(跨平台开源软件包管理器)://git clone https://github.com/microsoft/vcpkggit clone https://github.com/lockblox/multihash.git在cmd中执行Vcpkg工程目录下:cd vcpkg.\bootstrap-vcpkg.bat//集成到全局,Vcpkg提...原创 2022-03-09 00:10:12 · 5029 阅读 · 0 评论 -
Hash散列算法
1. 常见的散列函数foo (原文)md5 128 bits 长度:32(不计前缀).......................................................................acbd18db4cc2f85cedef654fccc4a4d8.......................................................................对输入仍以512位原创 2022-03-04 01:12:41 · 922 阅读 · 0 评论 -
MultiHash 算法 c++ 实现
1. MultiHash 散列描述Multihash is a protocol for differentiating outputs from various well-established hash functions, addressing size + encoding considerations. It is useful to write applications that future-proof their use of hashes, and allow multiple has原创 2022-03-01 14:13:59 · 628 阅读 · 0 评论 -
如何获得CPU和硬盘序列号
There are a few ways to do this. You could make calls using system to get the information.For Linux:system("hdparm -i /dev/hda | grep -i serial");Without using system:static struct hd_driveid hd;int fd;if ((fd = open("/dev/hda", O_RDONLY | O_N转载 2022-02-24 22:58:21 · 1256 阅读 · 0 评论