Tool for encrypting/decrypting with the disk cipher also called wheel (or dial), a visual tool facilitating mono-alphabetic substitution.
Cipher Disk/Wheel - 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!
A cipher disc is a mechanical tool made up of 2 dials (1 inner disc and 1 outer disc) making it possible to represent a mono-alphabetic substitution by rotating the discs relative to each other. The alignment of the boxes thus obtained indicates the correspondence of the letters. Here is an example of an (empty) disk that can be filled with the 26 letters of the alphabet
Generally, at least 1 of the 2 discs contains the alphabet in its classic order: ABCDEFGHIJKLMNOPQRSTUVWXYZ, the second can be different and contain a disordered alphabet.
Often, the inner disk is used as a reference for the plain letters, and the outer disk is used for the coded letters.
Select a position for the disc (by rotating the inner or outer dial) and the reference disc for the plain message letters.
For each letter of the message to be encrypted, locate the letter on the plain disc and note the corresponding letter located opposite on the encrypted disc.
Position the disc at a defined offset.
For each letter of the coded message, locate the letter on the encrypted disc and note the corresponding letter opposite on the plain disc.
Choosing the position of the disc means indicating which letters correspond to which others. There are several methods:
— Give a 2-letter key, defining a couple (plain letter-encrypted letter), the user must then align the 2 letters before starting an encryption (or decryption). Sometimes the letters are next to each other: AB or separated by a hyphen A-B or by the equal sign A=B.
— Give only one letter, the second letter omitted being the plain letter A.
— Give a number, defining the offset value of the rotating disk (usually exterior) with respect to the fixed disk (usually interior), a positive value indicating the clockwise direction and a negative value indicating the counterclockwise direction.
A disk encryption is nothing more than an alphabetical substitution. Using disk makes it easier to encrypt/decrypt by hand.
The index of coincidence of a disk-encrypted message is therefore similar to that of the plain message.
The frequency analysis should highlight the coding letter for E.
The notions of disc, wheel or dial are clues.
The disk cipher allows to represent any substitution like the Caesar cipher, or the Atbash code.
Alberti proposed the use of cipher disks and improved its security slightly by proposing to periodically shift/rotate the disk according to a defined period and increment, see Alberti's cipher.
dCode retains ownership of the "Cipher Disk/Wheel" source code. Except explicit open source licence (indicated Creative Commons / free), the "Cipher Disk/Wheel" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Cipher Disk/Wheel" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Cipher Disk/Wheel" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Cipher Disk/Wheel" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Cipher Disk/Wheel on dCode.fr [online website], retrieved on 2024-11-11,