Skip to content

Commit

Permalink
feat(net): add ecies crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Oct 15, 2022
1 parent 04f0962 commit d4b8c00
Show file tree
Hide file tree
Showing 8 changed files with 1,433 additions and 2 deletions.
121 changes: 119 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ members = [
"crates/executor",
"crates/interfaces",
"crates/net/p2p",
"crates/net/ecies",
"crates/net/eth-wire",
"crates/net/rpc",
"crates/net/rpc-api",
Expand Down
34 changes: 34 additions & 0 deletions crates/net/ecies/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[package]
name = "reth-ecies"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/foundry-rs/reth"
readme = "README.md"

[dependencies]
reth-rlp = { path = "../../common/rlp", features = ["derive", "ethereum-types"] }
reth-primitives = { path = "../../primitives" }
anyhow = "1.0.65"
byteorder = "1.4.3"
bytes = "1.2.1"
ctr = "0.9.2"
digest = "0.10.5"
educe = "0.4.19"
futures = "0.3.24"
secp256k1 = { version = "0.24.0", features = ["global-context", "rand-std", "recovery"] }
sha2 = "0.10.6"
sha3 = "0.10.5"
thiserror = "1.0.37"
tokio = { version = "1.21.2", features = ["full"] }
tokio-stream = "0.1.11"
tokio-util = { version = "0.7.4", features = ["codec"] }
tracing = "0.1.37"
hex = "0.4.3"
aes = "0.8.1"
hmac = "0.12.1"
block-padding = "0.3.2"
generic-array = "0.14.6"
cipher = { version = "0.4.3", features = ["block-padding"] }
typenum = "1.15.0"
rand = "0.8.5"
Loading

0 comments on commit d4b8c00

Please sign in to comment.