| Port details |
- libhydrogen Lightweight, secure, easy-to-use crypto library for constrained environments
- 0.0.0.g20251020 security
=0 0.0.0.g20250130Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2024-09-15 20:18:17
- Last Update: 2025-10-27 15:28:19
- Commit Hash: b166261
- License: ISCL
- WWW:
- https://github.com/jedisct1/libhydrogen
- Description:
- The Hydrogen library is a small, easy-to-use, hard-to-misuse cryptographic
library.
Features:
- Consistent high-level API, inspired by libsodium. Instead of low-level
primitives, it exposes simple functions to solve common problems that
cryptography can solve.
- 100% built using just two cryptographic building blocks: the Curve25519
elliptic curve, and the Gimli permutation.
- Small and easy to audit. Implemented as one tiny file for every set of
operation, and adding a single .c file to your project is all it takes to use
libhydrogen in your project.
- The whole code is released under a single, very liberal license (ISC).
- Zero dynamic memory allocations and low stack requirements (median: 32 bytes,
max: 128 bytes). This makes it usable in constrained environments such as
microcontrollers.
- Portable: written in standard C99. Supports Linux, *BSD, MacOS, Windows, and
the Arduino IDE out of the box.
- Can generate cryptographically-secure random numbers, even on Arduino boards.
- Attempts to mitigate the implications of accidental misuse, even on systems
with an unreliable PRG and/or no clock.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- libhydrogen>0:security/libhydrogen
- To install the port:
- cd /usr/ports/security/libhydrogen/ && make install clean
- To add the package, run one of these commands:
- pkg install security/libhydrogen
- pkg install libhydrogen
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: libhydrogen
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1761446506
SHA256 (jedisct1-libhydrogen-0.0.0.g20251020-89c7957_GH0.tar.gz) = 850520fa3e97563ad34696c415dae10cd5ad98a5595dd5b71f03b50ce6121076
SIZE (jedisct1-libhydrogen-0.0.0.g20251020-89c7957_GH0.tar.gz) = 46265
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- meson : devel/meson
- ninja : devel/ninja
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- security_libhydrogen
- USES:
- meson
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 5
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.0.0.g20251020 27 Oct 2025 15:28:19
    |
Po-Chuan Hsieh (sunpoet)  |
security/libhydrogen: Update to 0.0.0.g20251020
Changes: https://github.com/jedisct1/libhydrogen/commits/master |
0.0.0.g20250130 07 Feb 2025 21:15:54
    |
Po-Chuan Hsieh (sunpoet)  |
security/libhydrogen: Update to 0.0.0.g20250130
Changes: https://github.com/jedisct1/libhydrogen/commits/master |
0.0.0.g20241103 25 Dec 2024 19:15:07
    |
Po-Chuan Hsieh (sunpoet)  |
security/libhydrogen: Update to 0.0.0.g20241103
Changes: https://github.com/jedisct1/libhydrogen/commits/master |
0.0.0.g20240509_1 11 Dec 2024 17:29:05
    |
Piotr Kubaj (pkubaj)  |
security/libhydrogen: disable march=native, fixing build on non-amd64 / non-x86 |
0.0.0.g20240509 15 Sep 2024 20:09:33
    |
Po-Chuan Hsieh (sunpoet)  |
security/libhydrogen: Add libhydrogen 0.0.0.g20240509
The Hydrogen library is a small, easy-to-use, hard-to-misuse cryptographic
library.
Features:
- Consistent high-level API, inspired by libsodium. Instead of low-level
primitives, it exposes simple functions to solve common problems that
cryptography can solve.
- 100% built using just two cryptographic building blocks: the Curve25519
elliptic curve, and the Gimli permutation.
- Small and easy to audit. Implemented as one tiny file for every set of
operation, and adding a single .c file to your project is all it takes to use
libhydrogen in your project.
- The whole code is released under a single, very liberal license (ISC).
- Zero dynamic memory allocations and low stack requirements (median: 32 bytes,
max: 128 bytes). This makes it usable in constrained environments such as
microcontrollers.
- Portable: written in standard C99. Supports Linux, *BSD, MacOS, Windows, and
the Arduino IDE out of the box.
- Can generate cryptographically-secure random numbers, even on Arduino boards.
- Attempts to mitigate the implications of accidental misuse, even on systems
with an unreliable PRG and/or no clock. |
Number of commits found: 5
|