Mixed Alphabet Maker

© Francisco Ruiz, 2016

This page generates a mixed alphabet suitable for use in a substitution cipher or a number of ciphers based on a Tabula Recta, by the author, starting from a user-supplied key phrase of arbitrary length. The process has these main steps:

  1. Write the key phrase, minus spaces, diacritic marks, and punctuation, in a succession of rows of length 26 characters.
  2. Combine the letters in each column of the table just formed, using a straight Tabula recta like the one below, this way: look up the first letter at the top, then go down until the second letter is found, then left or right until the third letter is found, and so on until all the letters are used, each time changing direction. Finally read the result at one the edges after another change of direction, and write it down. Examples: H + K = D; H + K + T = Q; H + K + T + D = O; H + K + T + T = D.
  3. Convert the 26-letter (or shorter) string produced in step 2 into a mixed alphabet this way: 1, write down new letters in the order they appear; if a letter in the has already been written, write instead the first letter before it in the straight alphabet that is still available (wrap around to the end if needed); 2, then write the rest of the alphabet in reverse order.

Tabula Recta

  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z  
---------------------------------------------------
A | A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | A
B | B C D E F G H I J K L M N O P Q R S T U V W X Y Z A | B
C | C D E F G H I J K L M N O P Q R S T U V W X Y Z A B | C
D | D E F G H I J K L M N O P Q R S T U V W X Y Z A B C | D
E | E F G H I J K L M N O P Q R S T U V W X Y Z A B C D | E
F | F G H I J K L M N O P Q R S T U V W X Y Z A B C D E | F
G | G H I J K L M N O P Q R S T U V W X Y Z A B C D E F | G
H | H I J K L M N O P Q R S T U V W X Y Z A B C D E F G | H
I | I J K L M N O P Q R S T U V W X Y Z A B C D E F G H | I
J | J K L M N O P Q R S T U V W X Y Z A B C D E F G H I | J
K | K L M N O P Q R S T U V W X Y Z A B C D E F G H I J | K
L | L M N O P Q R S T U V W X Y Z A B C D E F G H I J K | L
M | M N O P Q R S T U V W X Y Z A B C D E F G H I J K L | M
N | N O P Q R S T U V W X Y Z A B C D E F G H I J K L M | N
O | O P Q R S T U V W X Y Z A B C D E F G H I J K L M N | O
P | P Q R S T U V W X Y Z A B C D E F G H I J K L M N O | P
Q | Q R S T U V W X Y Z A B C D E F G H I J K L M N O P | Q
R | R S T U V W X Y Z A B C D E F G H I J K L M N O P Q | R
S | S T U V W X Y Z A B C D E F G H I J K L M N O P Q R | S
T | T U V W X Y Z A B C D E F G H I J K L M N O P Q R S | T
U | U V W X Y Z A B C D E F G H I J K L M N O P Q R S T | U
V | V W X Y Z A B C D E F G H I J K L M N O P Q R S T U | V
W | W X Y Z A B C D E F G H I J K L M N O P Q R S T U V | W
X | X Y Z A B C D E F G H I J K L M N O P Q R S T U V W | X
Y | Y Z A B C D E F G H I J K L M N O P Q R S T U V W X | Y
Z | Z A B C D E F G H I J K L M N O P Q R S T U V W X Y | Z
---------------------------------------------------
  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z  

 

Step 1. Enter key phrase

Key Phrase

 

Step 2. Reduce to alphabet length

Spaces, punctuation and diacritics are removed, and the text is written in lines containing 26 letters each. Then each column is combined to yield a single letter through "serpentine" operations on the Tabula Recta.

Processed Key Phrase


--------------------------

 

Step 3. Derive Mixed Alphabet

Extract new letters first, or the immediately prior available letter if repeated, complete the alphabet with remaining letters in reverse order:

Mixed Alphabet