package macaroons

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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.