package mirage-crypto

  1. Overview
  2. Docs

General stream cipher type.

type key
type result = {
  1. message : string;
  2. key : key;
}
val of_secret : string -> key
val encrypt : key:key -> string -> result
val decrypt : key:key -> string -> result
OCaml

Innovation. Community. Security.