A_Guide_to_Running_Tensorflow_Models_on_Android icon indicating copy to clipboard operation
A_Guide_to_Running_Tensorflow_Models_on_Android copied to clipboard

pb file protection for deployment

Open mmpinso opened this issue 8 years ago • 0 comments

Hello, this is not an issue well, it may be for anyone publishing an app with a .pb file in it and wanting to prevent unauthorized usage of such pb file.

=> Could you please help us figuring out how to decrypt on runtime & successfully load our pb file on Android?

The idea would be to include the encrypted pb in the apk and store the key as safe as possible (+ preventing the app from running on rooted / debuggin devices, etc)

Please help us if you have an idea on how to achieve this; we found libraries to encrypt / decrypt text files in Android, but we are missing the decryption into pb / loading the decrypted model step....

mmpinso avatar Jul 18 '17 08:07 mmpinso