Module SharedFunctors.Make_Chacha20_Poly1305

Parameters

module Impl : sig ... end

Signature

type bytes = SharedDefs.CBytes.t
module Noalloc : sig ... end
val encrypt : key:bytes -> iv:bytes -> ad:bytes -> pt:bytes -> bytes * bytes
val decrypt : key:bytes -> iv:bytes -> ad:bytes -> ct:bytes -> tag:bytes -> bytes option