Hydrogen

The hydrogen package is a collection of modules that wrap the hydrogen cryptography library.

While the documentation aims to be somewhat comprehensive, looking at the documentation of hydrogen is encouraged for additional context.

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

(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))))