Definition
What is code minification?
Code minification is the process of removing whitespace, comments, and unnecessary characters from your code to make it smaller and harder to read at a glance. The output runs identically to the original, but takes fewer bytes and offers no readable formatting for someone inspecting it.
Minification originated as a performance technique: smaller files load faster in a browser. As a side effect, minified code is also harder to read quickly, which makes it a natural companion to obfuscation.
It is important to understand what minification is not: it is not obfuscation, and a motivated attacker can undo it by running the output through a code beautifier. That is why ByteHide Shield layers minification on top of transformations that survive beautification, such as name obfuscation, string encryption, and control-flow scrambling.
