macaroons

Macaroons for OCaml
IN THIS PACKAGE
Parameter #1 Macaroons . Make . C
val hmac : key:string -> string -> string

hmac ~key m computes an HMAC of the message m using the key key.

val hash : string -> string

hash m hashes m.

val encrypt : key:string -> string -> string

encrypt ~key m symmetrically encrypts message m under key key.

val decrypt : key:string -> string -> string

decrypt ~key m symmetrically decrypts message m under key key.