Tool to decrypt/encrypt with Collon cipher. Colon cipher is an encryption system using a grid and a conversion of letters into bigrams.

Collon Cipher - dCode

Tag(s) : Polygrammic 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*!

Tool to decrypt/encrypt with Collon cipher. Colon cipher is an encryption system using a grid and a conversion of letters into bigrams.

**Collon** encryption uses a grid (usually 5x5) and requires a number N to separate the text into sets of letters of length N.

__Example:__ Encrypt DCODE with series of N=3, ie DCO,DE and the grid

\ | 1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|---|

1 | A | B | C | D | E |

2 | F | G | H | I | J |

3 | K | L | M | N | O |

4 | P | Q | R | S | T |

5 | U | V | X | Y | Z |

For each series of N characters, and for each letter in the series, start by locating the letter in the grid and note the letter at the beginning of the line and the letter at the bottom of the column.

__Example:__

Letter | Right of Row | Bottom of column |
---|---|---|

D | A | Y |

C | A | X |

O | K | Z |

Once the series has been completed, write consecutively in the encrypted message the N headers of lines and the N bottom of columns found.

__Example:__ DCO is encrypted AAK,YXZ

The complete encrypted message is AAKYXZAAYZ.

Deciphering **Collon** requires knowledge of the grid and the number N.

__Example:__ Decrypt AKKXZVKKKVZY, with N=3 and the grid

\ | 1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|---|

1 | A | B | C | D | E |

2 | F | G | H | I | J |

3 | K | L | M | N | O |

4 | P | Q | R | S | T |

5 | U | V | X | Y | Z |

Split the message into groups of size letters 2N then split each group into 2, to obtain 2 subgroups of letters of identical sizes.

__Example:__ AKKXZV,KKKVZY then AKK,XZV (for the first group)

Take the nth letters of each subgroup to get N bigrams

__Example:__ AX,KZ,KV

For each bigram '(L1, L2)', locate the letter at the intersection of the line containing L1 and the column containing L2

__Example:__ The letter at the intersection of the line containing A and the column containing K is the letter C (letter of the plain message)

Repeat the operation to find each letter of the plain message.

__Example:__ The plain text is **COLLON**

The message is

- of even length

- composed of 9 distinct characters (at most)

- composed of blocks of N characters containing 5 distinct characters (at most)

It is possible to find the letters forming the first column and the last line by testing all possible series lengths from 1 to n / 2 (or n = length of the ciphertext).

For each series length, it is possible to reconstitute the bigrams and to test their validity (9 maximum characters, 5 characters at the beginning and at the end, 1 single common character, etc.)

Thus, for lengths that do not conflict with the encryption rules, the letters of the first column and the last line can be deduced.

It is then possible to create a grid and attack the cryptogram as a simple substitution number.

__Example:__ If the encryption grid consists of a keyword not interfering with the composition of the last row of the grid (less than 20 distinct letters), then the letters of the last line will follow the alphabetical order ( and will often be UVXYZ if the W is omitted).

If a bigram consists of a double letter (example AA), then the plain letter corresponding to the encrypted bigram is the letter (example UU gives U).

The cipher has several possible variants

- the use of other coordinates than the right of the row and the bottom of column (top of column, left of row, etc.)

- the reverse order of the coordinates, invert the coordinated letter of the row and the coordinated letter of the column

- the use of a variable N value (not available on dCode)

dCode retains ownership of the source code of the script Collon Cipher 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 released for free. To download the online Collon Cipher script for offline use on PC, iPhone or Android, ask for price quote on contact page !

collon,cipher,bigram,grid,auguste,line,column

Source : https://www.dcode.fr/collon-cipher

© 2020 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