Skip to content
C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
content
libhydrogen @ f1f061d
support
test
.gitignore
.gitmodules
LICENSE
README.md
jhydro.c
project.janet

README.md

jhydro

Lightweight cryptographic and random number generation utils for Janet. Based on libhydrogen.

Bindings for most of the libhydrogen API are available so far, with the exception of the key sharing API.

(use jhydro)

(print (random/u32))

(pp (random/buf 1024))

(def buf @"")
(for i 0 10
    (random/buf buf 64))

Documentation

Documentation can be built with Mendoza. First, install the latest verion of mendoza, and then run mdz && mdz serve from the jhydro repository directory. You can then navigate to http://localhost:8000 to see the documentation.

Building

jpm build

To build the library.

Testing

jpm test

License

This module is licensed under the MIT/X11 License.

You can’t perform that action at this time.