A B C D E F G H I K M N P R S T U V W X Y

A

actionPerformed(ActionEvent) - Method in class hcrypto.analyzer.PatternWordSearcher
 
addCipher(String, String, String) - Static method in class hcrypto.provider.Provider
 
addCipher(String, String, String, String) - Static method in class hcrypto.provider.Provider
 
addPadd(String) - Method in class hcrypto.engines.RailFenceEngine
AddPadd() This method receives a the plaintext string, with spaces removed from the engineEncode method.
addProvider(Provider) - Static method in class hcrypto.provider.Provider
Adds the designated provider to the list of available providers.
AffineAnalyzer - class hcrypto.analyzer.AffineAnalyzer.
 
AffineAnalyzer() - Constructor for class hcrypto.analyzer.AffineAnalyzer
 
AffineAnalyzer(TextStatistics) - Constructor for class hcrypto.analyzer.AffineAnalyzer
 
AffineEngine - class hcrypto.engines.AffineEngine.
This class implements an Affine cipher algorithm (a special case of a Substitution Cipher that encrypts and decrypts a character based on two Affine functions) for any of three alphabet ranges including az, AZ, azAZ.
AffineEngine() - Constructor for class hcrypto.engines.AffineEngine
Creates an AffineEngine and sets the alphabetRangeOptions instance variable to "110000", which translates to the "az+AZ"alphabet option for both the plaintext and ciphertext alphabets.
AffineKey - class hcrypto.engines.AffineKey.
This class represents a key for an Affine cipher.
AffineKey() - Constructor for class hcrypto.engines.AffineKey
 
algorithm - Variable in class hcrypto.cipher.Cipher
the name of this algorithm
ALPH_ascii - Static variable in class hcrypto.cipher.AlphabetFactory
 
ALPH_az - Static variable in class hcrypto.cipher.AlphabetFactory
 
ALPH_AZ - Static variable in class hcrypto.cipher.AlphabetFactory
 
ALPH_azAZ - Static variable in class hcrypto.cipher.AlphabetFactory
 
ALPH_azAZ09 - Static variable in class hcrypto.cipher.AlphabetFactory
 
ALPH_cryptogram - Static variable in class hcrypto.cipher.AlphabetFactory
 
ALPH_hebrew - Static variable in class hcrypto.cipher.AlphabetFactory
 
ALPH_printable - Static variable in class hcrypto.cipher.AlphabetFactory
 
ALPH_unicode - Static variable in class hcrypto.cipher.AlphabetFactory
 
alphabet - Variable in class hcrypto.cipher.BlockCipher
Refers to the alphabet used by the plaintext of a particular cipher.
alphabet - Variable in class hcrypto.cipher.HistoricalKey
This instance variable stores a reference to the particular plaintext characters for which this cipher is defined.
Alphabet - class hcrypto.cipher.Alphabet.
This class defines properties of the alphabet used in a cipher key.
Alphabet() - Constructor for class hcrypto.cipher.Alphabet
The default constructor sets the range to 'a' to 'z'.
Alphabet(char[]) - Constructor for class hcrypto.cipher.Alphabet
Creates an alphabet using an array char ranges.
Alphabet(char[], int) - Constructor for class hcrypto.cipher.Alphabet
This constructor lets the user set the range using one of the static constants.
Alphabet(char[], String) - Constructor for class hcrypto.cipher.Alphabet
This constructor lets the user set the range using one of a set of descriptors.
Alphabet(Character.UnicodeBlock[]) - Constructor for class hcrypto.cipher.Alphabet
This constructor creates an alphabet composed of characters form one or more sets of Unicode blocks.
Alphabet(String) - Constructor for class hcrypto.cipher.Alphabet
Creates an alphabet using given an even-length String of character ranges.
AlphabetFactory - class hcrypto.cipher.AlphabetFactory.
 
AlphabetFactory() - Constructor for class hcrypto.cipher.AlphabetFactory
 
alphabeticsCount - Variable in class hcrypto.analyzer.TextStatistics
 
alphabetRangeOptions - Variable in class hcrypto.cipher.CipherEngine
A string of 0s and 1s that describes the options for possible alphabet ranges.
Analyzer - interface hcrypto.analyzer.Analyzer.
 
AnalyzerFrame - class hcrypto.analyzer.AnalyzerFrame.
 
AnalyzerFrame() - Constructor for class hcrypto.analyzer.AnalyzerFrame
 
analyzers - package analyzers
 

B

bigram - Variable in class hcrypto.analyzer.KasiskiRecord
 
BlockCipher - class hcrypto.cipher.BlockCipher.
This abstract class represents a basic block cipher.
BlockCipher() - Constructor for class hcrypto.cipher.BlockCipher
 
blocksize - Variable in class hcrypto.cipher.BlockCipher
Stores the block size for the particular cipher.
blocksize - Variable in class hcrypto.cipher.HistoricalKey
Stores the blocksize.
buildGUI() - Method in class hcrypto.analyzer.AnalyzerFrame
 
buildGUI() - Method in class hcrypto.analyzer.PatternWordSearcher
buildGUI() overrides the default method inherited from AnalyzerFrame.
buildGUI() - Method in class hcrypto.analyzer.TextAnalyzer
buildGUI() overrides the default method inherited from AnalyzerFrame.

C

CaesarAnalyzer - class hcrypto.analyzer.CaesarAnalyzer.
 
CaesarAnalyzer() - Constructor for class hcrypto.analyzer.CaesarAnalyzer
 
CaesarAnalyzer(TextStatistics) - Constructor for class hcrypto.analyzer.CaesarAnalyzer
 
CaesarEngine - class hcrypto.engines.CaesarEngine.
This class implements the Caesar cipher algorithm for any range of alphabets, including az, AZ, azAZ, azAZ09, printable, and ASCII.
CaesarEngine() - Constructor for class hcrypto.engines.CaesarEngine
Creates a CaesarEngine and sets the alphabetRangeOptions instance variable to "111111", which translates to all six alphabet options for both the plaintext and ciphertext alphabets.
CaesarKey - class hcrypto.engines.CaesarKey.
This class represents a key for a Caesar (shift) cipher.
CaesarKey() - Constructor for class hcrypto.engines.CaesarKey
 
calcFitness() - Method in class hcrypto.analyzer.GaIndividual
This method should be implemented in the subclass.
calcFitness() - Method in class hcrypto.analyzer.FreqGaIndividual
 
calcFitness() - Method in class hcrypto.analyzer.WordBasedGaIndividual
 
calcFitness() - Method in class hcrypto.analyzer.Individual
 
calcStatistics() - Method in class hcrypto.analyzer.TextStatistics
 
centerWindow(Window) - Static method in class hcrypto.analyzer.AnalyzerFrame
 
ch - Variable in class hcrypto.analyzer.FrequencyRecord
 
charCount - Variable in class hcrypto.analyzer.TextStatistics
 
charToInt(char) - Method in class hcrypto.cipher.Alphabet
Returns the position of the parameter ch in the alphabet in the range 0 to size - 1.
charToString(char) - Method in class hcrypto.analyzer.FrequencyTable
Converts a nonprintable character to a string
charToString(char) - Method in class hcrypto.analyzer.Histogram
 
chiSquare(int[], int[]) - Static method in class hcrypto.analyzer.TextStatistics
Static methods for Computing chi square statistic
ciphAlphabet - Variable in class hcrypto.cipher.HistoricalKey
The ciphertext alphabet represented as a contiguous array of char.
cipher - Variable in class hcrypto.analyzer.GaIndividual
 
Cipher - class hcrypto.cipher.Cipher.
This class provides the functionality for a wide range of historical ciphers that can be used for encryption and decryption.
Cipher(CipherEngine) - Constructor for class hcrypto.cipher.Cipher
the constructor is only used internally to create a Cipher object.
cipherAlphabet - Variable in class hcrypto.cipher.BlockCipher
Refers to the alphabet used for the ciphertext of a particular cipher.
cipherAlphabet - Variable in class hcrypto.cipher.HistoricalKey
This instance variable stores a reference to the particular ciphertext characters for which this cipher is defined.
CipherEngine - class hcrypto.cipher.CipherEngine.
The CipherEngine class defines the interface for the Cipher class.
CipherEngine() - Constructor for class hcrypto.cipher.CipherEngine
 
ciphertext - Variable in class hcrypto.analyzer.GaPopulation
 
ciphertext - Variable in class hcrypto.analyzer.GaIndividual
 
cleanString(String) - Static method in class hcrypto.analyzer.TextUtilities
This method removes punctuation and returns a space delimited string.
cleantext - Variable in class hcrypto.analyzer.GaPopulation
 
coincidenceIndex - Variable in class hcrypto.analyzer.TextStatistics
 
