Skip to content

dchriste/obfuscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

obfuscator

Usage

usage: obfuscator.py [-h] (-d TEXT | -e TEXT) -s SALT

encode and decode a string

optional arguments:
  -h, --help            show this help message and exit
  -d TEXT, --decode TEXT
                        decode an encoded string
  -e TEXT, --encode TEXT
                        encode a plain text string
  -s SALT, --salt SALT  salt to encode or decode with

Examples:

Input to Encode

py obfuscator.py -e "This script is nifty!" -s Himalayan

Output

b'\x1c\x01\x04\x12L\x12\x1a\x13\x078\x1dM\x08\x1fA\x17\x08\x08<\x10L'

Input to Decode

py obfuscator.py -d "b'\x1c\x01\x04\x12L\x12\x1a\x13\x078\x1dM\x08\x1fA\x17\x08\x08<\x10L'" -s Himalayan

Output

This script is nifty!