I've read the Shannon's theory to entropy and how to implement such an algorithm for a binary file (pretty easy)
But I can't figure out what's the purpose on calculating the entropy of a .exe or any binary file
I can understand calculating the entropy of a telecommunication message (worst case: every symbol has the same probability) but I can't get the purpose for a binary file.
Someone can explain me this?