Port details |
- libhydrogen Lightweight, secure, easy-to-use crypto library for constrained environments
- 0.0.0.g20240509_1 security =0 0.0.0.g20240509Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2024-09-15 20:18:17
- Last Update: 2024-12-11 17:29:05
- Commit Hash: f26a053
- 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 - 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 = 1726080915
SHA256 (jedisct1-libhydrogen-0.0.0.g20240509-c18e510_GH0.tar.gz) = 44e155d56a45cea83e7d838ad2b0c7757d83bcddff3d80663c510d77e365fc17
SIZE (jedisct1-libhydrogen-0.0.0.g20240509-c18e510_GH0.tar.gz) = 45819
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:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- security_libhydrogen
- USES:
- cmake
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
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: 2
|