Whirlpool
Whirlpool 是 Vincent Rijmen 与 Paulo Barreto 设计的 512 位哈希函数,基于 Square/Miyaguchi-Preneel 构造,NESSIE 推荐算法。
用途
提供 512 位安全哈希,基于与 AES 相关的 W 置换。
机制
基于 Miyaguchi-Preneel 构造,压缩函数用类似 AES 的 W 置换(10 轮,状态 8×8 字节)。输入经消息调度与 W 置换更新 512 位状态。NESSIE 推荐但未广泛部署。
用例
- NESSIE 推荐哈希
- Streebog 备选研究
- 密码学多样性
- 高安全需求研究
示例
- 输入
hello输出3a3a3a3a3a3a3a3a...512-bit output
常见错误
- Poor performance on platforms without hardware acceleration
- Use SHA-512 or BLAKE2