compareTo(Object) - Method in class hcrypto.analyzer.Token
Sorts in ascending order
compareTo(Object) - Method in class hcrypto.analyzer.FrequencyRecord
From the Comparable interface.
compareTo(Object) - Method in class hcrypto.analyzer.GaIndividual
From the Comparable interface.
compareTo(Object) - Method in class hcrypto.analyzer.Individual
From the Comparable interface.
compareTo(Object) - Method in class hcrypto.analyzer.PatternWord
 
computeBigramDistances(String) - Method in class hcrypto.analyzer.VigenereAnalyzer
 
computeFactors(int[], int) - Method in class hcrypto.analyzer.VigenereAnalyzer
 
computeSuperpositionAnalysis(String) - Method in class hcrypto.analyzer.VigenereAnalyzer
This method performs a superposition test.
contacts - Variable in class hcrypto.analyzer.VigenereAnalyzer
 
contains(String) - Method in class hcrypto.analyzer.PatternDictionary
 
contains(String) - Method in class hcrypto.analyzer.Dictionary
 
containsPattern(String) - Method in class hcrypto.analyzer.PatternDictionary
 
count - Variable in class hcrypto.analyzer.FrequencyRecord
 
count() - Method in class hcrypto.analyzer.FrequencyTable
Counts the characters in the text.
countTokens(String) - Static method in class hcrypto.analyzer.TextUtilities
countTokens() counts the tokens (words) in the text.
countWords(String) - Static method in class hcrypto.analyzer.TextUtilities
countWords() counts the number of words in the text by looking up each token in the current dictionary
countWordsForPattern(String) - Method in class hcrypto.analyzer.PatternDictionary
 
countWordsForPattern(String) - Static method in class hcrypto.analyzer.TextUtilities
countWordsForPattern() counts the number of words in the current dictionary that match the pattern
cross_rate - Variable in class hcrypto.analyzer.GaParameters
 
cross_rate - Variable in class hcrypto.analyzer.GaPopulation
 
CROSS_RATE - Static variable in class hcrypto.analyzer.GaPopulation
 
cross(GaIndividual) - Method in class hcrypto.analyzer.GaIndividual
This abstract method should be implemented in the subclass.
cross(GaIndividual) - Method in class hcrypto.analyzer.FreqGaIndividual
Implement a cross algorithm.
cross(GaIndividual) - Method in class hcrypto.analyzer.WordBasedGaIndividual
This version of cross swaps characters from each individual's list of characters used in the words found by each individual's key.
cross(Individual, Individual) - Static method in class hcrypto.analyzer.Individual
This version of cross swaps characters from each individual's list of characters used in the words found by each individual's key.
crypto - Variable in class hcrypto.analyzer.WordPairs
 
CryptogramAnalyzer - class hcrypto.analyzer.CryptogramAnalyzer.
 
CryptogramAnalyzer() - Constructor for class hcrypto.analyzer.CryptogramAnalyzer
 
CryptogramAnalyzer(TextStatistics) - Constructor for class hcrypto.analyzer.CryptogramAnalyzer
This constructor takes a reference to a TextStatistics object that stores frequency and other data about the text being analyzed.

D

DECIPHER_LIMIT - Static variable in interface hcrypto.analyzer.Analyzer
 
decodeShift(char, int) - Method in class hcrypto.cipher.BlockCipher
This method shifts a character in the alphabet ahead the specified number of characters in the alphabet.
decrypt - Variable in class hcrypto.analyzer.GaIndividual
 
decrypt() - Method in class hcrypto.analyzer.DigramAnalyzer
 
decrypt(String) - Method in class hcrypto.cipher.Cipher
decrypts its String parameter returning the plaintext string.
decryptFile(String, String) - Method in class hcrypto.cipher.Cipher
decrypts a ciphertext input file into an output file by simply calling the engineDecryptFile() method implemented in the ENGINE.
decryptFile(String, String, String) - Method in class hcrypto.cipher.Cipher
decrypts a ciphertext input file into an output file by simply calling the engineDecryptFile() method implemented in the ENGINE.
DEFAULT_KEY_DESCRIPTOR_PROMPT_STRING - Static variable in class hcrypto.engines.TranspositionKey
A keyword description.
DEFAULT_KEY_DESCRIPTOR_PROMPT_STRING - Static variable in class hcrypto.engines.SubstitutionKey
A prompt for the keyword
DEFAULT_KEY_DESCRIPTOR_PROMPT_STRING - Static variable in class hcrypto.engines.VigenereKey
A keyword description.
DEFAULT_KEY_DESCRIPTOR_PROMPT_STRING - Static variable in class hcrypto.engines.CaesarKey
A description for a Caesar Key.
DEFAULT_KEY_DESCRIPTOR_PROMPT_STRING - Static variable in class hcrypto.engines.AffineKey
A description for an Affine Key.
DEFAULT_KEY_DESCRIPTOR_PROMPT_STRING - Static variable in class hcrypto.engines.PlayfairKey
A keyword description.
DEFAULT_KEY_DESCRIPTOR_PROMPT_STRING - Static variable in class hcrypto.engines.RailFenceKey
A description for a RailFence Key.
DEFAULT_KEY_DESCRIPTOR_PROMPT_STRING - Static variable in class hcrypto.engines.PolySubstitutionKey
A keyword description.
DEFAULT_KEYWORD_STRING - Static variable in class hcrypto.engines.TranspositionKey
A default key.
DEFAULT_KEYWORD_STRING - Static variable in class hcrypto.engines.SubstitutionKey
A default keyword.
DEFAULT_KEYWORD_STRING - Static variable in class hcrypto.engines.VigenereKey
A default keyword.
DEFAULT_KEYWORD_STRING - Static variable in class hcrypto.engines.CaesarKey
A default key value.
DEFAULT_KEYWORD_STRING - Static variable in class hcrypto.engines.AffineKey
Default key values.
DEFAULT_KEYWORD_STRING - Static variable in class hcrypto.engines.PlayfairKey
A default keyword.
DEFAULT_KEYWORD_STRING - Static variable in class hcrypto.engines.RailFenceKey
A default key value.
DEFAULT_KEYWORD_STRING - Static variable in class hcrypto.engines.PolySubstitutionKey
A default keyword.
DefaultProvider - class hcrypto.provider.DefaultProvider.
This class represents the default provider for the Historical Cipher API.
DefaultProvider(String) - Constructor for class hcrypto.provider.DefaultProvider
The constructor sets the name of the provider and puts an entry into the main provider's internal lists for the engine and the key of each algorithm it implements.
DELIMITER - Static variable in class hcrypto.provider.Provider
The delimiter used to return a list of algorithm names.
Dictionary - class hcrypto.analyzer.Dictionary.
 
Dictionary() - Constructor for class hcrypto.analyzer.Dictionary
 
Dictionary(String, boolean) - Constructor for class hcrypto.analyzer.Dictionary
This constructor creates a dictionary from the named file.
digram_chars - Static variable in class hcrypto.analyzer.TextStatistics
 
digram_data - Static variable in class hcrypto.analyzer.TextStatistics
 
DigramAnalyzer - class hcrypto.analyzer.DigramAnalyzer.
 
DigramAnalyzer() - Constructor for class hcrypto.analyzer.DigramAnalyzer
 
DigramAnalyzer(TextStatistics) - Constructor for class hcrypto.analyzer.DigramAnalyzer
 
displ - Variable in class hcrypto.analyzer.KasiskiRecord
 
display - Variable in class hcrypto.analyzer.AnalyzerFrame
 
displayBest() - Method in class hcrypto.analyzer.FreqGaPopulation
 
displayBest() - Method in class hcrypto.analyzer.WordBasedGaPopulation
 
displayCrossData() - Method in class hcrypto.analyzer.GaIndividual
 
displayCrossData() - Method in class hcrypto.analyzer.FreqGaIndividual
 
displayCrossData() - Method in class hcrypto.analyzer.WordBasedGaIndividual
 
displaySummary() - Method in class hcrypto.analyzer.FreqGaPopulation
 
displaySummary() - Method in class hcrypto.analyzer.WordBasedGaPopulation
 
doAnalysis() - Method in class hcrypto.analyzer.AffineAnalyzer
This method prints an analysis of the text assuming a Affine (linear) cipher was used.
doAnalysis() - Method in class hcrypto.analyzer.VigenereAnalyzer
 
doAnalysis() - Method in class hcrypto.analyzer.CaesarAnalyzer
This method performs an analysis of the text assuming a Caesar (shift) cipher was used.
doAnalysis() - Method in class hcrypto.analyzer.DigramAnalyzer
This method performs an analysis of the text.
doAnalysis() - Method in class hcrypto.analyzer.CryptogramAnalyzer
This method performs an analysis of the text.

E

