[[bench]]
name = "key"
path = "benches/key.rs"
[dependencies.const-oid]
default-features = false
version = "0.10.0"
[dependencies.crypto-bigint]
default-features = false
features = ["zeroize", "alloc"]
version = "0.7.0-pre.5"
[dependencies.crypto-primes]
default-features = false
version = "0.7.0-pre.1"
[dependencies.digest]
default-features = false
features = ["alloc", "oid"]
version = "0.11.0-rc.0"
[dependencies.pkcs1]
default-features = false
features = ["alloc", "pkcs8"]
version = "0.8.0-rc.2"
[dependencies.pkcs8]
default-features = false
features = ["alloc"]
version = "0.11.0-rc.4"
[dependencies.rand_core]
default-features = false
version = "0.9.0"
[dependencies.serde]
default-features = false
features = ["derive"]
optional = true
version = "1.0.184"
[dependencies.serdect]
optional = true
version = "0.3.0"
[dependencies.sha1]
default-features = false
features = ["oid"]
optional = true
version = "0.11.0-rc.0"
[dependencies.sha2]
default-features = false
features = ["oid"]
optional = true
version = "0.11.0-rc.0"
[dependencies.signature]
default-features = false
features = ["alloc", "digest", "rand_core"]
version = "3.0.0-rc.1"
[dependencies.spki]
default-features = false
features = ["alloc"]
version = "0.8.0-rc.2"
[dependencies.subtle]
default-features = false
version = "2.6.1"
[dependencies.zeroize]
features = ["alloc"]
version = "1.5"
[dev-dependencies.base64ct]
features = ["alloc"]
version = "1"
[dev-dependencies.hex]
features = ["serde"]
version = "0.4.3"
[dev-dependencies.hex-literal]
version = "1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.rand_chacha]
version = "0.9"
[dev-dependencies.rand_core]
default-features = false
version = "0.9.1"
[dev-dependencies.rand_xorshift]
version = "0.4"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0.184"
[dev-dependencies.serde_json]
version = "1.0.138"
[dev-dependencies.serde_test]
version = "1.0.89"
[dev-dependencies.sha1]
default-features = false
features = ["oid"]
version = "0.11.0-rc.0"
[dev-dependencies.sha2]
default-features = false
features = ["oid"]
version = "0.11.0-rc.0"
[dev-dependencies.sha3]
default-features = false
features = ["oid"]
version = "0.11.0-rc.0"
[features]
default = ["std", "pem"]
hazmat = []
os_rng = ["rand_core/os_rng", "crypto-bigint/rand_core"]
pem = ["pkcs1/pem", "pkcs8/pem"]
pkcs5 = ["pkcs8/encryption"]
serde = ["dep:serde", "dep:serdect", "crypto-bigint/serde"]
std = ["pkcs1/std", "pkcs8/std", "rand_core/std", "crypto-bigint/rand"]
[lib]
name = "rsa"
path = "src/lib.rs"
[package]
authors = ["RustCrypto Developers", "dignifiedquire <dignifiedquire@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography"]
description = "Pure Rust RSA implementation"
documentation = "https://docs.rs/rsa"
edition = "2021"
keywords = ["rsa", "encryption", "security", "crypto"]
license = "MIT OR Apache-2.0"
name = "rsa"
readme = "README.md"
repository = "https://github.com/RustCrypto/RSA"
rust-version = "1.85"
version = "0.10.0-rc.1"
[package.metadata.docs.rs]
features = ["std", "pem", "serde", "hazmat", "sha2"]
rustdoc-args = ["--cfg", "docsrs"]
[profile.bench]
debug = 2
[profile.dev]
opt-level = 2
[[test]]
name = "pkcs1"
path = "tests/pkcs1.rs"
[[test]]
name = "pkcs1v15"
path = "tests/pkcs1v15.rs"
[[test]]
name = "pkcs8"
path = "tests/pkcs8.rs"
[[test]]
name = "proptests"
path = "tests/proptests.rs"
[[test]]
name = "wycheproof"
path = "tests/wycheproof.rs"