Encrypt a Library Linux

Python has to read the library to run it, and to read it correctly, it must be decrypted. Otherwise how do you expect python to be able to run encrypted code?

If you distribute an encrypted library, you have to add code to decrypt the library first before importing it. Otherwise there is no way python can read encrypted data and know what it means – that is the whole point of cryptography!

Leave a Comment