add cyrpto

This commit is contained in:
2020-05-03 01:32:48 +08:00
parent 2e5d18c15e
commit d6df92636b
3 changed files with 235 additions and 0 deletions

18
crypto/Cargo.toml Normal file
View File

@@ -0,0 +1,18 @@
[package]
name = "crypto"
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]
ecdsa = "0.5.0"
ed25519 = "1.0.1"
digest = "0.8.1"
elliptic-curve = "0.3.0"
k256 = "0.2.0"
p256 = "0.2.0"
p384 = "0.1.0"
p521 = "0.0.0"