patrikp/Monocypher

Project ID: 42183

Description

Monocypher is an easy to use cryptographic library. It provides functions for authenticated encryption, hashing, password hashing and key derivation, key exchange, and public key signatures. It is:

  • Small. Monocypher contains under 2000 lines of code, small enough to allow audits. The binaries can be under 50KB, small enough for many embedded targets.
  • Easy to deploy. Just add monocypher.c and monocypher.h to your project. They compile as C99 or C++ and are dedicated to the public domain (CC0-1.0, alternatively 2-clause BSD).
  • Portable. There are no dependencies, not even on libc.
  • Honest. The API is small, consistent, and cannot fail on correct input.
  • Direct. The abstractions are minimal. A developer with experience in applied cryptography can be productive in minutes.
  • 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.

Installation Instructions

Instructions not filled in by author. Author knows what to do. Everybody else should avoid this repo.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Centos-stream 8 aarch64 (20)*, x86_64 (20)* Centos-stream 8 (44 downloads)
EPEL 6 i386 (16)*, x86_64 (16)* EPEL 6 (37 downloads)
EPEL 7 x86_64 (16)* EPEL 7 (37 downloads)
EPEL 8 aarch64 (22)*, x86_64 (20)* EPEL 8 (36 downloads)
Fedora 37 aarch64 (20)*, armhfp (20)*, i386 (26)*, s390x (20)*, x86_64 (24)* Fedora 37 (0 downloads)
Fedora 38 aarch64 (0)*, i386 (0)*, s390x (2)*, x86_64 (0)* Fedora 38 (13 downloads)
Fedora 39 aarch64 (0)*, i386 (6)*, s390x (6)*, x86_64 (0)* Fedora 39 (11 downloads)
Fedora 40 aarch64 (0)*, i386 (0)*, s390x (0)*, x86_64 (0)* Fedora 40 (1 downloads)
Fedora eln aarch64 (20)*, s390x (20)*, x86_64 (22)* Fedora eln (35 downloads)
Fedora rawhide aarch64 (22)*, i386 (22)*, s390x (20)*, x86_64 (20)* Fedora rawhide (26 downloads)
Mageia 8 aarch64 (22)*, i586 (20)*, x86_64 (20)* Mageia 8 (24 downloads)
Mageia cauldron aarch64 (22)*, i586 (20)*, x86_64 (20)* Mageia cauldron (40 downloads)
openSUSE Tumbleweed aarch64 (12)*, i586 (12)*, x86_64 (12)* openSUSE Tumbleweed (45 downloads)

* Total number of downloaded packages.