Y
Hacker News
new
|
ask
|
show
|
jobs
by
pq0ak2nnd
3002 days ago
Can someone recommend a good resource to analyze entropy in a file as the author discussed?
3 comments
zeeboo
3002 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
3002 days ago
binwalk -E
Will show a graph of the file offset vs shannon entropy.
link
lcq2
3001 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