feat(hash): 添加 BLAKE3 校验和算法支持
- 在 `README.md` 中将 BLAKE3 校验和算法标记为已完成 - 引入 `lukechampine.com/blake3` 依赖以实现 BLAKE3 算法功能 - 新增 `hash/blake3` 包,提供多种 BLAKE3 哈希计算函数 - 支持 BLAKE3、BLAKE3/224、BLAKE3/256、BLAKE3/384 等变种 - 提供字节数组与文件的哈希计算及十六进制编码结果 - 更新 `go.mod` 和 `go.sum` 以包含新增依赖项
This commit is contained in:
2
go.mod
2
go.mod
@@ -7,6 +7,7 @@ require go.uber.org/zap v1.24.0
|
||||
require (
|
||||
github.com/azr/gift v1.1.2 // indirect
|
||||
github.com/disintegration/imaging v1.6.2 // indirect
|
||||
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
|
||||
golang.org/x/image v0.0.0-20220722155232-062f8c9fd539 // indirect
|
||||
golang.org/x/sys v0.36.0 // indirect
|
||||
)
|
||||
@@ -19,4 +20,5 @@ require (
|
||||
go.uber.org/atomic v1.7.0 // indirect
|
||||
go.uber.org/multierr v1.6.0 // indirect
|
||||
golang.org/x/crypto v0.42.0
|
||||
lukechampine.com/blake3 v1.4.1
|
||||
)
|
||||
|
Reference in New Issue
Block a user