package mirage-crypto

  1. Overview
  2. Docs

Electronic Codebook "mode".

type key
val of_secret : Cstruct.t -> key
val key_sizes : int array
val block_size : int
val encrypt : key:key -> Cstruct.t -> Cstruct.t
val decrypt : key:key -> Cstruct.t -> Cstruct.t
OCaml

Innovation. Community. Security.