新增 blake3 模块,提供多种长度的 Blake3 哈希计算功能, 包括 224、256、384 和 512 位输出格式,支持字节数组和文件输入, 并可选择返回字节数组或十六进制字符串。同时在 hash 模块中导出该功能。
33 lines
741 B
TOML
33 lines
741 B
TOML
[package]
|
|
name = "rs_toolbox"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["dylib", "rlib"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
aes = "0.8.3"
|
|
base64 = "0.21.2"
|
|
blake2b_simd = "1.0.3"
|
|
blake3 = { version = "1.8.2", features = ["serde", "digest"] }
|
|
blockhash = "0.5.0"
|
|
cbc = { version = "0.1.2", features = ["std"] }
|
|
chrono = "0.4.26"
|
|
cipher = "0.4.4"
|
|
des = "0.8.1"
|
|
hex = "0.4.3"
|
|
hmac-sha256 = "1.1.7"
|
|
hmac-sha512 = "1.1.5"
|
|
image = "0.24.6"
|
|
md-5 = "0.10.5"
|
|
once_cell = "1.18.0"
|
|
rand = "0.8.5"
|
|
rsa = { version = "0.9.2", features = ["sha2"] }
|
|
sha1 = "0.10.5"
|
|
sha2 = "0.10.7"
|
|
thiserror = "1.0.40"
|
|
uuid = { version = "1.4.0", features = ["v4", "fast-rng"] }
|