ascii hist.py is a very simple script to count the frequency of each byte in a file. This is useful if you're playling around with crypto.