Deobfuscator Algorithm

In today's era of rapid information exchange, communication privacy is prioritized especially since many unauthorized individuals progressively find ways to access private data. Obfuscation or message scrambling, a simpler version of encryption, is one way to deter such acts, and it is crucial for it to be effective while involving simple syntaxes so any computer can run it. The diro Portable Query Language (diropql) is a simple language consisting only of seven commands to manipulate a virtual, contiguous, and dynamic row of memory cells that hold one byte each. However, with the limited command set, messages tend to get very long thus the need for compression- here using Burrows-Wheeler and Move-to-front transforms, then Run-length and Huffman encodings. The final result, after appending zeros, converting to Base85 encoding, and appending the 'DIROPQLZ' metadata, will be a binary string whose length is divisible by 8.

*Download the Source Code, change the value of the 'test' variable in the 'test_encode()' function definition at COE-164-MID/src/main.py, then run it.

Attachments

Back to Top