| Shuffle | Length etc. | Clean n Case |
This page should enable you to develop a tool for cracking any kind of code which works by breaking the plaintext up into blocks and then shuffling letters within those blocks.
Use this tool on ciphers which have the same letter frequency distribution as standard English but appear to be a jumbled mess. If you have a crib (word or two that you are expecting to be in the message) then this could be vital for finding the "anagram" used on the letter block.
It is common practice to pad the message with a few extra letters so that the plaintext can be split exactly into blocks that are all the same length. Thus you need to know how long the message is and what the prime factors of its length are.
The same program can be used to encipher or decipher messages.
|
Get the worksheet into Design Mode by clicking on the Design Mode toggle.
|
Drag and drop two text boxes onto your work book. These need to be pretty big to make life easier later on. Your workbook should look like the image below. Make sure that you save your workbook after every change; especially if the change works. |
| |
|
Now select a command button from the object menu. Three of these are needed to do various jobs.
Right click on each button to change its caption. ![]() |
The buttons need to be called:
|
|
The VBA code now needs to be entered for each command button. To do this you use the VBA editor. The easiest way to summon this is to double left click on an object whilst in design mode. The cursor is automatically positioned in the correct place for adding VBA code to a control. Copy and paste the code below into the editor.
|
|
last updated 6th July 2007