Search for a tool
Chaocipher

Tool to decrypt/encrypt with Chao-cipher, a polyalphabetic encryption algorithm using two evolving disk alphabet at each step.

Results

Chaocipher -

Tag(s) : Cryptography, Poly-Alphabetic Cipher

dCode and you

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!

Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Chaocipher tool. Thank you.

# Chaocipher

## Chaocipher Encoder

Tool to decrypt/encrypt with Chao-cipher, a polyalphabetic encryption algorithm using two evolving disk alphabet at each step.

### How to encrypt using Chaocipher?

Chaocipher encryption uses two rotating disks on which is written a custom alphabet (originally the 26 letters from A to Z in any order).

The two disks are identical and linked with a kind of gearing (ratio 1:1), if a disk is turned clockwise, the other turns anti-clockwise.

Example: Encrypt DCODE using the two disks:
CHAOBDEFGIJKLMNPQRSTUVWXYZ for the LEFT disk (cipher text) and
CIPHERABDFGJKLMNOQSTUVWXYZ for the RIGHT disk (plain text)

The position 1 in each disk alphabet is called zenith and the opposite position on the disk, here 14, is called nadir.

For each letter to encrypt, make these 3 steps :

First step : read the cipher letter corresponding to the plain letter (at the intersection of the two disks or at the same rank in the alphabets)

Example: The plain letter D is in front of the cipher letter G.

Second step : make a special permutation of the LEFT disk. This operation is composed of 4 actions:

1. Make a rotation of the alphabet on order to set the cipher letter at the zenith (position 1)

Example: The alphabet becomes GIJKLMNPQRSTUVWXYZCHAOBDEF

2. Extract the letter in position zenith+1 (on the right of zénith) and leave the position empty

Example: Extraction of I.
The alphabet becomes G.JKLMNPQRSTUVWXYZCHAOBDEF

3. Shift all letters from position zenith+2 until nadir (zenith+13) included by shifting them on the left

Example: The alphabet becomes GJKLMNPQRSTUV.WXYZCHAOBDEF

4. Insert the extracted letter at step 2 in the empty hole in position nadir (zenith+13)

Example: The alphabet becomes GJKLMNPQRSTUVIWXYZCHAOBDEF

Third step : make a special permutation of the RIGHT disk. This operation is composed of 4 actions:

1. Make a rotation of the alphabet in order to set the letter immediately to the right of the plain letter to the zenith (the plain letter is in position zenith-1).

Example: The alphabet becomes FGJKLMNOQSTUVWXYZCIPHERABD

2. Extract the letter in position zenith+2 and leave the position empty.

Example: Extraction of J.
The alphabet becomes FG.KLMNOQSTUVWXYZCIPHERABD

3. Shift all letters from position zenith+3 until nadir (zenith+13) included by shifting them on the left

Example: The alphabet becomes FGKLMNOQSTUVW.XYZCIPHERABD

4. Insert the extracted letter at step 3 in the empty hole in position nadir (zenith+13).

Example: The alphabet becomes FGKLMNOQSTUVWJXYZCIPHERABD

The message is obtained after these steps.

Example: Here the cipher message is GZNDZ

### How to decrypt Chaocipher?

Decryption is identical to encryption with its 3 steps. Beware to read the plain letter on the right disk corresponding to the cipher letter on the left disk.

### How to recognize Chaocipher ciphertext?

The ciphered message has a low index of coincidence, it is hardly distinguishable.

### How to decipher Chaocipher without disks?

It is nearly impossible. However it the initial disk order has been defined using deranged alphabets, it is possible to some couples of keywords.

### What are the variants of the Chaocipher cipher?

It is possible to change the size of the alphabet, or defining new positions for permutations of the alphabets.

### When Chaocipher have been invented?

This ciphering has been invented by John F. Byrne in 1918.