Class CounterIvChecker

Check IVs of fixed+random+counter structure to detect duplication.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

ivLength: number

Methods

  • Check IV for incoming message and update internal state.

    Parameters

    • iv: Uint8Array
    • plaintextLength: number
    • ciphertextLength: number

    Returns void

  • Parameters

    • iv: Uint8Array

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

    • counter: bigint
    • fixed: bigint
    • random: bigint

Generated using TypeDoc