Y
Hacker News
new
|
ask
|
show
|
jobs
by
pq0ak2nnd
2832 days ago
Can someone recommend a good resource to analyze entropy in a file as the author discussed?
3 comments
zeeboo
2832 days ago
The easy way: compress it with whatever you want (xz? gzip?) and compare the sizes. If it doesn't get significantly smaller, it's probably encrypted or already compressed.
link
danmg
2832 days ago
binwalk -E
Will show a graph of the file offset vs shannon entropy.
link
lcq2
2831 days ago
read "A Mathematical Theory Of Communication" by Shannon himself, it's the only source you will ever need, it's available for free
link