paragonie/blakechain
最新稳定版本:v1.1.2
Composer 安装命令:
composer require paragonie/blakechain
包简介
Hash chain using BLAKE2b
README 文档
README
Blakechain is a simple hash-chain data structure based on the BLAKE2b hash function.
Includes:
- The
Blakechainimplementation, which chains togetherNodeobjects - A runtime
Verifierclass that validates the self-consistency of an entire chain (or a subset of an entire chain)
Blakechain is not a blockchain. You probably don't need a blockchain.
Blakechain provides the data structure used in Chronicle.
How Blakechain Works
The hash of each message is a keyed BLAKE2b hash, where the key of this message is the hash of the previous message.
Recursively:
$hash[$n] = sodium_crypto_generichash(
$data[$n],
$hash[$n - 1]
);
统计信息
- 总下载量: 2.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 24
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-06-23