Monocypher

Jul 20, 2023

Compact cryptographic library in C

Monocypher is an easy to use crypto library. It is

  • Small. Sloccount counts about 1700 lines of code, small enough to allow audits. The binaries are under 65KB.

  • Easy to deploy. Just add monocypher.c and monocypher.h to your project. They compile as C99 or C++, have no dependency, and are dedicated to the public domain.

  • Easy to use. The API is small, consistent, and cannot fail on correct input.

  • Fast. The primitives are fast to begin with, and performance wasn’t needlessly sacrificed. Monocypher holds up pretty well against Libsodium, despite being closer in size to TweetNaCl.



Checkout these related ports:
  • Zzuf - Transparent application input fuzzer
  • Zlint - X.509 certificate linter
  • Zeronet - Decentralized websites using Bitcoin crypto and BitTorrent network
  • Zenmap - GUI frontend for the Nmap scanning utility
  • Zeek - System for detecting network intruders in real-time
  • Zaproxy - The OWASP zed attack proxy
  • Yubioath-desktop - GUI for displaying OATH codes with a Yubikey
  • Yubikey-personalization-gui - Graphical YubiKey personalization tool
  • Yubikey-manager-qt - Cross-platform application for configuring any YubiKey
  • Yubikey-agent - Seamless ssh-agent for YubiKeys
  • Yubico-piv-tool - Yubico PIV tool
  • Ylva - Command line password manager and file encryption program
  • Ykpers - Library and tool for personalization of Yubico's YubiKey
  • Ykclient - Yubico C client library
  • Yersinia - Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...)