package brr

  1. Overview
  2. Docs
On This Page
  1. Properties
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Crypto_algo.Aes_ctr_paramsSource

AES encryption parameters.

Sourcetype t

The type for AesCtrParams objects.

Sourceval 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".

Sourceval of_algo : algo -> t

of_algo a is an unsafe conversion from a.

Properties

Sourceval name : t -> Jstr.t

name a is the algorithm to use.

Sourceval counter : t -> Brr.Tarray.Buffer.t

counter a is the initial value of the counter block.

Sourceval length : t -> int

length a is the number of bits in the counter block used for the counter.