security/monocypher 4.0.3 FreeBSD
Compact cryptographic library in C
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
992294e296- License
- BSD2CLAUSE
- Categories
- security
- Package size
- 109.7 KiB, 257.4 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
| System | Port | Version |
|---|---|---|
| FreeBSD | security/monocypher | 4.0.3 |
| NetBSD | security/monocypher | 3.1.1nb1 |
| DragonFly | security/monocypher | 4.0.2 |
| HardenedBSD | security/monocypher | 4.0.2 |
| GhostBSD | security/monocypher | 4.0.2 |
Install
Binary package:
pkg install monocypher
From the ports tree:
cd /usr/ports/security/monocypher/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= monocypher>0:security/monocypher
LIB_DEPENDS= libmonocypher.so:security/monocypher
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.0.3 | 4.0.3 | - | 4.0.2 | 4.0.3 |
| FreeBSD:14:quarterly | 4.0.2 | 4.0.2 | n/a | 4.0.2 | 4.0.2 |
| FreeBSD:15:latest | 4.0.3 | 4.0.3 | n/a | 4.0.2 | 4.0.2 |
| FreeBSD:15:quarterly | 4.0.2 | 4.0.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.0.2 | 4.0.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Files
Manual pages 60
- crypto_aead_init_djb(3)
- crypto_aead_init_ietf(3)
- crypto_aead_init_x(3)
- crypto_aead_lock(3)
- crypto_aead_read(3)
- crypto_aead_unlock(3)
- crypto_aead_write(3)
- crypto_argon2(3)
- crypto_blake2b(3)
- crypto_blake2b_final(3)
- crypto_blake2b_init(3)
- crypto_blake2b_keyed(3)
- crypto_blake2b_keyed_init(3)
- crypto_blake2b_update(3)
- crypto_chacha20_djb(3)
- crypto_chacha20_h(3)
- crypto_chacha20_ietf(3)
- crypto_chacha20_x(3)
- crypto_ed25519_check(3)
- crypto_ed25519_key_pair(3)
- crypto_ed25519_ph_check(3)
- crypto_ed25519_ph_sign(3)
- crypto_ed25519_sign(3)
- crypto_eddsa_check(3)
- crypto_eddsa_check_equation(3)
- crypto_eddsa_key_pair(3)
- crypto_eddsa_mul_add(3)
- crypto_eddsa_reduce(3)
- crypto_eddsa_scalarbase(3)
- crypto_eddsa_sign(3)
- crypto_eddsa_to_x25519(3)
- crypto_eddsa_trim_scalar(3)
- crypto_elligator_key_pair(3)
- crypto_elligator_map(3)
- crypto_elligator_rev(3)
- crypto_poly1305(3)
- crypto_poly1305_final(3)
- crypto_poly1305_init(3)
- crypto_poly1305_update(3)
- crypto_sha512(3)
- crypto_sha512_final(3)
- crypto_sha512_hkdf(3)
- crypto_sha512_hkdf_expand(3)
- crypto_sha512_hmac(3)
- crypto_sha512_hmac_final(3)
- crypto_sha512_hmac_init(3)
- crypto_sha512_hmac_update(3)
- crypto_sha512_init(3)
- crypto_sha512_update(3)
- crypto_verify16(3)
- crypto_verify32(3)
- crypto_verify64(3)
- crypto_wipe(3)
- crypto_x25519(3)
- crypto_x25519_dirty_fast(3)
- crypto_x25519_dirty_small(3)
- crypto_x25519_inverse(3)
- crypto_x25519_public_key(3)
- crypto_x25519_to_eddsa(3)
- intro(3)
pkg-plist 66
- include/monocypher-ed25519.h
- include/monocypher.h
- lib/libmonocypher.a
- lib/libmonocypher.so
- lib/libmonocypher.so.4
- libdata/pkgconfig/monocypher.pc
- share/man/man3/crypto_aead_init_djb.3monocypher.gz
- share/man/man3/crypto_aead_init_ietf.3monocypher.gz
- share/man/man3/crypto_aead_init_x.3monocypher.gz
- share/man/man3/crypto_aead_lock.3monocypher.gz
- share/man/man3/crypto_aead_read.3monocypher.gz
- share/man/man3/crypto_aead_unlock.3monocypher.gz
- share/man/man3/crypto_aead_write.3monocypher.gz
- share/man/man3/crypto_argon2.3monocypher.gz
- share/man/man3/crypto_blake2b_final.3monocypher.gz
- share/man/man3/crypto_blake2b_init.3monocypher.gz
- share/man/man3/crypto_blake2b_keyed_init.3monocypher.gz
- share/man/man3/crypto_blake2b_keyed.3monocypher.gz
- share/man/man3/crypto_blake2b_update.3monocypher.gz
- share/man/man3/crypto_blake2b.3monocypher.gz
- share/man/man3/crypto_chacha20_djb.3monocypher.gz
- share/man/man3/crypto_chacha20_h.3monocypher.gz
- share/man/man3/crypto_chacha20_ietf.3monocypher.gz
- share/man/man3/crypto_chacha20_x.3monocypher.gz
- share/man/man3/crypto_ed25519_check.3monocypher.gz
- share/man/man3/crypto_ed25519_key_pair.3monocypher.gz
- share/man/man3/crypto_ed25519_ph_check.3monocypher.gz
- share/man/man3/crypto_ed25519_ph_sign.3monocypher.gz
- share/man/man3/crypto_ed25519_sign.3monocypher.gz
- share/man/man3/crypto_eddsa_check_equation.3monocypher.gz
- share/man/man3/crypto_eddsa_check.3monocypher.gz
- share/man/man3/crypto_eddsa_key_pair.3monocypher.gz
- share/man/man3/crypto_eddsa_mul_add.3monocypher.gz
- share/man/man3/crypto_eddsa_reduce.3monocypher.gz
- share/man/man3/crypto_eddsa_scalarbase.3monocypher.gz
- share/man/man3/crypto_eddsa_sign.3monocypher.gz
- share/man/man3/crypto_eddsa_to_x25519.3monocypher.gz
- share/man/man3/crypto_eddsa_trim_scalar.3monocypher.gz
- share/man/man3/crypto_elligator_key_pair.3monocypher.gz
- share/man/man3/crypto_elligator_map.3monocypher.gz
- share/man/man3/crypto_elligator_rev.3monocypher.gz
- share/man/man3/crypto_poly1305_final.3monocypher.gz
- share/man/man3/crypto_poly1305_init.3monocypher.gz
- share/man/man3/crypto_poly1305_update.3monocypher.gz
- share/man/man3/crypto_poly1305.3monocypher.gz
- share/man/man3/crypto_sha512_final.3monocypher.gz
- share/man/man3/crypto_sha512_hkdf_expand.3monocypher.gz
- share/man/man3/crypto_sha512_hkdf.3monocypher.gz
- share/man/man3/crypto_sha512_hmac_final.3monocypher.gz
- share/man/man3/crypto_sha512_hmac_init.3monocypher.gz
- share/man/man3/crypto_sha512_hmac_update.3monocypher.gz
- share/man/man3/crypto_sha512_hmac.3monocypher.gz
- share/man/man3/crypto_sha512_init.3monocypher.gz
- share/man/man3/crypto_sha512_update.3monocypher.gz
- share/man/man3/crypto_sha512.3monocypher.gz
- share/man/man3/crypto_verify16.3monocypher.gz
- share/man/man3/crypto_verify32.3monocypher.gz
- share/man/man3/crypto_verify64.3monocypher.gz
- share/man/man3/crypto_wipe.3monocypher.gz
- share/man/man3/crypto_x25519_dirty_fast.3monocypher.gz
- share/man/man3/crypto_x25519_dirty_small.3monocypher.gz
- share/man/man3/crypto_x25519_inverse.3monocypher.gz
- share/man/man3/crypto_x25519_public_key.3monocypher.gz
- share/man/man3/crypto_x25519_to_eddsa.3monocypher.gz
- share/man/man3/crypto_x25519.3monocypher.gz
- share/man/man3/intro.3monocypher.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| monocypher-4.0.3.tar.gz | 940390 | 8cc9bc341a66249016db9bd70e9142d8d0aef9945973744b1ac05dbc55d8ee66 |
Master sites 1
- https://monocypher.org/download/