encodeShift(char, int) - Method in class hcrypto.cipher.BlockCipher
This method shifts a character in the alphabet ahead the specified number of characters in the alphabet.
encrypt(String) - Method in class hcrypto.cipher.Cipher
encrypts its String parameter returning the encrypted string.
encryptFile(String, String) - Method in class hcrypto.cipher.Cipher
encrypts a plaintext input file into an output file by simply calling the engineEncryptFile() method implemented in the ENGINE.
encryptFile(String, String, String) - Method in class hcrypto.cipher.Cipher
encrypts a plaintext input file into an output file by simply calling the engineEncryptFile() method implemented in the ENGINE.
engine - Variable in class hcrypto.cipher.Cipher
provides a reference to the class that implements the cipher algorithm
engineDecode(String) - Method in class hcrypto.cipher.BlockCipher
This abstract method must be implemented in the subclass to perform basic decrypting step for a given cipher algorithm.
engineDecode(String) - Method in class hcrypto.engines.PlayfairEngine
Returns an encoded String for the specified String.
engineDecode(String) - Method in class hcrypto.engines.AffineEngine
Returns an encoded String for the specified String.
engineDecode(String) - Method in class hcrypto.engines.PolySubstitutionEngine
Returns an decoded String for the specified encode String.
engineDecode(String) - Method in class hcrypto.engines.SubstitutionEngine
Returns an encoded String for the specified String.
engineDecode(String) - Method in class hcrypto.engines.VigenereEngine
Returns an decoded String for the specified String.
engineDecode(String) - Method in class hcrypto.engines.TranspositionEngine
Returns an encoded String for the specified String.
engineDecode(String) - Method in class hcrypto.engines.RailFenceEngine
DECODE This method takes ciphertext and places it into a 2 dimensional array, character by charcter.
engineDecode(String) - Method in class hcrypto.engines.CaesarEngine
Returns an encoded String for the specified String.
engineDecrypt(String) - Method in class hcrypto.cipher.CipherEngine
engineDecrypt() encrypts its String parameter returning the encrypted string.
engineDecrypt(String) - Method in class hcrypto.cipher.BlockCipher
This method decrypts a String, returning a String.
engineDecrypt(String) - Method in class hcrypto.engines.RailFenceEngine
 
engineDecryptFile(String, String) - Method in class hcrypto.cipher.CipherEngine
engineDecryptFile() decrypts a ciphertext input file into an output file.
engineDecryptFile(String, String) - Method in class hcrypto.cipher.BlockCipher
This method decrypts its input file storing the decrypted data in the output file.
engineDecryptFile(String, String, String) - Method in class hcrypto.cipher.CipherEngine
engineDecryptFile() decrypts a ciphertext input file into an output file.
engineDecryptFile(String, String, String) - Method in class hcrypto.cipher.BlockCipher
This method decrypts its input file storing the decrypted data in the output file.
engineEncode(String) - Method in class hcrypto.cipher.BlockCipher
This abstract method must be implemented in the subclass to perform basic encrypting step for a given cipher algorithm.
engineEncode(String) - Method in class hcrypto.engines.PlayfairEngine
Returns an encoded String for the specified String.
engineEncode(String) - Method in class hcrypto.engines.AffineEngine
Returns an encoded String for the specified String.
engineEncode(String) - Method in class hcrypto.engines.PolySubstitutionEngine
Returns an encoded String for the specified String.
engineEncode(String) - Method in class hcrypto.engines.SubstitutionEngine
Returns an encoded String for the specified String.
engineEncode(String) - Method in class hcrypto.engines.VigenereEngine
Returns an encoded String for the specified String.
engineEncode(String) - Method in class hcrypto.engines.TranspositionEngine
Returns an encoded String for the specified String.
engineEncode(String) - Method in class hcrypto.engines.RailFenceEngine
 
engineEncode(String) - Method in class hcrypto.engines.CaesarEngine
Returns an encoded String for the specified String.
engineEncrypt(String) - Method in class hcrypto.cipher.CipherEngine
engineEncrypt() encrypts its String parameter returning the encrypted string.
engineEncrypt(String) - Method in class hcrypto.cipher.BlockCipher
This method encrypts a String, returning a String.
engineEncrypt(String) - Method in class hcrypto.engines.RailFenceEngine
 
engineEncryptFile(String, String) - Method in class hcrypto.cipher.CipherEngine
engineEncryptFile() encrypts a plaintext input file into an output file.
engineEncryptFile(String, String) - Method in class hcrypto.cipher.BlockCipher
This method encrypts its input file storing the encrypted text in the output file.
engineEncryptFile(String, String, String) - Method in class hcrypto.cipher.CipherEngine
engineEncryptFile() encrypts a plaintext input file into an output file.
engineEncryptFile(String, String, String) - Method in class hcrypto.cipher.BlockCipher
This method encrypts its input file storing the encrypted text in the output file.
engineInit(HistoricalKey) - Method in class hcrypto.cipher.CipherEngine
engineInit() initializes the particular encrypting engine based on a key of the appropriate type.
engineInit(HistoricalKey) - Method in class hcrypto.cipher.BlockCipher
This abstract method must be implemented in the subclass to perform initializations required by a given cipher algorithm.
engineInit(HistoricalKey) - Method in class hcrypto.engines.PlayfairEngine
Initializes the PlayfairEngine with the specified hKey.
engineInit(HistoricalKey) - Method in class hcrypto.engines.AffineEngine
Initializes the AffineEngine with the specified hKey.
engineInit(HistoricalKey) - Method in class hcrypto.engines.PolySubstitutionEngine
Initializes the PolySubstitutionEngine with the specified hKey.
engineInit(HistoricalKey) - Method in class hcrypto.engines.SubstitutionEngine
Initializes the SubstitutionEngine with the specified hKey.
engineInit(HistoricalKey) - Method in class hcrypto.engines.VigenereEngine
Initializes the VigenereEngine with the specified hKey.
engineInit(HistoricalKey) - Method in class hcrypto.engines.TranspositionEngine
Initializes the TranspositionEngine with the specified hKey.
engineInit(HistoricalKey) - Method in class hcrypto.engines.RailFenceEngine
 
engineInit(HistoricalKey) - Method in class hcrypto.engines.CaesarEngine
Initializes the CaesarEngine with the specified hKey.
EnglishFacts - class hcrypto.analyzer.EnglishFacts.
 
EnglishFacts() - Constructor for class hcrypto.analyzer.EnglishFacts
 
englishFrequency - Static variable in class hcrypto.analyzer.TextStatistics
 
estimateKeyword(int) - Method in class hcrypto.analyzer.VigenereAnalyzer
To find the find the keyword we break the cryptogram into keyLen monoalphabetic cryptograms, each of which is obtained by a Caesar shift from the standard alphabet.
estimateKeywordLength(int[]) - Method in class hcrypto.analyzer.VigenereAnalyzer
 
evaluate(String, StringBuffer) - Static method in class hcrypto.analyzer.TextUtilities
countWords() counts the number of words in the text by looking up each token in the current dictionary.

F

filename - Variable in class hcrypto.analyzer.GaParameters
 
findCharPosition(char) - Method in class hcrypto.engines.PlayfairKey
Returns the position of the specified character.
FIRST_CHAR - Static variable in class hcrypto.analyzer.Histogram
 
fitness - Variable in class hcrypto.analyzer.GaIndividual
 
FreqGaAnalyzer - class analyzers.FreqGaAnalyzer.
 
FreqGaAnalyzer() - Constructor for class analyzers.FreqGaAnalyzer
FreqGaAnalyzer() -- Default constructor
FreqGaAnalyzer(GaParameters) - Constructor for class analyzers.FreqGaAnalyzer
FreqGaAnalyzer() -- this constructor is given an object containing parameter settings
FreqGaIndividual - class hcrypto.analyzer.FreqGaIndividual.
 
FreqGaIndividual(GaIndividual) - Constructor for class hcrypto.analyzer.FreqGaIndividual
Copy constructor
FreqGaIndividual(String, String) - Constructor for class hcrypto.analyzer.FreqGaIndividual
This constructor takes an initial distribution for the key as a parameter.
FreqGaPopulation - class hcrypto.analyzer.FreqGaPopulation.
 
FreqGaPopulation(String, GaParameters) - Constructor for class hcrypto.analyzer.FreqGaPopulation
FreqGaPopulation() constructor
FrequencyRecord - class hcrypto.analyzer.FrequencyRecord.
 
FrequencyRecord(char, int) - Constructor for class hcrypto.analyzer.FrequencyRecord
 
FrequencyRecord(FrequencyRecord) - Constructor for class hcrypto.analyzer.FrequencyRecord
The copy constructor
FrequencyTable - class hcrypto.analyzer.FrequencyTable.
 
