BSD Ports

security/monocypher 3.1.1nb1 NetBSD

Easy to use, deploy and auditable crypto library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
cc0-1.0-universal OR 2-clause-bsd
Categories
security
Package size
31.6 KiB, 133.8 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
NetBSDsecurity/monocypher3.1.1nb1
FreeBSDsecurity/monocypher4.0.3
DragonFlysecurity/monocypher4.0.2
HardenedBSDsecurity/monocypher4.0.2
GhostBSDsecurity/monocypher4.0.2

Install

Binary package:

pkgin install monocypher

From pkgsrc:

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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.1.1nb1
NetBSD 10.1 aarch643.1.1nb1
SmartOS / illumos x86_64-
macOS 15 arm64-

Dependencies

No port depends on this one.