• Pefrorm AES-CTR-256 en/decryption

    Parameters

    • ctx: number

      context returned by createCtr256

    • data: Uint8Array

      data to en/decrypt (must be a multiple of 16 bytes)

    Returns Uint8Array