Check Initialization Vectors of fixed+random+counter structure for duplication.

CounterIvOptions for expected IV structure.

Hierarchy (View Summary)

Constructors

Properties

Methods

Constructors

Properties

ivLength: number

Methods

  • Check IV for incoming message and update internal state.

    Parameters

    • iv: Uint8Array<ArrayBufferLike>
    • plaintextLength: number
    • ciphertextLength: number

    Returns void

  • Parameters

    • iv: Uint8Array<ArrayBufferLike>

    Returns { counter: bigint; fixed: bigint; random: bigint }