文件名称:blake2b:加密哈希函数比MD5,SHA-1,SHA-2和SHA-3更快
文件大小:73KB
文件格式:ZIP
更新时间:2024-06-05 05:25:54
ruby hash-functions blake2b cryptographic-hash-functions blake2
BLAKE2b for Ruby BLAKE2是一种加密哈希函数,比MD5,SHA-1,SHA-2和SHA-3更快,但至少与最新标准SHA-3一样安全。 BLAKE2的高速度,安全性和简便性已被许多项目采用。 有关更多信息,访问: : 。 概括 这个gem是C扩展名,可以在Ruby中使用BLAKE2b。 此BLAKE2b实现(或仅BLAKE2)针对具有SSE支持的64位平台(不包括启用NEON的ARM)进行了优化。 它产生1到64字节之间任何大小的摘要。 此gem的C代码取自提交的。 安装 gem install blake2b 用法 require 'blake2b' # The UTF-8 String (Required) that you want to digest. input = 'abc' # The main application of keyed B
【文件预览】:
blake2b-master
----LICENSE.txt(34KB)
----blake2b.gemspec(1KB)
----.circleci()
--------config.yml(2KB)
----lib()
--------blake2b.rb(841B)
--------blake2b()
----Gemfile(38B)
----Rakefile(1KB)
----test()
--------blake2b_vector_test.rb(70KB)
--------test_helper.rb(75B)
--------blake2b_api_test.rb(3KB)
--------blake2()
--------blake2b_test.rb(690B)
--------performance()
----README.md(4KB)
----ext()
--------blake2b_ext()
----.gitignore(37B)
----performance()
--------performance_suite.rb(2KB)