您当前的位置: 首页 > 

mutourend

暂无认证

  • 1浏览

    0关注

    661博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

BLAKE2 hash函数

mutourend 发布时间:2019-11-13 15:38:39 ,浏览量:1

BLAKE2为密码学hash函数,其运算速度比MD5SHA-1SHA-2SHA-3都快,而安全性与最新的SHA-3标准算法相当。

BLAKE2对应的标准为RFC7693——The BLAKE2 Cryptographic Hash and Message Authentication Code (MAC)

BLAKE2有两个分支:

  • BLAKE2b又可称为BLAKE2,针对64为操作系统(含支持NEON的ARM处理器)做了算法优化。BLAKE2b生成的摘要长度在1到64字节之间;
  • BLAKE2s为针对8~32位操作系统进行了优化,生成的摘要长度在1到32字节之间。

对于多核CPU和支持SIMD的CPU,BLAKE2提供了两种并行运算实现,分别是支持4-way parallel的BLAKE2bp和支持8-way parallel的BLAKE2sp

BLAKE2 offers these algorithms tuned to your specific requirements, such as keyed hashing (that is, MAC or PRF), hashing with a salt, updatable or incremental tree-hashing, or any combination thereof

各hash函数的性能对比如下: 在这里插入图片描述

参考资料: [1] http://blake2.net/ [2] https://tools.ietf.org/html/rfc7693

关注
打赏
1664532908
查看更多评论
立即登录/注册

微信扫码登录

0.0389s