일치 지수

문자 빈도로 일치지수를 계산해 텍스트와 고전 암호를 분석합니다.

입력: 텍스트결과: 숫자 값

텍스트 입력

예제

Check an alphabet with no repeated letters

With each letter occurring once, no pair of distinct positions can match.

입력

ABCDEFGHIJKLMNOPQRSTUVWXYZ

Expected answer

Tolerance ±1e-12
0
Measure the all-identical-letter boundary

Every pair matches, so the index is exactly 1.

입력

EEEEEEEE

Expected answer

Tolerance ±1e-12
1
Ignore case, punctuation and digits in a small sample

Only aabb contributes: 4 matching ordered pairs among 12 ordered pairs.

입력

Aa! Bb? 2026

Expected answer

Tolerance ±1e-12
0.3333333333333333
Measure a short quotation from Alice in Wonderland

This short-sample statistic is not a reliable language or encryption detector.

입력

Curiouser and curiouser!

Expected answer

Tolerance ±1e-12
0.08095238095238096
Measure the newspaper headline embedded in Bitcoin genesis

The spaces, slash and date digits are removed before letter frequencies are counted.

입력

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

Expected answer

Tolerance ±1e-12
0.05176470588235294
Index of Coincidence

입력

Hello world, this is a test to determine the correct IC value.

Expected checks

Matches /^Index of Coincidence: 0\.07142857142857142\nNormalized: 1\.857142857142857/

관련 도구

기타

작업 참고 자료

원본 기술 문서 보기 (English)