Interface Decrypter<T>

High level decrypter.

This captures both the decryption key and the wire format of encrypted content.

Type Parameters

Hierarchy

  • Decrypter

Properties

Properties

decrypt: ((pkt) => Promise<void>)

Type declaration

    • (pkt): Promise<void>
    • Decrypt a packet. The packet is modified in-place.

      Parameters

      • pkt: T

      Returns Promise<void>

Generated using TypeDoc