In order to understand the code obfuscation techniques briefly, let’s just first classify the obfuscation techniques into the following four categories namely:-
Data obfuscation is a form of data masking where the data is purposely scrambled so that it becomes very difficult for a person to understand the semantics of the code. Attackers usually achieve this by converting a variable or constant into one or several variables or constants. They also adopt other techniques like string splitting and keyword substitution.
String splitting is a technique where it converts a string into the concatenation of several substrings. String splitting is usually used along with document.write() or eval() functions to execute the concatenated strings in a browser.
Logic Structure Obfuscation