notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
libhydrogen Lightweight, secure, easy-to-use crypto library for constrained environments
0.0.0.g20260608 security on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.0.0.g20260430Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-15 20:18:17
Last Update: 2026-07-08 13:30:42
Commit Hash: 195476f
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (10 items)
Collapse this list.
  1. /usr/local/share/licenses/libhydrogen-0.0.0.g20260608/catalog.mk
  2. /usr/local/share/licenses/libhydrogen-0.0.0.g20260608/LICENSE
  3. /usr/local/share/licenses/libhydrogen-0.0.0.g20260608/ISCL
  4. include/hydrogen.h
  5. lib/libhydrogen.a
  6. lib/libhydrogen.so
  7. libdata/pkgconfig/libhydrogen.pc
  8. @owner
  9. @group
  10. @mode
Collapse this list.
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 = 1782966138 SHA256 (jedisct1-libhydrogen-0.0.0.g20260608-f47ec4f_GH0.tar.gz) = ccd32d6b25b9f81793d32ab18588bd996f3f6def84d7b94425bc5859b74b62b2 SIZE (jedisct1-libhydrogen-0.0.0.g20260608-f47ec4f_GH0.tar.gz) = 47290

Packages (timestamps in pop-ups are UTC):
libhydrogen
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.0.0.g202603310.0.0.g20260419n/an/an/an/an/an/a
FreeBSD:13:quarterly0.0.0.g202602130.0.0.g20260213n/an/an/an/an/an/a
FreeBSD:14:latest0.0.0.g202606080.0.0.g20260608-0.0.0.g202501300.0.0.g20260608---
FreeBSD:14:quarterly0.0.0.g202606080.0.0.g20260608-0.0.0.g202501300.0.0.g20260608---
FreeBSD:15:latest0.0.0.g202606080.0.0.g20260608n/a0.0.0.g20250130n/an/a--
FreeBSD:15:quarterly0.0.0.g202606080.0.0.g20260608n/a-n/an/a--
FreeBSD:16:latest0.0.0.g202606080.0.0.g20260608n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. meson : devel/meson
  2. 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/jedisct1/libhydrogen/tar.gz/f47ec4f?dummy=/
Collapse this list.

Number of commits found: 12

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.0.0.g20260608
08 Jul 2026 13:30:42
commit hash: 195476f62d9fb1aaef38aae4a6c8a1d08ac64b49commit hash: 195476f62d9fb1aaef38aae4a6c8a1d08ac64b49commit hash: 195476f62d9fb1aaef38aae4a6c8a1d08ac64b49commit hash: 195476f62d9fb1aaef38aae4a6c8a1d08ac64b49 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/libhydrogen: Update to 0.0.0.g20260608

Changes:	https://github.com/jedisct1/libhydrogen/commits/master
0.0.0.g20260430
02 May 2026 21:27:36
commit hash: f31c19c8697084f3872f307c4617ac7706af5b1dcommit hash: f31c19c8697084f3872f307c4617ac7706af5b1dcommit hash: f31c19c8697084f3872f307c4617ac7706af5b1dcommit hash: f31c19c8697084f3872f307c4617ac7706af5b1d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/libhydrogen: Update to 0.0.0.g20260430

Changes:	https://github.com/jedisct1/libhydrogen/commits/master
0.0.0.g20260419
27 Apr 2026 13:06:56
commit hash: b7e4b3bcf3bd91e203818c38c5de6223ce073054commit hash: b7e4b3bcf3bd91e203818c38c5de6223ce073054commit hash: b7e4b3bcf3bd91e203818c38c5de6223ce073054commit hash: b7e4b3bcf3bd91e203818c38c5de6223ce073054 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/libhydrogen: Update to 0.0.0.g20260419

Changes:	https://github.com/jedisct1/libhydrogen/commits/master
0.0.0.g20260331
18 Apr 2026 21:22:28
commit hash: 877d18db83c7e5de320100cb248391e1246b755bcommit hash: 877d18db83c7e5de320100cb248391e1246b755bcommit hash: 877d18db83c7e5de320100cb248391e1246b755bcommit hash: 877d18db83c7e5de320100cb248391e1246b755b files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/libhydrogen: Update to 0.0.0.g20260331

Changes:	https://github.com/jedisct1/libhydrogen/commits/master
0.0.0.g20260213
09 Mar 2026 18:18:23
commit hash: 4236095c4f21be04bd0cb1c5cb4068596420076ccommit hash: 4236095c4f21be04bd0cb1c5cb4068596420076ccommit hash: 4236095c4f21be04bd0cb1c5cb4068596420076ccommit hash: 4236095c4f21be04bd0cb1c5cb4068596420076c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/libhydrogen: Update to 0.0.0.g20260213

Changes:	https://github.com/jedisct1/libhydrogen/commits/master
0.0.0.g20260119
03 Feb 2026 05:09:16
commit hash: 9f692e61960503e8060a48f73efaf7888057f5e2commit hash: 9f692e61960503e8060a48f73efaf7888057f5e2commit hash: 9f692e61960503e8060a48f73efaf7888057f5e2commit hash: 9f692e61960503e8060a48f73efaf7888057f5e2 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/libhydrogen: Update to 0.0.0.g20260119

Changes:	https://github.com/jedisct1/libhydrogen/commits/master
0.0.0.g20251127
15 Jan 2026 11:53:12
commit hash: b501e209dc9418ece28ad772ffc1c3e9b0fe6c9ccommit hash: b501e209dc9418ece28ad772ffc1c3e9b0fe6c9ccommit hash: b501e209dc9418ece28ad772ffc1c3e9b0fe6c9ccommit hash: b501e209dc9418ece28ad772ffc1c3e9b0fe6c9c files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
security/libhydrogen: Update to 0.0.0.g20251127

Changes:	https://github.com/jedisct1/libhydrogen/commits/master
0.0.0.g20251020
27 Oct 2025 15:28:19
commit hash: b1662614b4ac73d698b25d21a2c53e0dc55a23d6commit hash: b1662614b4ac73d698b25d21a2c53e0dc55a23d6commit hash: b1662614b4ac73d698b25d21a2c53e0dc55a23d6commit hash: b1662614b4ac73d698b25d21a2c53e0dc55a23d6 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 8f89d959dfaef8c760d772d0441681dead03762bcommit hash: 8f89d959dfaef8c760d772d0441681dead03762bcommit hash: 8f89d959dfaef8c760d772d0441681dead03762bcommit hash: 8f89d959dfaef8c760d772d0441681dead03762b files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 4ff18d3a41066a708836bc1f00a796570a527001commit hash: 4ff18d3a41066a708836bc1f00a796570a527001commit hash: 4ff18d3a41066a708836bc1f00a796570a527001commit hash: 4ff18d3a41066a708836bc1f00a796570a527001 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: f26a053fe016f254dbf07f6d311a41b93d446862commit hash: f26a053fe016f254dbf07f6d311a41b93d446862commit hash: f26a053fe016f254dbf07f6d311a41b93d446862commit hash: f26a053fe016f254dbf07f6d311a41b93d446862 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
security/libhydrogen: disable march=native, fixing build on non-amd64 / non-x86
0.0.0.g20240509
15 Sep 2024 20:09:33
commit hash: 2177ea1bb740c4021d20bb4c2c5bc2dee2581cdbcommit hash: 2177ea1bb740c4021d20bb4c2c5bc2dee2581cdbcommit hash: 2177ea1bb740c4021d20bb4c2c5bc2dee2581cdbcommit hash: 2177ea1bb740c4021d20bb4c2c5bc2dee2581cdb files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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: 12