hcrypto.analyzer
Class IndexOfCoincidence

java.lang.Object
  |
  +--hcrypto.analyzer.IndexOfCoincidence
All Implemented Interfaces:
Analyzer

public class IndexOfCoincidence
extends java.lang.Object
implements Analyzer


Fields inherited from interface hcrypto.analyzer.Analyzer
DECIPHER_LIMIT
 
Constructor Summary
IndexOfCoincidence()
           
IndexOfCoincidence(java.lang.String text)
           
 
Method Summary
 double getIOC()
           
 java.lang.String getReport()
           
 void run()
           
 void setup(java.lang.String text)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexOfCoincidence

public IndexOfCoincidence()

IndexOfCoincidence

public IndexOfCoincidence(java.lang.String text)
Method Detail

getIOC

public double getIOC()

setup

public void setup(java.lang.String text)
Specified by:
setup in interface Analyzer

run

public void run()
Specified by:
run in interface Analyzer

getReport

public java.lang.String getReport()
Specified by:
getReport in interface Analyzer

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object