The AesCtrParams interface defines the algorithm-specific parameters that should be passed into the encrypt() and decrypt() methods when using the AES-CTR algorithm.

interface AesCtrParams {
    counter: Uint8Array;
    length: number;
}

Properties

Properties

counter: Uint8Array

The initial value of the counter block.

length: number

The number of bits in the counter block that are used for the actual counter.