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 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