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 (23)*, x86_64 (23)* Centos-stream 8 (65 downloads)
EPEL 6 i386 (17)*, x86_64 (23)* EPEL 6 (0 downloads)
EPEL 7 x86_64 (16)* EPEL 7 (50 downloads)
EPEL 8 aarch64 (31)*, x86_64 (20)* EPEL 8 (51 downloads)
Fedora 39 aarch64 (1)*, i386 (8)*, s390x (13)*, x86_64 (1)* Fedora 39 (0 downloads)
Fedora 40 aarch64 (0)*, i386 (3)*, s390x (2)*, x86_64 (1)* Fedora 40 (12 downloads)
Fedora 41 aarch64 (2)*, i386 (2)*, s390x (2)*, x86_64 (0)* Fedora 41 (7 downloads)
Fedora eln aarch64 (22)*, s390x (22)*, x86_64 (26)* Fedora eln (49 downloads)
Fedora rawhide aarch64 (31)*, i386 (24)*, s390x (22)*, x86_64 (21)* Fedora rawhide (44 downloads)
Mageia 8 aarch64 (28)*, i586 (21)*, x86_64 (22)* Mageia 8 (37 downloads)
Mageia cauldron aarch64 (26)*, i686 (0)*, x86_64 (21)* Mageia cauldron (64 downloads)
openSUSE Tumbleweed aarch64 (17)*, i586 (12)*, x86_64 (12)* openSUSE Tumbleweed (59 downloads)

* Total number of downloaded packages.