## Mixed Alphabet Cipher

Wikipedia | Worksheet | Cryptanalysis

The Mixed Alphabet Cipher is a substitution cipher that replaces letters in the plain text with letters from the secret key.

### Encrypting

To encrypt a message using the Mixed Alphabet Cipher take the letters in your plain text one by one. Find where they are in the normal alphabet (e.g. E is the 5th letter) and then find the letter in that position in your secret key (e.g. T is the 5th letter in the key below). Write down this letter.

In order to use spaces in the plain text we've added the space as the 27th letter of the normal alphabet. In the grid below the space would be replaced by an M.

When you have replaced every letter in your plain text you will have a string of gibberish letters written down. This is your cipher text!

### Decrypting

To decrypt a message take the letters in the cipher text one by one. Find where they are in your secret key and replace them with the letter in that position in the normal alphabet. Easy!

### Making Your Own Key

The secret key is the letters A-Z plus a space jumbled into a random order.

To make your own secret key simply pick your own random ordering of the letters (and the space). The key below is editable, so you can easily try this.

Remember to include every letter and include them only once.

### Example

Here's a key that you can edit. When you change the letters the example plaintext will be encrypted for you. Can you see how it all works?

HELLO WORLD