• 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

      The key to use for decryption.

    Returns Promise<Uint8Array>

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

Generated using TypeDoc