I'm working on converting a calculator web-app into a Progressive Web-App such that the user will be able to use the calculator when not connected to the network. In order to achieve this it will require me to store data locally on the user's device. Then when the user is off line, they can access the local data in place of the my server's database. For the app to respond to any request I essentially have to put all the data on the users device. My concern is not size, but simply that the user will then have access to the entire recipe of my secret sauce.
Does anyone have any ideas on how to protect the data to prevent it from easily being accessed as whole?
I don't necessarily need a perfect solution, but at least something that will require anyone wanting to steal and reuse the data to work for it.
Note to mods: we really need a forum for PWA's