15 releases (stable)
Uses old Rust 2015
5.0.0 | Mar 10, 2018 |
---|---|
4.0.0 | Mar 8, 2018 |
3.0.2 | Mar 4, 2018 |
2.0.0 | Feb 15, 2018 |
0.2.0 | Jul 31, 2017 |
Used in 4 crates
(3 directly)
120KB
2K
SLoC
Secret-Handshake
Rust wrapper around shs1-c.
The examples
folder contains executables for use with the shs1-testsuite. Run cargo build --example client
or cargo build --example server
to compile them.
Building
This module depends on libsodium.
This also contains shs1-c as a git submodule, so be sure to perform the right git magic when cloning, updating etc.
lib.rs
:
Implementation of the secret-handshake protocol version 1.
This library uses libsodium internally. In application code, call
sodiumoxide::init()
before performing any handshakes.
Dependencies
~18MB
~84K SLoC