Monocypher

Monocypher is an easy to use crypto library. It is:

Latest news

2018/03/07 Monocypher 2.0.1 is out. No visible change, just a little patch to enhance auditability.

2018/03/06 A semi-formal proof that Monocypher's Poly1305 works was conducted. This applies to an upcoming patch of Monocypher, which will enhance auditability.

Getting started

Download the latest Monocypher, and run the test suite:

$ tar -xzf monocypher-2.0.1.tar.gz
$ cd monocypher-2.0.1
$ make test

Optionally, you can generate and install binaries on your system:

$ make
$ sudo make install

Or you can just integrate Monocypher source files into your project:

$ cp src/monocypher.c path/to/your/source/folder
$ cp src/monocypher.h path/to/your/include/folder

Monocypher's API is documented in the user manual. If you are not yet familiar with cryptography, please follow an introductory course. We currently recommend Crypto101.

Primitives