Tool to decrypt/encrypt with the Mexican Wheel. The Mexican Army Cipher Disk is an encryption system using 4 mobile concentric discs with numeric codes.

Mexican Army Cipher Wheel - dCode

Tag(s) : Homophonic Substitution Cipher

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!

You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? *Contact-me*!

Sponsored ads

Tool to decrypt/encrypt with the Mexican Wheel. The Mexican Army Cipher Disk is an encryption system using 4 mobile concentric discs with numeric codes.

The wheel of the Mexican army is in fact made up of 5 rotating concentric discs (also called wheels, or stages), whose position can be adjusted. Generally the outer wheel is fixed (the letters wheel) with the A at the top, so there are only 4 disks that are swiveling and adjustable.

The 4 disks are made of numbers from 00 to 99 as follows:

Disk 1 |

01,02,03,...,24,25,26 |

Disk 2 |

27,28,29,...,50,51,52 |

Disk 3 |

53,54,55,...,76,77,78 |

Disk 4 |

79,80,81,...,98,99,00,-,-,-,- |

The fourth disc is composed of the numbers from 79 to 99, followed by 00 (for 100) and 4 empty slots (which may be called 101, 102, 103 and 104).

The position of the disks is the encryption key. The key (the position of the disks on each stage) is defined according to two methods:

- by a set of 4 numbers, those situated under the A, here 01,27,53,79

- by a set of 4 letters, those above (on the outer disk) of the numbers 01, 27, 53 and 79 (which are the smallest numbers of each disc), here A,A,A,A

At each letter of the plain message, the transmitter marks it on the outer dial and associates a two-digit (random) code among the 4 located directly below the letter on each of the discs.

Example: Given a dial positioned at stage 1 on 01, at stage 2 on 27, at stage 3 on 53 and at stage 4 on 79 (which is the default position, therefore associated with the 4 letters AAAA).

Example: To encrypt DCODE, the transmitter locates the letter D and can choose either 04, 30, 56 or 82 to encrypt the first letter. For the C, the numbers 03, 29, 55 or 81 are possible. In the end, DCODE can be encrypted 8281670405 or 5629938257 or ...

Decryption requires to know the encryption key (the initial positions of the disks), usually 4 numbers or 4 letters, which make it possible to adjust the positions of the discs of the wheel.

To decrypt, the message is decomposed in pairs of 2 digits in order to retrieve, for each 2-digit number / code, the letter at the top (on the outer disk) of the number in the wheel and thus reconstitute the plain message.

Example: The encrypted message is 5681158231, so 56 corresponds to D, 81 is located under C, etc. The plaintext is DCODE.

Any combination of 4 numbers is possible, however it is common to use a 4 digit code or a time (HHMM so 4 digits).

The message consists only of digits and there is an even number (since the encrypted message consists of pairs of 2 digits).

The cipher wheel of the Mexican Army is actually a polyalphabetic cipher with 4 alphabets per shift.

To find the 4 offsets, it is necessary to analyze the frequencies of the numbers between 01 and 26, the same for the numbers between 27 and 52, then 53 and 78 and 79 to 99.

Thus, the most used number between 01 and 26 will probably be an E, the position of the first wheel is then deduced therefrom. The same can be done for other discs.

dCode retains ownership of the source code of the script Mexican Army Cipher Wheel online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. So if you need to download the online Mexican Army Cipher Wheel script for offline use, check contact page !

- What does the Mexican Army Wheel looks like? (Picture)
- How to define the position (cipher key) of the wheel?
- How to encrypt using the Mexican Army Cipher Wheel?
- How to decrypt using Mexican Army Cipher Wheel?
- How to select initial position of the wheel?
- How to recognize a Mexican Army ciphertext?
- How to decipher Mexican Army cipher without wheel?

mexico,wheel,cipher,army,mexican,disk,01,27,53,79

Source : https://www.dcode.fr/mexican-army-cipher-wheel

© 2018 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode