package hacl-star

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