NDNts
    Preparing search index...

    Interface Encrypter<T>

    High level encrypter.

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

    interface Encrypter<T = Data> {
        encrypt: (pkt: T) => Promise<void>;
    }

    Type Parameters

    Index

    Properties

    Properties

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

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