What is Obfuscation?
17 May, 2019
The purpose of obfuscation is to make something harder to understand. In terms of code, it is made intentionally difficult to follow and/or whose syntax is intentionally unclear. It is similar to encryption, except that a machine can still understand and execute the code.
There are 3 main reasons why someone might move away from good programming practices to obfuscated code: 1️⃣Intellectual property protection - preventing or slowing reverse engineering efforts on proprietary code 2️⃣Program security - making hacks and exploits difficult to find 3️⃣Recreational purposes - as a puzzle or challenge
It can often be reversed by using the same technique that obfuscated the data. Other times, it’s simply a manual process that takes time to work through.
An example of obfuscation is the minification of code. This reduces code size by removing empty space and renaming variables.