Tool to decrypt / encrypt with Wolseley. Wolseley cipher is a reversible cipher, using a key and a 2-line table, the first being the inverse of the first in order to obtain the complete substitution table.
Wolseley Cipher - dCode
Tag(s) : Substitution Cipher
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!
The Wolseley cipher is a reversible substitution cipher whose substitution alphabet is based on a key generated with deranged alphabet.
In its original version, the alphabet has only 25 letters to fit in a 5x5 grid.
Example: The keyword SECRET allows to generate the alphabet SECRTABDFGHIKLMNOPQUVWXYZ (the J has been omitted to keep only 25 letters)
Encryption consists of substituting each letter in position n in the alphabet by the letter in position n but starting from the end of the alphabet. If the alphabet has only 25 letters, then the letter in position n is substituted by the letter in position 25-n (starting from 0).
Example:
Plain letter | SECRTABDFGHIKLMNOPQUVWXYZ |
Cipher letter | ZYXWVUQPONMLKIHGFDBATRCES |
Plain message | WOLSELEY |
Cipher message | RFIZYIYE |
Decryption is identical to encryption because the substitution table reversible (a double encrypted letter goes back to the initial letter)
To simplify handwriting, Wolseley proposed writing the alphabet as a grid:
\ | 1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|---|
1 | S | E | C | R | T |
2 | A | B | D | F | G |
3 | H | I | K | L | M |
4 | N | O | P | Q | U |
5 | V | W | X | Y | Z |
The Wolseley number is a substitution code
— The coincidence index of the encrypted message is identical to that of the plain message
— In its original version, the code has only 25 distinct letters
Frequency analysis and the dCode monoalphabetic substitution tool allow to find the plain message without much difficulty or at least to position the current letters such as the letter E.
Without a keyword, the Wolseley code is identical to the Atbash cipher (with 26 letters).
Lord commander Garnet Joseph Wolseley used this code in the 18th century (although it bears his name today, the inventor of this cipher is unknown).
dCode retains ownership of the "Wolseley Cipher" source code. Any algorithm for the "Wolseley Cipher" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Wolseley Cipher" 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 "Wolseley Cipher" 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 "Wolseley Cipher" 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: Wolseley Cipher on dCode.fr [online website], retrieved on 2025-04-15,