/shs1-c

C implementation of secret-handshake version 1.x

Primary LanguageCGNU Lesser General Public License v3.0LGPL-3.0

SHS - Secret Handshake Crypto

This repository contains a C implementation of the crypto in secret-handshake. The code only covers the actual crypto part of the protocol, there's no I/O happening here.

This code depends on libsodium. Before calling any function of this module, call sodium_init() first.

See shs1.h for the API and example.c for a usage example.

To run the integration tests, use make testClient and make testServer to generate the executables to test.