package nocrypto

  1. Overview
  2. Docs
type key
val of_secret : maclen:int -> Cstruct.t -> key
val key_sizes : int array
val mac_sizes : int array
val block_size : int
val encrypt : key:key -> nonce:Cstruct.t -> ?adata:Cstruct.t -> Cstruct.t -> Cstruct.t
val decrypt : key:key -> nonce:Cstruct.t -> ?adata:Cstruct.t -> Cstruct.t -> Cstruct.t option
OCaml

Innovation. Community. Security.