Remove rust-crypto, move to libsodium bindings

This commit is contained in:
Mathias Hall-Andersen
2019-08-02 17:18:37 +02:00
parent d6e40f9ea6
commit 2bdcda067c
5 changed files with 294 additions and 64 deletions

View File

@@ -1,7 +1,12 @@
mod handshake;
mod types;
use sodiumoxide;
use handshake::Device;
use types::KeyPair;
fn main() {}
fn main() {
// choose optimal crypto implementations for platform
sodiumoxide::init().unwrap();
}