Skip to content

carpentry-org/hydrogen.carp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hydrogen

A simple wrapper around libhydrogen for Carp.

(load "git@github.com:carpentry-org/hydrogen.carp.git@0.0.3")

(def CONTEXT (Hydro.context "Examples"))
(def MSG (Hydro.buf "Arbitrary data to hash"))

(defn main []
   (let [key (HydroHash.keygen)]
      (println* &(HydroHash.gen &MSG CONTEXT &key))))

Installation

(load "git@github.com:carpentry-org/hydrogen.carp.git@0.0.3")

Usage

If you want to see how to use the library, you can look at the examples/ directory or look at the docs website.

Please note that the key exchange API has not been tested exhaustively and could very well be broken. As of now I’d recommend against using it.


Have fun!

About

A simple wrapper around libhydrogen for Carp

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors