Implemented P2P traffic encryption.

Changed serialization format of P2P messages.
Refactored P2P network code.
This commit is contained in:
Revertron
2021-05-30 00:33:13 +02:00
parent 5398410d8d
commit 319051edbd
15 changed files with 857 additions and 493 deletions
+4 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "alfis"
version = "0.5.9"
version = "0.6.0"
authors = ["Revertron <alfis@revertron.com>"]
edition = "2018"
build = "build.rs"
@@ -18,7 +18,9 @@ toml = "0.5.8"
digest = "0.9.0"
sha2 = "0.9.5"
ed25519-dalek = "1.0.1"
x25519-dalek = "1.1.1"
ecies-ed25519 = "0.5.1"
chacha20poly1305 = "0.8.0"
signature = "1.3.0"
blakeout = "0.3.0"
num_cpus = "1.13.0"
@@ -26,6 +28,7 @@ byteorder = "1.4.3"
serde = { version = "1.0.126", features = ["derive"] }
serde_json = "1.0.64"
bincode = "1.3.3"
serde_cbor = "0.11.1"
base64 = "0.13.0"
num-bigint = "0.4.0"
num-traits = "0.2.14"