Crate zalgo_codec

source ·

Functions

Takes in a path to a file that should be zalgo-encoded and stored in a file at the path given in the second argument.
Takes in a path to a python file that should be zalgo-encoded and stored in a file at the path given in the second argument. This file will still work the same as the original python code.
Takes in a string that was compressed by zalgo_encode and decompresses it to an ASCII string.
Takes in an ASCII string and “compresses” it to zalgo text using a reversible encoding scheme. The resulting string should only take up a single character space horizontally when displayed (though this can vary between platforms depending on how they deal with unicode). It can be decompressed to recover the original string using zalgo_decode.
Takes in a string containing python code and returns the zalgo-encoded version of that string wrapped in python code that decodes and executes it.