Interface Decrypter<T>

High level decrypter.

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

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

Type Parameters

Implemented by

    Properties

    Properties

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

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