Module Crypto_algo.Aes_cbc_params

AES CBC encryption parameters.

type t

The type for AesCbcParams objects.

val v : ?name:Jstr.t -> iv:Brr.Tarray.Buffer.t -> unit -> algo

v ~name ~iv is an encryption parameter object with given properties. name defaults to "AES-CBC".

val of_algo : algo -> t

of_algo a is an unsafe conversion from a.

Properties

val name : t -> Jstr.t

name a is the algorithm to use.

iv a is the initialisation vector to use.