Skip to main content

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.

Source Distribution

FileEncryption-0.1.6.tar.gz (2.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page