Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Encrypt you .py or .pyw files to unreadable code

Project description

FileEncryption

Usage

In the following paragraphs, I am going to describe how you can get and use FileEncryption for your own projects.

Getting it

To download FileEncryption, either fork this github repo or simply use Pypi via pip.

$ pip install FileEncryption

Using

from FileEncryption import Encryptor

Initialize the Encryptor Class

encryptor = Encryptor() # Saving the instance in the encryptor variable

Encrypt the Input File

encryptor.encrypt(path="input.py", ouput_path="output.py")

INPUT

import random
print(random.randint(10, 20))

OUTPUT

from base64 import b64decode as jbwptnorqx
from cryptography.fernet import Fernet as wuktjjutaj
eoqszeurnl = b'4lc8q5lMAKWlgswSwTHCircF2VWquMEGQP4B4aJHqbk='
bvpbxsamrw = wuktjjutaj(eoqszeurnl)
exec(bvpbxsamrw.decrypt(jbwptnorqx(b'Z0FBQUFBQmR0c2I1emNHMTZwTllnNnJHRjR3LW9CUVBXM2k3d2RsN2Q3czRqUEI4UGV5eFpVMWZRQUluVGo5OVZkVjRteHc1dGFqMFRxZDFxa0lNZ2tMa1ZVOUVrRmtrNHZMNWlGQjl0NGQyS3Y1VjNOWGllR2lkNVFRTFEtRC1lZGZ0RFJHOWcxbkY=')))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for FileEncryption, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size FileEncryption-0.1.6.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page