Registry / crypto / libhydrogen

libhydrogen

JSON →
library2022-06-21vcpkgunverified

A lightweight, secure, easy-to-use crypto library suitable for constrained environments.

vcpkg install libhydrogen
INSTALL
IMPORT
SIG · LIBHYDROGEN
L
libhydrogen
cryptocppv2022-06-21
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hydrogen.h
#include <hydrogen.h>

Initialize libhydrogen and generate random bytes.

#include <hydrogen.h> #include <stdio.h> int main() { hydro_init(); char buf[hydro_random_SEEDBYTES]; hydro_random_buf(buf, sizeof(buf)); printf("Random bytes generated\n"); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2022-06-21latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

libhydrogen — pip install libhydrogen · libregistry