Interface Decrypter<T>

High level decrypter.

Remarks

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

interface Decrypter<T> {
    decrypt: ((pkt) => Promise<void>);
}

Type Parameters

Implemented by

    Properties

    Properties

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

    Decrypt a packet. The packet is modified in-place.

    Type declaration

      • (pkt): Promise<void>
      • Parameters

        • pkt: T

        Returns Promise<void>

    Generated using TypeDoc