Frequencies of Character Pairs
Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
Frequencies of character pairs provide important clues for cryptanalysis. In practice you would try to obtain text samples from actual communications or, alternatively, use typical texts. This Demonstration visualizes frequencies of pairs of letters using words from the built-in dictionary in Mathematica. Tooltips give these frequencies.[more]
A red disk indicates that a pair is more frequent than the reversed-order pair (i.e., a red disk at "ly" indicates this is more frequent than "yl"). Blue disks indicate the opposite, and purple disks indicate similar frequencies of both orderings for that pair. Reduce the displayed number of pairs by raising the threshold, which is the minimum number of words in which a given character pair has to be present in order to appear in the graphic.[less]
Contributed by: Michael Schreiber (March 2011)
Open content licensed under CC BY-NC-SA
"Frequencies of Character Pairs"
Wolfram Demonstrations Project
Published: March 7 2011