Skip to content
/ trilogy Public

Effortlessly encrypt your files and decrypt it at runtime

Notifications You must be signed in to change notification settings

subfrl/trilogy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

Trilogy

Effortlessly encrypt your files and decrypt them at runtime

Benefits

  • Effectively decrease or compress file size due to code encryption
  • Easily modifiable
  • Extremely flexible

Limitations

  • Can be slow
  • Can be decrypted

Usage

Run the install.bat file, after installation, please run the run.bat. Don't forget to change the file name from main.py

"""
⚠ 'sample.py' must be changed to your desired file to encrypt, otherwise it won't work. 
"""
trilogy = trilogy("sample.py") 

Sample

Before encryption

print("Really cool application, yeah?")
input()

After encryption

from cryptography.fernet import Fernet

key = b'9WkRgeSsnBB_bmpzAbPVYc73piHReXWEkjFntcgzhdE='
base = Fernet(key)
c = base.decrypt(b'gAAAAABivfOKXKZdmWWRi2VRW4LcIoog6VYzF3TWil8xf8hZ16...')
exec(c)

Stats

Alt

About

Effortlessly encrypt your files and decrypt it at runtime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published