Hi,
You can actually do this using Anvil hosted apps (I have, for that same reason). All processing occurs client-side and the “legal burden” thus falls on the user. You can make this more complex obviously (encryption and so…).
Check out this code sample and demo