feat: replace sodium secretbox cryptor with xchacha20poly1305

This commit is contained in:
2021-03-08 22:46:34 +01:00
parent 2b9d6fd1fc
commit 1201e9621c
6 changed files with 51 additions and 26 deletions

View File

@@ -0,0 +1,22 @@
[package]
name = "crdt-enc-xchacha20poly1305"
version = "0.1.0"
authors = ["Thomas Heck <t@b128.net>"]
edition = "2018"
[dependencies]
crdts = "6.2"
rand = "0.8"
anyhow = "1"
serde = "1"
rmp-serde = "0.15"
serde_bytes = "0.11"
uuid = "0.8"
async-trait = "0.1"
[dependencies.crdt-enc]
path = "../crdt-enc"
[dependencies.chacha20poly1305]
version = "0.7"
features = ["std"]