FrequencyTable(String) - Constructor for class hcrypto.analyzer.FrequencyTable
 
FrequencyTable(String, int) - Constructor for class hcrypto.analyzer.FrequencyTable
 

G

GaAnalyzer - class analyzers.GaAnalyzer.
 
GaAnalyzer() - Constructor for class analyzers.GaAnalyzer
GaAnalyzer() -- Default constructor
GaAnalyzer(GaParameters) - Constructor for class analyzers.GaAnalyzer
GaAnalyzer() -- this constructor is given an object containing parameter settings
GaIndividual - class hcrypto.analyzer.GaIndividual.
 
GaIndividual(GaIndividual) - Constructor for class hcrypto.analyzer.GaIndividual
Copy constructor
GaIndividual(String, String) - Constructor for class hcrypto.analyzer.GaIndividual
This constructor takes an initial distribution for the key as a parameter.
GaParameters - class hcrypto.analyzer.GaParameters.
 
GaParameters() - Constructor for class hcrypto.analyzer.GaParameters
 
GaParameters(String) - Constructor for class hcrypto.analyzer.GaParameters
 
GaPopulation - class hcrypto.analyzer.GaPopulation.
 
GaPopulation(String, GaParameters) - Constructor for class hcrypto.analyzer.GaPopulation
GaPopulation() constructor
gaSetup() - Method in class analyzers.GaAnalyzer
This method should create a population for the specific type of GaAnalyzer.
gaSetup() - Method in class analyzers.WordBasedGaAnalyzer
gaSetup() implements the abstract gaSetup() method, inherited from the GaAnalyzer class by creating a WordBasedGAPopulation object.
gaSetup() - Method in class analyzers.FreqGaAnalyzer
gaSetup() implements the abstract gaSetup() method, inherited from the GaAnalyzer class by creating a FreqGAPopulation object.
generations - Variable in class hcrypto.analyzer.GaParameters
 
getAlgorithm() - Method in class hcrypto.cipher.Cipher
returns a string giving the name of the cipher algorithm.
getAlgorithm() - Method in class hcrypto.cipher.HistoricalKey
This abstract method should be implemented in the algorithm-specific subclass.
getAlgorithm() - Method in class hcrypto.engines.TranspositionKey
Returns the name of the algorithm "Transposition".
getAlgorithm() - Method in class hcrypto.engines.SubstitutionKey
Returns the algorithm name "Substitution".
getAlgorithm() - Method in class hcrypto.engines.VigenereKey
Returns the name of the algorithm "Vigenere".
getAlgorithm() - Method in class hcrypto.engines.CaesarKey
Returns the algorithm name "Caesar".
getAlgorithm() - Method in class hcrypto.engines.AffineKey
Returns the algorithm name "Affine".
getAlgorithm() - Method in class hcrypto.engines.PlayfairKey
Returns the algorithm name "Playfair".
getAlgorithm() - Method in class hcrypto.engines.RailFenceKey
Returns the name of the algorithm "RailFence".
getAlgorithm() - Method in class hcrypto.engines.PolySubstitutionKey
Returns the algorithm name "PolySubstitution".
getAlphabet() - Method in class hcrypto.cipher.HistoricalKey
Returns a reference to this key's alphabet.
getAlphabeticsCount() - Method in class hcrypto.analyzer.FrequencyTable
Returns a count of just alphabetic characters
getAlphabetRangeOptions() - Method in class hcrypto.cipher.CipherEngine
 
getAlphabetRangeOptions() - Method in class hcrypto.cipher.Cipher
returns a string giving the alphabet range options for a particular cipher.
getBlocksize() - Method in class hcrypto.cipher.HistoricalKey
Returns this cipher's blocksize.
getChar(int) - Method in class hcrypto.engines.PlayfairKey
Returns the character at the specified index.
getChar(int, int) - Method in class hcrypto.engines.PlayfairKey
Returns the character at the specified row and column.
getCharCount() - Method in class hcrypto.analyzer.TextStatistics
returns the total number of characters in the text
getCharCount() - Method in class hcrypto.analyzer.FrequencyTable
Returns a count of all characters.
getChiSquare(String) - Method in class hcrypto.analyzer.AffineAnalyzer
 
getCiphAlphabet() - Method in class hcrypto.cipher.HistoricalKey
Returns the cipher alphabet.
getCipherEngine(String) - Method in class hcrypto.provider.Provider
Searches the main provider's internal lists for an instance of a provider that implements the desired algorithm.
getCipherEngine(String, String) - Method in class hcrypto.provider.Provider
Searches the main provider's internal lists for an instance of the provider named in the second parameter that implements the desired algorithm.
getCipherKeyName(String) - Method in class hcrypto.provider.Provider
Searches the main provider's internal lists for an instance of a provider that implements the desired key.
getCipherKeyName(String, String) - Method in class hcrypto.provider.Provider
Searches the main provider's internal lists for an instance of the provider named in the second parameter that implements the desired algorithm.
getCipherNames() - Static method in class hcrypto.provider.Provider
Returns a comma-delimited string of the names of the cipher algorithms.
getCodingAlphabet() - Method in class hcrypto.engines.PolySubstitutionKey
Returns the plaintext alphabet.
getCoincidenceIndex() - Method in class hcrypto.analyzer.TextStatistics
 
getColIndex(int) - Method in class hcrypto.engines.PlayfairKey
Returns the column index for the specified index.
getCount(int) - Method in class hcrypto.analyzer.FrequencyTable
Returns the count for a specific character
getCryptogramFrequencies() - Method in class hcrypto.analyzer.FrequencyTable
 
getCTAlphabet() - Method in class hcrypto.cipher.HistoricalKey
Returns a reference to this key's cipherAlphabet.
getDecodingAlphabet() - Method in class hcrypto.engines.PolySubstitutionKey
Returns the decoding alphabet.
getDesc(int) - Static method in class hcrypto.cipher.AlphabetFactory
Returns a String description that specifies the range of the alphabet
getDictionary() - Static method in class hcrypto.analyzer.TextUtilities
This method returns the English frequency of a given character.
getEnglishFrequency(char) - Static method in class hcrypto.analyzer.TextStatistics
Static Utility Methods Used by Analyzers
getFitness() - Method in class hcrypto.analyzer.GaIndividual
 
getFitness() - Method in class hcrypto.analyzer.Individual
 
getFittest(int) - Method in class hcrypto.analyzer.GaPopulation
 
getFittest(int) - Method in class hcrypto.analyzer.FreqGaPopulation
 
getFittest(int) - Method in class hcrypto.analyzer.WordBasedGaPopulation
 
getFrequencies() - Method in class hcrypto.analyzer.FrequencyTable
returns the frequencies as an array
getFrequency() - Method in class hcrypto.analyzer.PatternWord
 
getFrequency(char) - Method in class hcrypto.analyzer.TextStatistics
returns the frequency of its char parameter
getFrequency(String) - Method in class hcrypto.analyzer.PatternDictionary
 
getFrequencyReport() - Method in class hcrypto.analyzer.TextStatistics
returns a 2-D table of frequencies
getFrequencyTable() - Method in class hcrypto.analyzer.TextStatistics
 
getHighestFreq() - Method in class hcrypto.analyzer.FrequencyTable
returns the highest frequency character
getHistogramData() - Method in class hcrypto.analyzer.FrequencyTable
Constructs an array of int out of the frequency tables
getIndexOfMinimum(double[]) - Static method in class hcrypto.analyzer.TextStatistics
 
getInstance(char[]) - Static method in class hcrypto.cipher.AlphabetFactory
Returns an Alphabet instance, constructed from an array subranges specified by their 16-bit Unicodes.
getInstance(Character.UnicodeBlock[]) - Static method in class hcrypto.cipher.AlphabetFactory
Returns an Alphabet instance, constructed from an array of Unicode blocks
getInstance(int) - Static method in class hcrypto.cipher.AlphabetFactory
Returns an Alphabet instance, constructed from a range identifier
getInstance(String) - Static method in class hcrypto.cipher.AlphabetFactory
This factory method returns an alphabet constructed from a string that describes the Unicode ranges that make up the alphabet.
getInstance(String) - Static method in class hcrypto.cipher.Cipher
searches for a provider that provides an implementation of the algorithm named in its parameter, throwing a "no such algorithm" exception if none is found.
getInstance(String, String) - Static method in class hcrypto.cipher.Cipher
searches for the provider named in the second parameter for an implementation of the algorithm named in its first parameter.
getInstance(String, String) - Static method in class hcrypto.cipher.HistoricalKey
searches for the provider named in the second parameter for an implementation of the algorithm named in its first parameter.
getInvertedKeyword() - Method in class hcrypto.engines.TranspositionKey
Returns the inverted keyword.
getIOC() - Method in class hcrypto.analyzer.IndexOfCoincidence
 
