End-to-end encryption with Anvil

Hi Thanks all for your replies. let me try to explain the use case i envisage, first, encrypting/decrypting in the browser is very doable,there are several javascript libraries, the way to go is probably this: Web Crypto API - Web APIs | MDN

My use case is that my app on the Anvil server would be the ‘man in the middle’ :-), and that (my) python uplink code is running on the servers of my customers and their employees would be connecting to their servers through my Anvil app. The reason for this is that i want to be able to offer a kind of hybrid SAAS.
I also want to offer a full SAAS solution where their data is on my servers but I know there are a lot of companies where this won’t fly and the only option then would be running everything on their servers which i’m not that interested in at the moment.

Hope this helps explaining my use case!