Documentation
    Preparing search index...
    • Internal

      Proceed with Symmetric decryption of the data as per 26/WAKU-PAYLOAD.

      Parameters

      • payload: Uint8Array

        The cipher data, it is expected to be cipherText | tag | iv.

      • key: string | Uint8Array<ArrayBufferLike>

        The key to use for decryption.

      Returns Promise<Uint8Array<ArrayBufferLike>>

      The decrypted data, expected to be flags | payload-length | payload | [signature].