Welcome Guest [Log In] [Register]
Viewing Single Post From: Announcement: Official Vigenère Tutorial
insecure
Elite member
[ *  *  *  *  * ]
Donald was talking about cracking a Vigenere, not using one.

To use a Vigenere is easy enough. Pick a codeword. Example: NOTASTRONGKEY

Remove all duplicate letters: NOTASRGKEY

Using a Vigenere square... oh.

To construct a Vigenere square, take a square 27 cells by 27 cells in size.

Top row, starting at column 2, write the alphabet.

Left column, starting at row 2, write the alphabet.

Rows 2-27: starting in column 2, continue the alphabet started in column 1, re-starting from A when necessary.

Top bit of table looks like this:

Code:
 

+ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZA
BCDEFGHIJKLMNOPQRSTUVWXYZAB
CDEFGHIJKLMNOPQRSTUVWXYZABC
DEFGHIJKLMNOPQRSTUVWXYZABCD


and so on.

Locate your plaintext letter on the top row.
Locate your key letter on the leftmost column.
Where that row and column cross, is your ciphertext letter.
Move on to next plaintext letter and next key letter (starting at the beginning of the key if you reach the end), and go round again until you run out of plaintext.




Offline Profile Quote Post
Announcement: Official Vigenère Tutorial · News