Last Updated: 2016-10-10 10:51:14 UTC
by Didier Stevens (Version: 1)
Radare2 is an open-source reverse-engineering framework.
rahash2 is one of the tools in the Radare2 framework. As it names implies, it calculates (cryptographic) hashes, but it is quite versatile. For example, it will also calculate entropy:
And like my byte-stats.py tool, it can also split the file in blocks and calculate the entropy for each block. You do this with option -b blocksize, and it will also produce a nice ASCII-art graph:
If you have interesting tips for rahash2 (or other Radare2 tools), please post a comment.