This repository contains a C implementation of the crypto in box-stream. The code only covers the actual crypto part of the protocol (corresponding files in different implementations: js, go, python), there's no I/O happening here.
This code depends on libsodium. Before calling any function of this module, call sodium_init()
first.
See box-stream.h
for the API and example.c
for a usage example.