So I am developing a python program and encrypting the trained machine learning models which need to be decrypted when loading them on client side. My program will deployed on the client's machine with no internet access and I need to protect my models.
Now I'd like to ask the following
- Whether using symmetric key encryption and then hiding the key inside my code is the right way to go about it or there is a better way?
- If this is the only way then how to what is the best way to hide the key?
I am already obfuscating the code by compiling cythonized python code so should I just hide the key inside that?