Monocypher

Boring crypto that simply works

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

Getting started

Download the latest Monocypher, and run the test suite:

$ tar -xzf monocypher-2.0.6.tar.gz
$ cd monocypher-2.0.6
$ 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

Testimonials

Monocypher enabled me to develop Joulescope's small microcontroller bootloader with secure firmware updates using modern cryptography. Monocypher is small, fast, easy to use, has no dependencies, and is excellent on microcontrollers.

Matt Liberty
Principal Engineer and creator of Joulescope
Jetperch LLC