NDNts
    Preparing search index...

    Interface Decrypter<T>

    High level decrypter.

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

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

    Type Parameters

    Implemented by

    Index

    Properties

    Properties

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

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