I've created my own Python library on my Raspberry Pi 3 called myLibrary.py, and in another program called example.py, I use this library:
import myLibrary
I need to hand this Pi over to someone else, but I want the library encrypted. I've tried GnuPG, bcrypt, and ccrypt.
My issue is that the program no longer runs once the library is encrypted, I can an error saying "No module named myLibrary
How can I encrypt the library and still be allowed to use it in my program?
Thanks