swap out rust-crypto for RustCrypto libraries for key management (#1270)

* swap out rust-crypto for RustCrypto libraries for key management

* change scrypt params unrwap to expect

* delete eth2 key derivation path file, fix error handling in eth2 keystore, pr updates
This commit is contained in:
realbigsean
2020-07-01 04:01:03 -04:00
committed by GitHub
parent 536728b975
commit 9dab928572
7 changed files with 262 additions and 813 deletions

View File

@@ -8,7 +8,11 @@ edition = "2018"
[dependencies]
rand = "0.7.2"
rust-crypto = "0.2.36"
aes-ctr = "0.4.0"
hmac = "0.8.0"
pbkdf2 = { version = "0.4.0", default-features = false }
scrypt = { version = "0.3.0", default-features = false }
sha2 = "0.9.0"
uuid = { version = "0.8", features = ["serde", "v4"] }
zeroize = { version = "1.0.0", features = ["zeroize_derive"] }
serde = "1.0.110"