Kasiski and Splitter Applet
This applet will estimate the length of a keyword for a Vigenere encrypted
message and also can be used to split the text into slices (those characters
encryptesd with the same keyword character.
To run a Kasiski attack
-
Enter a String in the message Text Area.
-
Press the "Kasiski attack" button.
The program will find all repeated trigrams in the message; list their
positions and calulate the diatances between their occurences.
To slice text into pieces
-
Enter your String in the Text Area.
-
Fill in a key length value.
-
Press the "Split Cipher text" button.
The applet will return the slices of your text, i.e. slice 0
will be characters 0, k, 2k, 3k, 4k, ...; slice 1 will be characters 1,
k + 1, 2k + 1, 3k + 1, ...; slice 2 will be characters 2, k + 2, 2k + 2,
3k + 2, ...
Here is the souce code for this applet, KasiskiApplet.java,
the java application source code and BreezyGUI
information.