#protocols #server #client

secret_handshake

Implementation of the secret-handshake protocol

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

#1818 in Cryptography

28 downloads per month
Used in 4 crates (3 directly)

AGPL-3.0

120KB
2K SLoC

Rust 1K SLoC // 0.2% comments C 723 SLoC // 0.1% comments

Secret-Handshake

Rust wrapper around shs1-c.

API documentation

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

~17MB
~79K SLoC