Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IvChecker Abstract

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 instances should be used for each key.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Properties

ivLength: number

Methods

  • check(iv: Uint8Array, plaintextLength: number, ciphertextLength: number): void
  • Check IV for incoming message and update internal state.

    Parameters

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

    Returns void

  • wrap<T>(key: T): T
  • wrap(f: LLDecrypt): LLDecrypt

Generated using TypeDoc