feat: add rsa

This commit is contained in:
2020-11-01 19:19:03 +08:00
parent dfcdd02d27
commit 5c9a439fe1
3 changed files with 536 additions and 0 deletions

12
__crypto/rsa/Cargo.toml Normal file
View File

@@ -0,0 +1,12 @@
[package]
name = "rsa"
version = "0.1.0"
authors = ["Hatter Jiang <jht5945@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rsa = "0.3.0"
rand = { version = "0.7.0", default-features = false }
num-bigint = { version = "0.6", features = ["i128", "u64_digit", "prime", "zeroize"], default-features = false, package = "num-bigint-dig" }