• Internal

    Proceed with Asymmetric decryption of the data as per 26/WAKU-PAYLOAD. The returned data is expected to be flags | payload-length | payload | [signature].

    Parameters

    • payload: Uint8Array
    • privKey: Uint8Array

    Returns Promise<Uint8Array>