Crypto_algo.Aes_gcm_paramsAES GCM encryption parameters.
The type for AesGcmParams objects.
val v :
?name:Jstr.t ->
iv:Brr.Tarray.Buffer.t ->
additional_data:Brr.Tarray.Buffer.t option ->
tag_length:int option ->
unit ->
algov ~name ~iv ~additional_data ~tag_length is an encryption parameter object with given properties. name defaults to "AES-GCM".
val iv : t -> Brr.Tarray.Buffer.tiv a is the initialisation vector to use.
val additional_data : t -> Brr.Tarray.Buffer.t optionadditional_data a is the additionnal data to use.
val tag_length : t -> int optionadditional_data a is the authentication tag bit size to use.