BSD Ports

security/monocypher 4.0.2 DragonFly

Compact cryptographic library in C

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
security
Package size
92.9 KiB, 258.0 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlysecurity/monocypher4.0.2
FreeBSDsecurity/monocypher4.0.3
NetBSDsecurity/monocypher3.1.1nb1
HardenedBSDsecurity/monocypher4.0.2
GhostBSDsecurity/monocypher4.0.2

Install

Binary package:

pkg install monocypher

From DPorts:

cd /usr/dports/security/monocypher && make install clean

Dependencies

No port depends on this one.