NDNts

    Class IvGenAbstract

    Initialization Vector generator.

    The .wrap() method creates an LLEncrypt.Key or LLEncrypt that generates an IV for each message before encryption, and updates the internal state of this class after encryption. Typically, a separate IVGen instance should be used for each key.

    If a message presented for encryption already has an IV associated, it would bypass this class. In that case, the IV is not checked and the internal state is not updated.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    ivLength: number

    Methods

    • Update internal state after a message is encrypted..

      Parameters

      • plaintextLength: number
      • ciphertextLength: number

      Returns void

    MMNEPVFCICPMFPCPTTAAATR