getKey() - Method in class hcrypto.analyzer.GaIndividual
 
getKey() - Method in class hcrypto.analyzer.Individual
public String mapKey(String key) { String knownEnglishDist = "etaoinshrdlucmwfgypbvkjxqz"; StringBuffer sb = new StringBuffer(); // System.out.println("key = " + key.toString()); for (char ch = 'a'; ch <= 'z'; ch++) sb.append(key.charAt(knownEnglishDist.indexOf(ch))); return sb.toString(); }
getKeyA() - Method in class hcrypto.engines.AffineKey
Returns the keyA value for the Affine function.
getKeyB() - Method in class hcrypto.engines.AffineKey
Returns the keyB value for the Affine function.
getKeyDescriptorPrompt() - Method in class hcrypto.cipher.HistoricalKey
Returns an interface prompt describing the key
getKeyword() - Method in class hcrypto.cipher.HistoricalKey
Returns the keyword for this key.
getKHighestFreqChar(int) - Method in class hcrypto.analyzer.TextStatistics
returns the the kth highest frequency character
getKHighestFreqChar(int) - Method in class hcrypto.analyzer.FrequencyTable
returns the the kth highest frequency character
getLeftColIndex(int) - Method in class hcrypto.engines.PlayfairKey
Returns the left column index for the specified index.
getName() - Method in class hcrypto.provider.Provider
Returns the name of this provider object.
getOptimalShift() - Method in class hcrypto.analyzer.CaesarAnalyzer
This method performs a Chi-Square test to find the optimal shift.
getOptimalShift(int, int) - Method in class hcrypto.analyzer.VigenereAnalyzer
This method performs a Chi-Square test to find the optimal Caesar shift on a polyalphabetic text.
getOptimalShift(int, int) - Method in class hcrypto.analyzer.CaesarAnalyzer
This method performs a Chi-Square test to find the optimal Caesar shift on a polyalphabetic text.
getPadding(int) - Method in class hcrypto.cipher.Alphabet
Returns a String of n characters of padding each equal to the n-th character in the alphabet counting from 0.
getPattern() - Method in class hcrypto.analyzer.Token
 
getPattern() - Method in class hcrypto.analyzer.PatternWord
 
getPatternDictionary() - Static method in class hcrypto.analyzer.TextUtilities
 
getPatternSet() - Method in class hcrypto.analyzer.Token
 
getPatternWordArray(String) - Method in class hcrypto.analyzer.PatternDictionary
 
getPlainAlphabet() - Method in class hcrypto.cipher.HistoricalKey
Returns the plaintext alphabet.
getProvider() - Method in class hcrypto.cipher.Cipher
returns a string giving the name of the provider that implements the cipher algorithm.
getRangeDesc() - Method in class hcrypto.cipher.Alphabet
returns a descriptor that specifies the range of this alphabet
getRangeHigh(Character.UnicodeBlock) - Static method in class hcrypto.cipher.UnicodeRanges
 
getRangeHigh(String) - Static method in class hcrypto.cipher.AlphabetFactory
 
getRangeHigh(String) - Static method in class hcrypto.cipher.UnicodeRanges
Returns the last character in the range described by its parameter.
getRangeId() - Method in class hcrypto.cipher.Alphabet
returns the rangeId
getRangeId(String) - Static method in class hcrypto.cipher.AlphabetFactory
Returns the int ID for a given valid alphabet String descriptor and returns -1 for an invalid descriptor.
getRangeLow(Character.UnicodeBlock) - Static method in class hcrypto.cipher.UnicodeRanges
 
getRangeLow(String) - Static method in class hcrypto.cipher.AlphabetFactory
 
getRangeLow(String) - Static method in class hcrypto.cipher.UnicodeRanges
Returns the first character in the range described by its parameter.
getRanges(Character.UnicodeBlock[]) - Static method in class hcrypto.cipher.AlphabetFactory
Returns a character array of starting and ending char values for each of the Unicode ranges contained in its parameter.
getRanges(int) - Static method in class hcrypto.cipher.AlphabetFactory
 
getRanges(String) - Static method in class hcrypto.cipher.AlphabetFactory
Returns a character array of starting and ending char values for each of the Unicode ranges included in this alphabet.
getReport() - Method in class hcrypto.analyzer.AffineAnalyzer
 
getReport() - Method in class hcrypto.analyzer.VigenereAnalyzer
 
getReport() - Method in class hcrypto.analyzer.IndexOfCoincidence
 
getReport() - Method in class hcrypto.analyzer.CaesarAnalyzer
 
getReport() - Method in class hcrypto.analyzer.PatternWordSearcher
getResult() is part of Analyzer interface.
getReport() - Method in class hcrypto.analyzer.TextStatistics
 
getReport() - Method in class hcrypto.analyzer.DigramAnalyzer
This method is part of the Analyzer interface.
getReport() - Method in class hcrypto.analyzer.TextAnalyzer
getReport() is part of Analyzer interface.
getReport() - Method in class hcrypto.analyzer.EnglishFacts
getResult() is part of Analyzer interface.
getReport() - Method in class hcrypto.analyzer.CryptogramAnalyzer
This method is part of the Analyzer interface.
getReport() - Method in class hcrypto.analyzer.FrequencyTable
 
getReport() - Method in interface hcrypto.analyzer.Analyzer
 
getReport() - Method in class analyzers.GaAnalyzer
Part of Analyzer interface.
getReport() - Method in class analyzers.NullAnalyzer
 
getReport() - Method in class analyzers.TestAnalyzer
getResult() is part of Analyzer interface.
getRightColIndex(int) - Method in class hcrypto.engines.PlayfairKey
Returns the right column index for the specified index.
getRowAboveIndex(int) - Method in class hcrypto.engines.PlayfairKey
Returns the row above the index for the specified index.
getRowBelowIndex(int) - Method in class hcrypto.engines.PlayfairKey
Returns the row below the index for the specified index.
getRowIndex(int) - Method in class hcrypto.engines.PlayfairKey
Returns the row index for the specified index.
getScore() - Method in class hcrypto.analyzer.Token
 
getScore() - Method in class hcrypto.analyzer.PatternWord
 
getShift() - Method in class hcrypto.engines.CaesarKey
Returns shift value.
getSize() - Method in class hcrypto.cipher.Alphabet
returns the number of characters in this alphabet.
getSortedCryptogramFrequencies() - Method in class hcrypto.analyzer.FrequencyTable
 
getToken() - Method in class hcrypto.analyzer.Token
 
getUnusedLetters(String) - Static method in class hcrypto.analyzer.TextUtilities
 
getWord() - Method in class hcrypto.analyzer.PatternWord
 
getWordList(String) - Method in class hcrypto.analyzer.PatternDictionary
 

H

hcrypto.analyzer - package hcrypto.analyzer
 
hcrypto.cipher - package hcrypto.cipher
 
hcrypto.engines - package hcrypto.engines
 
hcrypto.provider - package hcrypto.provider
 
HEIGHT - Static variable in class hcrypto.analyzer.AnalyzerFrame
 
HEIGHT - Static variable in class hcrypto.analyzer.Histogram
 
Histogram - class hcrypto.analyzer.Histogram.
 
Histogram(FrequencyTable) - Constructor for class hcrypto.analyzer.Histogram
 
HistoricalKey - class hcrypto.cipher.HistoricalKey.
This abstract class provides a partial implementation of the HistoricalKey interface by providing default implementations of the getKeyword(), getAlphabet(), and getBlocksize() methods.
HistoricalKey() - Constructor for class hcrypto.cipher.HistoricalKey
 

I

IndexOfCoincidence - class hcrypto.analyzer.IndexOfCoincidence.
 
IndexOfCoincidence() - Constructor for class hcrypto.analyzer.IndexOfCoincidence
 
IndexOfCoincidence(String) - Constructor for class hcrypto.analyzer.IndexOfCoincidence
 
individual - Variable in class hcrypto.analyzer.GaPopulation
 
Individual - class hcrypto.analyzer.Individual.
 
Individual(Individual) - Constructor for class hcrypto.analyzer.Individual
Copy constructor
Individual(String, String) - Constructor for class hcrypto.analyzer.Individual
This constructor takes an initial distribution for the key as a parameter.
init() - Method in class hcrypto.analyzer.GaPopulation
This method initializes the analyzer for the particular type of population.
init() - Method in class hcrypto.analyzer.FreqGaPopulation
This method initializes the analyzer.
init() - Method in class hcrypto.analyzer.WordBasedGaPopulation
This method initializes the analyzer.
init(HistoricalKey) - Method in class hcrypto.cipher.Cipher
initializes the particular encrypting engine by calling the encapsulated CipherEngine and passing it a key of the appropriate type.
init(String) - Method in class hcrypto.cipher.HistoricalKey
This abstract method should be implemented in the algorithm-specific subclass.
init(String) - Method in class hcrypto.engines.TranspositionKey
Initializes the TranspositionKey with the specified keyspec.
init(String) - Method in class hcrypto.engines.SubstitutionKey
Creates a SubstitutionKey with the specified keyspec.
init(String) - Method in class hcrypto.engines.VigenereKey
Initializes the VigenereKey with the specified keyspec.
init(String) - Method in class hcrypto.engines.CaesarKey
Initializes the CaesarKey with the specified keyspec (which takes the form "4/az" or "4/az/AZ" for example).
init(String) - Method in class hcrypto.engines.AffineKey
Creates an AffineKey with the specified keyspec.
init(String) - Method in class hcrypto.engines.PlayfairKey
Initializes the PlayfairKey with the specified keyspec.
init(String) - Method in class hcrypto.engines.RailFenceKey
Creates a RailFenceKey with the specified keyspec.
init(String) - Method in class hcrypto.engines.PolySubstitutionKey
Creates a PolySubstitutionKey with the specified keyspec.
initAlphabets() - Method in class hcrypto.cipher.HistoricalKey
This method constructs char arrays consisting of the characters in the plaintext and ciphertext alphabets.
initAlphabets() - Method in class hcrypto.engines.PolySubstitutionKey
PRIVATE UTILITY METHODS
initKey(String, boolean) - Method in class hcrypto.cipher.HistoricalKey
Initializes the keyspec, keyword and alphabet instance variables given a specification of the form keydata/plainspec/cipherspec.
insertBigram(char, char, int) - Method in class hcrypto.analyzer.VigenereAnalyzer
This method inserts a bigram into a table of repeated bigrams where ch1 is the first character of the bigram, ch2 is the second character, and displ is the displacement from the previous occurrence of this bigram.
intToChar(int) - Method in class hcrypto.cipher.Alphabet
Returns the character in the alphabet which has the position of the parameter n.
IS_VERBOSE - Static variable in class hcrypto.analyzer.GaPopulation
 
isAWord(String) - Static method in class hcrypto.analyzer.TextUtilities
 
isInAlphabet(char) - Method in class hcrypto.cipher.Alphabet
returns true iff its char parameter gives a character contained in this alphabet's characters set.
isValidAlphabetSpec(String) - Static method in class hcrypto.cipher.AlphabetFactory
Returns true iff its String parameter represents a valid alphabet ID.
itemStateChanged(ItemEvent) - Method in class hcrypto.analyzer.TextAnalyzer
 

K

KAPPA_P - Static variable in class hcrypto.analyzer.TextStatistics
 
KAPPA_R - Static variable in class hcrypto.analyzer.TextStatistics
 
kasiskiFactors - Variable in class hcrypto.analyzer.VigenereAnalyzer
 
KasiskiRecord - class hcrypto.analyzer.KasiskiRecord.
 
KasiskiRecord(String, int) - Constructor for class hcrypto.analyzer.KasiskiRecord
 
key - Variable in class hcrypto.analyzer.GaIndividual
 
keyDescriptorPrompt - Variable in class hcrypto.cipher.HistoricalKey
Stores a prompt that can be used by the interface to describes the type of key that would be used for a particular cipher.
keyspec - Variable in class hcrypto.cipher.HistoricalKey
A keyspec takes the form keydata/plainalphabetspec/cipheralphabetspec, where plainalphabetspec is a sepcification for the plaintext alphabet, and cipheralphabetspec is a specification for the ciphertext alphabet.
keyTable - Variable in class hcrypto.provider.Provider
 
keyword - Variable in class hcrypto.cipher.HistoricalKey
Many historical ciphers use a keyword as part (or all) of the key.
keywordLengthEstKasiski - Variable in class hcrypto.analyzer.VigenereAnalyzer
 
keywordLengthEstStat - Variable in class hcrypto.analyzer.VigenereAnalyzer
 
KUCERA_100 - Static variable in class hcrypto.analyzer.PatternDictionary
 
KUCERA_340 - Static variable in class hcrypto.analyzer.PatternDictionary
 
KUCERA_3500 - Static variable in class hcrypto.analyzer.PatternDictionary
 
KUCERA_50 - Static variable in class hcrypto.analyzer.PatternDictionary
 
Kucera100 - class hcrypto.analyzer.Kucera100.
 
Kucera100() - Constructor for class hcrypto.analyzer.Kucera100
 
Kucera340 - class hcrypto.analyzer.Kucera340.
 
Kucera340() - Constructor for class hcrypto.analyzer.Kucera340
 
Kucera3500 - class hcrypto.analyzer.Kucera3500.
 
Kucera3500() - Constructor for class hcrypto.analyzer.Kucera3500
 
Kucera50 - class hcrypto.analyzer.Kucera50.
 
Kucera50() - Constructor for class hcrypto.analyzer.Kucera50
 

M

main(String[]) - Static method in class hcrypto.cipher.UnicodeRanges
 
main(String[]) - Static method in class hcrypto.cipher.Alphabet
 
main(String[]) - Static method in class hcrypto.analyzer.PatternDictionary
 
main(String[]) - Static method in class hcrypto.analyzer.Dictionary
 
makePattern(String) - Static method in class hcrypto.analyzer.TextUtilities
This method returns a pattern of the string.
makePattern(String) - Static method in class hcrypto.analyzer.PatternWord
This method returns a pattern of the string.
MAX_ALPH_NUM - Static variable in class hcrypto.cipher.AlphabetFactory
The Alphabets are are numbered 0 through MAX_ALPH_NUM.
MAX_BIGRAMS - Static variable in class hcrypto.analyzer.VigenereAnalyzer
 
MAX_CHARS - Static variable in class hcrypto.cipher.AlphabetFactory
 
MAX_CHARS - Static variable in class hcrypto.analyzer.FrequencyTable
 
MAX_CONTACT - Static variable in class hcrypto.analyzer.VigenereAnalyzer
 
MAX_FACTORS - Static variable in class hcrypto.analyzer.VigenereAnalyzer
 
MAX_GENERATIONS - Static variable in class hcrypto.analyzer.GaPopulation
 
MAX_KEYWORD - Static variable in class hcrypto.analyzer.VigenereAnalyzer
 
maxtrials - Variable in class hcrypto.analyzer.GaPopulation
 
mouseDragged(MouseEvent) - Method in class hcrypto.analyzer.Histogram
 
mouseMoved(int, int) - Method in class hcrypto.analyzer.Histogram
 
mouseMoved(MouseEvent) - Method in class hcrypto.analyzer.Histogram
 
mutate_rate - Variable in class hcrypto.analyzer.GaParameters
 
mutate_rate - Variable in class hcrypto.analyzer.GaPopulation
 
MUTATE_RATE - Static variable in class hcrypto.analyzer.GaPopulation
 
mutate(double) - Method in class hcrypto.analyzer.GaIndividual
This method should be implemented in the subclass.
mutate(double) - Method in class hcrypto.analyzer.FreqGaIndividual
This version of mutate swaps two random characters in the key.
mutate(double) - Method in class hcrypto.analyzer.WordBasedGaIndividual
This version of mutate swaps two random characters in the key.
mutate(double) - Method in class hcrypto.analyzer.Individual
This version of mutate swaps two random characters in the key.
mutateUnused(double) - Method in class hcrypto.analyzer.WordBasedGaIndividual
This version of mutate swaps two unused characters in the key.
mutateUnused(double) - Method in class hcrypto.analyzer.Individual
This version of mutate swaps two random characters in the key.

N

N_SHUFFLES - Static variable in class hcrypto.analyzer.FreqGaPopulation
 
name - Variable in class hcrypto.provider.Provider
Stores the name of the provider.
nBins - Static variable in class hcrypto.analyzer.TextAnalyzer
 
NO_CHANGE_LIMIT - Static variable in class hcrypto.analyzer.FreqGaPopulation
 
nRepeatedBigrams - Variable in class hcrypto.analyzer.VigenereAnalyzer
 
nSuperDisplacements - Variable in class hcrypto.analyzer.VigenereAnalyzer
 
NullAnalyzer - class analyzers.NullAnalyzer.
 
NullAnalyzer() - Constructor for class analyzers.NullAnalyzer
 
nWords() - Method in class hcrypto.analyzer.PatternDictionary
 

P

paint(Graphics) - Method in class hcrypto.analyzer.Histogram
 
param_string - Variable in class hcrypto.analyzer.GaParameters
 
params - Variable in class hcrypto.analyzer.GaPopulation
 
params - Variable in class analyzers.GaAnalyzer
 
PatternDictionary - class hcrypto.analyzer.PatternDictionary.
 
PatternDictionary() - Constructor for class hcrypto.analyzer.PatternDictionary
 
PatternDictionary(int) - Constructor for class hcrypto.analyzer.PatternDictionary
 
PatternDictionary(String) - Constructor for class hcrypto.analyzer.PatternDictionary
This constructor creates a dictionary from the named file.
PatternWord - class hcrypto.analyzer.PatternWord.
 
PatternWord(String, double) - Constructor for class hcrypto.analyzer.PatternWord
 
PatternWordSearcher - class hcrypto.analyzer.PatternWordSearcher.
 
PatternWordSearcher() - Constructor for class hcrypto.analyzer.PatternWordSearcher
 
plain - Variable in class hcrypto.analyzer.WordPairs
 
plainAlphabet - Variable in class hcrypto.cipher.HistoricalKey
The plaintext alphabet represented as a contiguous array of char.
PlayfairEngine - class hcrypto.engines.PlayfairEngine.
This class implements the Playfair encryption algorithm.
PlayfairEngine() - Constructor for class hcrypto.engines.PlayfairEngine
Creates a PlayfairEngine and sets the alphabetRangeOptions instance variable to "100000", which translates to the "az" alphabet option only for both plaintext and ciphertext.
PlayfairKey - class hcrypto.engines.PlayfairKey.
This class represents a key for a Playfair cipher.
PlayfairKey() - Constructor for class hcrypto.engines.PlayfairKey
 
PolySubstitutionEngine - class hcrypto.engines.PolySubstitutionEngine.
This class implements a PolySubstitution cipher algorithm (which many authors call a Homophonic Substitution cipher).
PolySubstitutionEngine() - Constructor for class hcrypto.engines.PolySubstitutionEngine
Creates a PolySubstitutionEngine and sets the alphabetRangeOptions instance variable to "111111", which translates to all six alphabet options.
PolySubstitutionKey - class hcrypto.engines.PolySubstitutionKey.
This class represents a key for a PolySubstitution cipher (which many authors call a Homophonic Substitution).
PolySubstitutionKey() - Constructor for class hcrypto.engines.PolySubstitutionKey
 
population - Variable in class analyzers.GaAnalyzer
 
POPULATION_SIZE - Static variable in class hcrypto.analyzer.GaPopulation
 
print() - Method in class hcrypto.analyzer.TextStatistics
 
print() - Method in class hcrypto.analyzer.FrequencyTable
 
printAlphabets() - Method in class hcrypto.cipher.HistoricalKey
Prints both the cipher and plain alphabets to the System console.
printAlphabets() - Method in class hcrypto.engines.PolySubstitutionKey
Prints both the cipher and plain alphabets to the System console.
printKeySquare() - Method in class hcrypto.engines.PlayfairKey
Prints the playfair key to the System console.
provider - Variable in class hcrypto.cipher.Cipher
the name of the provider of this algorithm
Provider - class hcrypto.provider.Provider.
This class represents a provider for the Historical Cipher API.
Provider() - Constructor for class hcrypto.provider.Provider
default constructor.
Provider(String) - Constructor for class hcrypto.provider.Provider
 
put(String, String, String) - Method in class hcrypto.provider.Provider
Inserts the names of the engineClass and keyClass into the appropriate tables thereby associating them with the named cipher.

R

RailFenceEngine - class hcrypto.engines.RailFenceEngine.
 
RailFenceEngine() - Constructor for class hcrypto.engines.RailFenceEngine
Creates a RailFenceEngine and sets the alphabetRangeOptions instance variable to "111111", which translates to all six alphabet options for both the plaintext and ciphertext alphabets.
RailFenceKey - class hcrypto.engines.RailFenceKey.
 
RailFenceKey() - Constructor for class hcrypto.engines.RailFenceKey
 
RamProvider - class hcrypto.provider.RamProvider.
This class provides an example of programmer-defined Provider.
RamProvider(String) - Constructor for class hcrypto.provider.RamProvider
 
rangeId - Variable in class hcrypto.cipher.Alphabet
A unique identifier that represents the characters that make up the character set for a particular key.
redraw() - Method in class hcrypto.analyzer.Histogram
 
removeDuplicateChars(String) - Static method in class hcrypto.cipher.HistoricalKey
A utility method to remove duplicate characters from a string.
removeDuplicates(String) - Static method in class hcrypto.analyzer.TextStatistics
 
removeDuplicates(String) - Static method in class hcrypto.analyzer.TextUtilities
removeDuplicates() removes duplicate tokens from a string
removeNonAlphabetics(String, Alphabet) - Static method in class hcrypto.analyzer.TextStatistics
This method removes all characters not in the alphabet from the string.
removeNonAlphabetics(String, Alphabet) - Static method in class hcrypto.analyzer.TextUtilities
This method removes all characters not in the alphabet from the string.
removePadding(String, int) - Method in class hcrypto.cipher.Alphabet
removes the padding characters from its string parameter assumed to have been decrypted so that the characters at the end were added while encrypting.
removeWhiteSpace(String) - Static method in class hcrypto.analyzer.TextUtilities
This method removes the whitespace from a String.
resultSB - Variable in class analyzers.GaAnalyzer
 
retrieveBigram(int) - Method in class hcrypto.analyzer.VigenereAnalyzer
This method retieves the kth bigram from the table of repeated bigrams.
run() - Method in class hcrypto.analyzer.AffineAnalyzer
 
run() - Method in class hcrypto.analyzer.GaPopulation
The generic GA run method.
run() - Method in class hcrypto.analyzer.FreqGaPopulation
This method implements the abstract run() method inherited from GaPopulation.
run() - Method in class hcrypto.analyzer.WordBasedGaPopulation
This method implements the abstract run() method inherited from GaPopulation.
run() - Method in class hcrypto.analyzer.VigenereAnalyzer
 
run() - Method in class hcrypto.analyzer.IndexOfCoincidence
 
run() - Method in class hcrypto.analyzer.CaesarAnalyzer
 
run() - Method in class hcrypto.analyzer.PatternWordSearcher
run() is part of Analyzer interface.
run() - Method in class hcrypto.analyzer.TextStatistics
 
run() - Method in class hcrypto.analyzer.DigramAnalyzer
This method is part of the Analyzer interface.
run() - Method in class hcrypto.analyzer.TextAnalyzer
run() is part of Analyzer interface.
run() - Method in class hcrypto.analyzer.EnglishFacts
run() is part of Analyzer interface.
run() - Method in class hcrypto.analyzer.CryptogramAnalyzer
This method is part of the Analyzer interface.
run() - Method in class hcrypto.analyzer.FrequencyTable
Everything is done in setup.
run() - Method in interface hcrypto.analyzer.Analyzer
 
run() - Method in class analyzers.GaAnalyzer
Part of Analyzer interface.
run() - Method in class analyzers.NullAnalyzer
 
run() - Method in class analyzers.TestAnalyzer
run() is part of Analyzer interface.
runGa() - Method in class analyzers.GaAnalyzer
Default implementation.

S

setAlphabetRange(int) - Method in class hcrypto.analyzer.FrequencyTable
Sets alphabetRange to an ASCII subset.
setup(String) - Method in class hcrypto.analyzer.AffineAnalyzer
 
setup(String) - Method in class hcrypto.analyzer.VigenereAnalyzer
 
setup(String) - Method in class hcrypto.analyzer.IndexOfCoincidence
 
setup(String) - Method in class hcrypto.analyzer.CaesarAnalyzer
 
setup(String) - Method in class hcrypto.analyzer.PatternWordSearcher
setup() is part of Analyzer interface.
setup(String) - Method in class hcrypto.analyzer.TextStatistics
Part of Analyzer interface
setup(String) - Method in class hcrypto.analyzer.DigramAnalyzer
This method initializes the Analyzer.
setup(String) - Method in class hcrypto.analyzer.TextAnalyzer
setup() is part of Analyzer interface.
setup(String) - Method in class hcrypto.analyzer.EnglishFacts
setup() is part of Analyzer interface.
setup(String) - Method in class hcrypto.analyzer.CryptogramAnalyzer
This method initializes the Analyzer.
setup(String) - Method in class hcrypto.analyzer.FrequencyTable
From the Analyzer interface.
setup(String) - Method in interface hcrypto.analyzer.Analyzer
 
setup(String) - Method in class analyzers.GaAnalyzer
setup() initializes the text and the result string.
setup(String) - Method in class analyzers.NullAnalyzer
 
setup(String) - Method in class analyzers.TestAnalyzer
setup() is part of Analyzer interface.
size - Variable in class hcrypto.analyzer.GaParameters
 
size - Variable in class hcrypto.analyzer.GaPopulation
 
size() - Method in class hcrypto.analyzer.PatternDictionary
 
size() - Method in class hcrypto.analyzer.Dictionary
 
sKey - Variable in class hcrypto.analyzer.GaIndividual
 
sort() - Method in class hcrypto.analyzer.FrequencyTable
Uses the java.util.Arrays sort method to sort the frquencies and stores the results in sortedFrequencies.
spiTable - Variable in class hcrypto.provider.Provider
 
SubstitutionEngine - class hcrypto.engines.SubstitutionEngine.
This class implements a keyword-based Substitution cipher algorithm for any range of alphabets, including az, AZ, azAZ, azAZ09, printable characters, all ASCII, and any of the Unicode character sets.
SubstitutionEngine() - Constructor for class hcrypto.engines.SubstitutionEngine
Creates a SubstitutionEngine and sets the alphabetRangeOptions instance variable to "111111", which translates to all six alphabet options.
SubstitutionKey - class hcrypto.engines.SubstitutionKey.
This class represents a key for a Simple Substitution cipher.
SubstitutionKey() - Constructor for class hcrypto.engines.SubstitutionKey
 
superDispl - Variable in class hcrypto.analyzer.VigenereAnalyzer
 
superFactors - Variable in class hcrypto.analyzer.VigenereAnalyzer
 
SUPERPOSNUMBER - Static variable in class hcrypto.analyzer.VigenereAnalyzer
 
swap(char, char) - Method in class hcrypto.analyzer.GaIndividual
 

T

TestAnalyzer - class analyzers.TestAnalyzer.
 
TestAnalyzer() - Constructor for class analyzers.TestAnalyzer
 
testMethods() - Method in class hcrypto.engines.PlayfairKey
Performs exhaustive tests of the methods that perform various indexing functions on the key.
text - Variable in class analyzers.GaAnalyzer
 
text_limit - Variable in class hcrypto.analyzer.GaParameters
 
TextAnalyzer - class hcrypto.analyzer.TextAnalyzer.
 
TextAnalyzer() - Constructor for class hcrypto.analyzer.TextAnalyzer
 
TextStatistics - class hcrypto.analyzer.TextStatistics.
 
TextStatistics() - Constructor for class hcrypto.analyzer.TextStatistics
 
TextStatistics(String) - Constructor for class hcrypto.analyzer.TextStatistics
 
TextStatistics(String, boolean) - Constructor for class hcrypto.analyzer.TextStatistics
 
TextUtilities - class hcrypto.analyzer.TextUtilities.
 
Token - class hcrypto.analyzer.Token.
 
Token(String) - Constructor for class hcrypto.analyzer.Token
 
Token(String, PatternDictionary) - Constructor for class hcrypto.analyzer.Token
 
toString() - Method in class hcrypto.analyzer.GaParameters
 
toString() - Method in class hcrypto.analyzer.AffineAnalyzer
 
toString() - Method in class hcrypto.analyzer.GaIndividual
 
toString() - Method in class hcrypto.analyzer.FreqGaIndividual
 
toString() - Method in class hcrypto.analyzer.IndexOfCoincidence
 
toString() - Method in class hcrypto.analyzer.WordBasedGaIndividual
 
toString() - Method in class hcrypto.analyzer.CaesarAnalyzer
 
toString() - Method in class hcrypto.analyzer.PatternWordSearcher
toString() returns the result
toString() - Method in class hcrypto.analyzer.TextStatistics
 
toString() - Method in class hcrypto.analyzer.DigramAnalyzer
This method returns the report generated by the analysis.
toString() - Method in class hcrypto.analyzer.TextAnalyzer
toString() is part of Analyzer interface.
toString() - Method in class hcrypto.analyzer.EnglishFacts
toString() returns the result
toString() - Method in class hcrypto.analyzer.CryptogramAnalyzer
This method returns the report generated by the analysis.
toString() - Method in class hcrypto.analyzer.FrequencyTable
Arranges the frequencies as a 2-D table.
toString() - Method in class analyzers.GaAnalyzer
 
toString() - Method in class analyzers.TestAnalyzer
toString() returns the result
TranspositionEngine - class hcrypto.engines.TranspositionEngine.
This class implements a Transposition cipher algorithm for any range of alphabets, including az, AZ, azAZ, azAZ09, printable characters, and all ASCII.
TranspositionEngine() - Constructor for class hcrypto.engines.TranspositionEngine
Creates a TranspositionEngine and sets the alphabetRangeOptions instance variable to "111111", which translates to all six alphabet options.
TranspositionKey - class hcrypto.engines.TranspositionKey.
This class represents a key for a Transposition cipher.
TranspositionKey() - Constructor for class hcrypto.engines.TranspositionKey
 
TWEAK_ON - Static variable in class hcrypto.analyzer.GaPopulation
 
tweaking - Variable in class hcrypto.analyzer.GaParameters
 
tweakingOn - Variable in class hcrypto.analyzer.GaPopulation
 

U

UnicodeRanges - class hcrypto.cipher.UnicodeRanges.
 
UnicodeRanges() - Constructor for class hcrypto.cipher.UnicodeRanges
 
unused_decrypt - Variable in class hcrypto.analyzer.WordBasedGaIndividual
 
unused_decrypt - Variable in class hcrypto.analyzer.Individual
 
unusedLetters - Variable in class hcrypto.analyzer.WordBasedGaIndividual
 
unusedLetters - Variable in class hcrypto.analyzer.Individual
 
used_decrypt - Variable in class hcrypto.analyzer.WordBasedGaIndividual
 
used_decrypt - Variable in class hcrypto.analyzer.Individual
 
usedLetters - Variable in class hcrypto.analyzer.WordBasedGaIndividual
 
usedLetters - Variable in class hcrypto.analyzer.Individual
 
usedLettersNoDups - Variable in class hcrypto.analyzer.WordBasedGaIndividual
 
usedLettersNoDups - Variable in class hcrypto.analyzer.Individual
 

V

verbose - Variable in class hcrypto.analyzer.GaParameters
 
verbose - Variable in class hcrypto.analyzer.GaPopulation
 
VigenereAnalyzer - class hcrypto.analyzer.VigenereAnalyzer.
 
VigenereAnalyzer() - Constructor for class hcrypto.analyzer.VigenereAnalyzer
 
VigenereAnalyzer(TextStatistics) - Constructor for class hcrypto.analyzer.VigenereAnalyzer
 
VigenereEngine - class hcrypto.engines.VigenereEngine.
VigenereEngine.java implements a traditional Vigenere Cipher for the full range of alphabets -- az, AZ, azAZ, azAZ09, printable characters, and all ASCII.
VigenereEngine() - Constructor for class hcrypto.engines.VigenereEngine
Creates a VigenereEngine and sets the alphabetRangeOptions instance variable to "111111", which translates to all six alphabet options.
VigenereKey - class hcrypto.engines.VigenereKey.
This class represents a key for a Vigenere cipher.
VigenereKey() - Constructor for class hcrypto.engines.VigenereKey
 

W

WIDTH - Static variable in class hcrypto.analyzer.AnalyzerFrame
 
WIDTH - Static variable in class hcrypto.analyzer.Histogram
 
WordBasedGaAnalyzer - class analyzers.WordBasedGaAnalyzer.
 
WordBasedGaAnalyzer() - Constructor for class analyzers.WordBasedGaAnalyzer
WordBasedGaAnalyzer() -- Default constructor
WordBasedGaAnalyzer(GaParameters) - Constructor for class analyzers.WordBasedGaAnalyzer
WordBasedGaAnalyzer() -- this constructor is given an object containing parameter settings
WordBasedGaIndividual - class hcrypto.analyzer.WordBasedGaIndividual.
 
WordBasedGaIndividual(GaIndividual) - Constructor for class hcrypto.analyzer.WordBasedGaIndividual
Copy constructor
WordBasedGaIndividual(String, String) - Constructor for class hcrypto.analyzer.WordBasedGaIndividual
This constructor takes an initial distribution for the key as a parameter.
WordBasedGaPopulation - class hcrypto.analyzer.WordBasedGaPopulation.
 
WordBasedGaPopulation(String, GaParameters) - Constructor for class hcrypto.analyzer.WordBasedGaPopulation
WordBasedGaPopulation() constructor
wordlist - Static variable in class hcrypto.analyzer.Kucera3500
 
wordlist - Static variable in class hcrypto.analyzer.Kucera100
 
wordlist - Static variable in class hcrypto.analyzer.Kucera50
 
wordlist - Static variable in class hcrypto.analyzer.Kucera340
 
WordPairs - class hcrypto.analyzer.WordPairs.
 
WordPairs(String, String) - Constructor for class hcrypto.analyzer.WordPairs
 

X

XMARGIN - Static variable in class hcrypto.analyzer.Histogram
 

Y

YMARGIN - Static variable in class hcrypto.analyzer.Histogram
 

A B C D E F G H I K M N P R S T U V W X Y