Cryptanalyst’s Index of Coincidence
Index of coincidence measures how likely it is to draw two matching letters by choosing two random letters from a text.
Definition
Given a text of length using an alphabet consisting of letters and given the number of appearances for each letter , the Index of coincidence (IC) is defined by the sum:
The normalized Index of coincidence can be obtained by multiplying the above by .
This article is a work in progress.