[package]
edition = "2024"
name = "wae-crypto"
version = "0.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WAE Crypto - 统一加密抽象模块"
homepage = "https://github.com/oovm/wae/tree/main/backends/wae-crypto"
documentation = "https://docs.rs/wae-crypto"
readme = "README.md"
keywords = [
"crypto",
"hash",
"hmac",
"totp",
"password",
]
categories = ["cryptography"]
license = "MIT"
repository = "https://github.com/oovm/wae/tree/main/backends/wae-crypto"
resolver = "2"
[lib]
name = "wae_crypto"
path = "src/lib.rs"
[[test]]
name = "base64_tests"
path = "tests/base64_tests.rs"
[[test]]
name = "hash_tests"
path = "tests/hash_tests.rs"
[[test]]
name = "hmac_tests"
path = "tests/hmac_tests.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[[test]]
name = "password_tests"
path = "tests/password_tests.rs"
[[test]]
name = "totp_tests"
path = "tests/totp_tests.rs"
[[bench]]
name = "crypto_bench"
path = "benches/crypto_bench.rs"
harness = false
[dependencies.argon2]
version = "0.5.3"
[dependencies.base64]
version = "0.22.1"
[dependencies.bcrypt]
version = "0.19.0"
[dependencies.hex]
version = "0.4.3"
[dependencies.hmac]
version = "0.12.1"
[dependencies.rand]
version = "0.10.0"
features = [
"std_rng",
"std",
]
[dependencies.rand_core]
version = "0.6.4"
features = ["getrandom"]
[dependencies.sha1]
version = "0.10.6"
[dependencies.sha2]
version = "0.10.9"
[dependencies.wae-types]
version = "0.0.2"
[dependencies.zeroize]
version = "1.8.2"
features = ["derive"]
[dev-dependencies.criterion]
version = "0.8.2"