Entropy as a measurement of information density is used particularly in reverse code engineering (RCE) to tell apart compressed or encrypted pieces of data (or even code) from plain data.

Further reading: