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 details)

Uploaded Source

File details

Details for the file FileEncryption-0.1.6.tar.gz.

File metadata

  • Download URL: FileEncryption-0.1.6.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for FileEncryption-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5b31f66db2847a0bcb1e09d4e9b8f126587437e2e24bb1a3bdcd0d6f1ad478b5
MD5 702c3b36a1e32ddc96da88c692067f43
BLAKE2b-256 daff3ed6a121862bb6ac63a1d038972b86c8751cd02caca3aa092b9ecfad5c40

See more details on using hashes here.

Supported by

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