BLAKE和BLAKE2是基于丹尼尔·J·伯恩斯坦ChaCha流密码的密码散列函数。与SHA-2一样,有两种不同字大小的变体。BLAKE-256和BLAKE-224使用32位字,分别产生256位和224位的摘要大小,而BLAKE-512和BLAKE-384分别使用64位字,产生512位和384位的摘要大小。在64位的x64和ARM体系结构上运行时,BLAKE2b比SHA-3,SHA-2,SHA-1和MD5更快。BLAKE2的安全性提供类似于SHA-3,优于SHA-2:免疫长度扩展攻击,来自隨機預言機的无差异性等。
BLAKE2
BLAKE的改进版本BLAKE2于2012年12月21日宣布推出。它由Jean-Philippe Aumasson、Samuel Neves、Zooko Wilcox-O'Hearn和Christian Winnerlein设计。参考实施代码在CC0下发布。
- FreeBSD Ports 包管理工具使用 BLAKE2b
- GNU Core Utilities 在其 b2sum 命令中实现了 BLAKE2b
- IPFS allows use of BLAKE2b for tree hashing
- librsync 使用 BLAKE2b
- Noise (cryptographic protocol), which is used in WhatsApp includes BLAKE2 as an option.
- RAR file archive format version 5 supports an optional 256-bit BLAKE2sp file checksum instead of the default 32-bit CRC32; it was implemented in WinRAR v5+
- 7-Zip can generate the BLAKE2sp signature for each file in the Explorer shell via "CRC SHA" context menu, and choosing '*'
- rmlint 使用 BLAKE2b 进行重复文件检测
- WireGuard uses BLAKE2s for hashing
- Zcash, a cryptocurrency, uses BLAKE2b in the Equihash proof of work, 并作为密钥派生函数
- NANO, a cryptocurrency, uses BLAKE2b in the proof of work, for hashing digital signatures and as a 密钥派生函数
- Polkadot 区块链使用 BLAKE2b 作为其哈希算法。
- PCI Vault, uses BLAKE2b as its hashing algorithm for the purpose of PCI compliant PCD tokenization.
- Ergo, a cryptocurrency, uses BLAKE2b256 as a subroutine of its hashing algorithm called Autolykos.
- Linux kernel, version 5.17 replaced SHA-1 with BLAKE2s for hashing the entropy pool in the 随机数生成器.
实现
除了参考实现以外, 以下密码库提供了 BLAKE2 的实现:
- Botan
- Bouncy Castle
- Crypto++
- Libgcrypt
- libsodium
- OpenSSL
- wolfSSL
BLAKE3
BLAKE3於2020年1月9日在 Real World Crypto 上宣布推出。BLAKE3 是基于 Bao 和 BLAKE2 的加密哈希函数,作者为 Jack O'Connor, Jean-Philippe Aumasson, Samuel Neves 和 Zooko Wilcox-O'Hearn.
参考文献
外部链接
- [https://131002.net/blake/ The BLAKE web site]
- [https://blake2.net/ The BLAKE2 web site]
- [http://cryptography.gmu.edu/athena/index.php?id=source_codes VHDL source code] developed by the Cryptographic Engineering Research Group (CERG) at George Mason University
- [https://cn.tokenweb.im/wallet/polkadot-wallet Polkadot (DOT) 钱包]
评论 (0)