feat(hash): 添加 Blake2b 哈希算法支持
新增 blake2b 模块,提供多种长度的 Blake2b 哈希计算功能, 包括 224、256、384 和 512 位版本,并支持对字节数组和文件进行哈希计算。 同时支持返回字节数组和十六进制字符串两种格式。 在 Cargo.toml 中添加了 blake2b_simd 依赖以实现该功能。
This commit is contained in:
@@ -11,6 +11,7 @@ crate-type = ["dylib", "rlib"]
|
||||
[dependencies]
|
||||
aes = "0.8.3"
|
||||
base64 = "0.21.2"
|
||||
blake2b_simd = "1.0.3"
|
||||
blockhash = "0.5.0"
|
||||
cbc = { version = "0.1.2", features = ["std"] }
|
||||
chrono = "0.4.26"
|
||||
|
||||
Reference in New Issue
Block a user