python command line tool that helps sharing and storing securely python source code files thanks to a simple and yet very strong and resilient string encryption. It also provides an obsfucation with decryption at runtime.
crypthon V1.0: a python command line tool that helps sharing and storing securely python source code files
thanks to a simple
and yet very strong and resilient string encryption.
It also provides an obsfucation with decryption at runtime.
Author: Gilda Bansimba
usage: crypthon [option]
Options and arguments. All default python interpreter options and arguments also work.
-check
: checks for a shared file integrity located in the same directory with its text file signature.
> e.g. crypthon -check locked_file1.py
-loc
: locks a file with the given key from which is randomly generated a one time pad security key.
> e.g. crypthon -loc file.py password
NOTE: file can be replaced by any of the following:
- . : for all python files in the current working directory.
e.g. crypthon -loc . passowrd
- * : for all python files in the current working directory and its subdirectories or subfolders.
e.g. crypthon -loc * password
- *** : for all python source files stored on the entire disc partition.
e.g. crypthon -loc *** password
-unloc
: unlocks a locked file with the given password from which is randomly generated a one time pad security key.
> e.g. crypthon -unloc file.py password
NOTE: all of the above mentioned parameters still apply.
-keygen
: displays the generated one time pad security key from the given password for the given file.
> e.g. crypthon -keygen file.py password
-True
: locks or unlocks the python file without keeping a copy of the original plaintext file or encrypted source file.
> e.g. crypthon -loc file.py password -True
crypthon -loc file.py password -False
-Share
: creates a folder with prefix SHARE_ containing the locked file (s) and text file (s) containing its (their) signature (s).
For more info on crypthon or to report a bug or view the entire source code of crypthon