Class IvCheckerAbstract

Initialization Vector checker.

The .wrap() method creates an LLDecrypt.Key or LLDecrypt that checks the IV in each message before and after decryption, and updates the internal state of this class. Typically, a separate IvChecker instance should be used for each key.

Hierarchy (view full)

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