Tool to generate a scrambled/mixed/deranged alphabet: alphabet which letter order is not classical. Generator with several methods to create such an alphabet (randomizer), usually used for substitution cipher.
Deranged Alphabet Generator - dCode
Tag(s) : Cryptography
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A deranged alphabet (disordered) is a mixture of the 26 letters in an order different from the traditional alphabetical order (A,B,C,…) creating a new arrangement.
Example: ZYXWVUTSRQPONMLKJIHGFEDCBA is a disordered alphabet, it contains the 26 letters but it is not the order ABCDEFGHIJKLMNOPQRSTUVWXYZ
Definition: A random alphabet has 26 letters in a totally randomized manner without following a particular order (shuffle often difficult to memorize).
A reciprocal (or reversible) alphabet is a cipher alphabet where each letter is paired with another unique letter, creating a two-way correspondence. So if a plain letter A is crypted by X, then the plain letter X is crypted A.
Example: DCOEABFGHIJKLMNPQRSTUVWXYZ is a reciprocal alphabet, DCODE is encrypted as MNPMQ and MNPMQ is encrypted as DCODE
During a mono-alphabetic substitution, a disturbed alphabet makes it possible to carry out a ciphering by substitution.
The reverse alphabet is the disturbed alphabet that it allows to find the original message.
Example: For the alphabet QWERTYUIOPASDFGHJKLZXCVBNM, the reverse alphabet is KXVMCNOPHQRSZYIJADLEGWBUFT.
To generate the reverse alphabet:
— for each letter i of the normal alphabet, note its position j in the disturbed alphabet, and write in the reverse alphabet the letter in position j in the normal alphabet.
Example: A is the 1st letter of the alphabet, A is in position 11 in the deranged alphabet QWERTYUIOPASDFGHJKLZXCVBNM, so the 1st letter of the reverse alphabet is the 11th letter of the normal alphabet: K
An alphanumeric alphabet has 36 characters: 26 letters and 10 digits.
Example: ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
Using a key helps to scramble the letters in the alphabet with a single keyword to remember
Example: DCOEABFGHIJKLMNPQRSTUVWXYZ is a deranged alphabet generated with key DCODE.
QWERTYUIOPASDFGHJKLZXCVBNM : QWERTY keyboard
MNBVCXZLKJHGFDSAPOIUYTREWQ : reverse QWERTY keyboard
AZERTYUIOPQSDFGHJKLMWXCVBN : AZERTY keyboard
NBVCXWMLKJHGFDSQPOIUYTREZA : reverse AZERTY keyboard
ZYXWVUTSRQPONMLKJIHGFEDCBA : reverse alphabet
AEIOUYBCDFGHJKLMNPQRSTVWXZ : vowels then consonants
Choose a method for encryption that accepts a deranged alphabet. dCode has many choices for that, select the right of yours, by default, use mono-alphabetic substitution.
A random disordered alphabet can be created by reversing the positions of the letters (Fisher-Yates shuffle):function randomAlphabet() {
alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
derangedAlphabet = alphabet
for (i = 25 ; i > 0 ; i--) {
index = rand(0, i)
swap( derangedAlphabet[i], derangedAlphabet[randomIndex] )
}
return derangedAlphabet
}
The rand(a,b) function picks a random number between a and b
The swap(a,b) function swaps the values of a and b
dCode retains ownership of the "Deranged Alphabet Generator" source code. Any algorithm for the "Deranged Alphabet Generator" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Deranged Alphabet Generator" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Deranged Alphabet Generator" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Deranged Alphabet Generator" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Deranged Alphabet Generator on dCode.fr [online website], retrieved on 2025-04-14,