Definition
Obfuscation is a transformation of code, usually applied at build time to source, IL, or a native binary. Renaming replaces class, method, and field names with names that carry no meaning. Control-flow obfuscation rearranges the path through a method so a decompiler is harder to follow. Strings such as URLs or messages can be stored encoded and decoded only when used. The program behaves the same. The result is harder to read and harder to change with confidence.
Relevance
Obfuscation is the name for making code hard to read on purpose. It slows down reading a shipped assembly or binary, and a small edit is less likely to do what the editor intended. It is not encryption. The logic is still in the program, only harder to follow, and anyone who runs the program still runs that same logic.
Example
A method named ApplyDamage is easy to find in a decompiler and easy to change. After renaming and control-flow obfuscation, that method has a meaningless name and a path that is hard to follow, so understanding the damage logic takes much longer.
Connected
Synonyms
Code obfuscation