Let's say you have some algorithm that you want to keep secret, but still enable users to interact with as a demo. Maybe you also want the user to actually save the current state, and load it at a later date.
What techniques would be available to ensure that your algorithms and data structures are kept secret, or if that's not possible, at least costly to reverse engineer ? This question exclude server-side secrets : the user will execute your code, and host the save files on his own private system.