package nocrypto

  1. Overview
  2. Docs

General stream cipher type.

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

Innovation. Community. Security.