Interface Encrypter<T>

High level encrypter.

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

Type Parameters

Hierarchy

  • Encrypter

Properties

Properties

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

Type declaration

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

      Parameters

      • pkt: T

      Returns Promise<void>

Generated using TypeDoc