Obfuscation code ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Obfuscation code ?

what is obfuscation code and why is it used and is it supported by all languages ? please give explained example.

22nd May 2017, 6:25 AM
Mhmed Lemine
Mhmed Lemine - avatar
6 Answers
+ 18
According to Wikipedia, “in software development, obfuscation is the deliberate act of creating source or machine code that is difficult for humans to understand. Like obfuscation in natural language, it may use needlessly roundabout expressions to compose statements." Obfuscating is sometimes used to hide software from hackers by concealing source code that would explain its inner functionality. It’s also used to deter the reverse-engineering of licensed software, e.g., reverse engineering licensed software or programs you have to pay for like Photoshop. This kind of obfuscation is usually less secure and more of a “noob” protection that an advanced developer can work around. However, it’s also used for more sinister purposes, like concealing some kinds of malware, like an exploit, and preventing its detection from antivirus software. For Eg., https://code.sololearn.com/c00EUx1DJZgv/?ref=app
22nd May 2017, 6:34 AM
Dev
Dev - avatar
+ 15
@Mhmed It's not really a Morse code... It's much difficult by humans to understand it. Deobfuscation helps in understanding it : https://www.google.co.in/amp/s/www.upwork.com/hiring/development/understanding-obfuscated-code-deobfuscate-php-javascript/amp/
22nd May 2017, 6:44 AM
Dev
Dev - avatar
+ 7
@Mhmed. It's not meant to be read. That's why it's obfuscated.
22nd May 2017, 6:42 AM
Pixie
Pixie - avatar
+ 3
@Mhmed: eets soorta lyke thys <- It's sort of like this. i.e making things hard to read
22nd May 2017, 8:11 AM
jay
jay - avatar
+ 2
@Dayve how can we read it ? i mean is it like morse code ?
22nd May 2017, 6:41 AM
Mhmed Lemine
Mhmed Lemine - avatar
+ 2
a good 2 mins article on obfuscation uses in JavaScript “Obfuscation — What is Obfuscation in Javascript? Why Obfuscation is used?” https://codeburst.io/obfuscation-what-is-obfuscation-in-javascript-why-obfuscation-is-used-f6a5f5bcf022
22nd Feb 2018, 1:23 PM
Morpheus
Morpheus - avatar