Function unpackSymmetricalyEncryptedData

  • Method to unpack data and nonce from one readable bytes array

    Returns

    Data and nonce

    Parameters

    • data: Uint8Array

      Bytes with encrypted data and nonce

    Returns {
        encData: Uint8Array;
        nonce: Uint8Array;
    }

    • encData: Uint8Array
    • nonce: Uint8Array

Generated using TypeDoc