Crypto_algo.Aes_ctr_params
AES encryption parameters.
The type for AesCtrParams
objects.
val v :
?name:Jstr.t ->
counter:Brr.Tarray.Buffer.t ->
length:int ->
unit ->
algo
v ~name ~counter ~length
is a encryption parameter object with given properties. name
defaults to "AES-CTR"
.
val counter : t -> Brr.Tarray.Buffer.t
counter a
is the initial value of the counter block.
val length : t -> int
length a
is the number of bits in the counter block used for the counter.