package hacl-star

  1. Overview
  2. Docs
type t
type alg =
  1. | AES128_GCM
  2. | AES256_GCM
  3. | CHACHA20_POLY1305
val init : alg -> C.t -> t Error.result
val encrypt : t -> C.t -> C.t -> C.t -> C.t -> C.t -> unit Error.result
val decrypt : t -> C.t -> C.t -> C.t -> C.t -> C.t -> unit Error.result
OCaml

Innovation. Community. Security.