Tool to decrypt/encrypt Bazeries automatically. The Bazeries Cipher is a ciphering system created by Etienne Bazeries combining two grids (Polybius), and one key creating super-encryption.

Bazeries Cipher - dCode

Tag(s) : Cryptography

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*!

This page is using the new English version of dCode, *please make comments* !

Sponsored ads

Tool to decrypt/encrypt Bazeries automatically. The Bazeries Cipher is a ciphering system created by Etienne Bazeries combining two grids (Polybius), and one key creating super-encryption.

Encryption uses a number N, and two grids of 25 distinct characters. Bazeries suggested generating the second grid with the number N written in letters, but a keyword is OK too.

One wants to crypt DCODE with N = 23, the first grid is generated with the alphabet (without J) and written in columns:

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

1 | A | F | L | Q | V |

2 | B | G | M | R | W |

3 | C | H | N | S | X |

4 | D | I | O | T | Y |

5 | E | K | P | U | Z |

And the second grid is generated with the keyword TWENTYTHREE (one could have took TWOTHREE)

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

1 | T | W | E | N | Y |

2 | H | R | A | B | C |

3 | D | F | G | I | K |

4 | L | M | O | P | Q |

5 | S | U | V | X | Z |

The message is segmented by groups of letters with cardinality equals to each digit of N (repeated if necessary).

One splits 2 then 3 letters: DC then ODE.

The groups are then written backward

DC becomes CD and ODE becomes EDO

The letters are located in the grid 1 and replaced by the letter in the same position in grid 2.

C (line 3, column 1, grid 1) is replaced by D (line 3, column 1, grid 1) and so on.

The final Bazeries ciphered message is DLSLO

Decryption requires a number N and two grids (or the keys to generate them).

Let the cipher message be DLSLO and use N=23, grid 1 transposed (without key) is :

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

1 | A | F | L | Q | V |

2 | B | G | M | R | W |

3 | C | H | N | S | X |

4 | D | I | O | T | Y |

5 | E | K | P | U | Z |

Grid 2 (key : TWENTYTHREE created from N) :

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

1 | T | W | E | N | Y |

2 | H | R | A | B | C |

3 | D | F | G | I | K |

4 | L | M | O | P | Q |

5 | S | U | V | X | Z |

The message is segmented by groups of letters with cardinality equals to each digit of N (repeated if necessary).

Let's split 2 then 3 letters: DL, then SLO.

Groups of letters are written backward

DL becomes LD and SLO becomes OLS

Each letter is located in the second grid, and replaced by the letter with the same coordinate in the first grid.

L (line 4, column 1, grid 2) is replaced by D (line 4, column 1, grid 1) and so on.

The original plain text is DCODE.

The ciphered message has an index of coincidence similar to the language of the plain text.

One can crack Bazeries using frequency analysis, as it is a simple substitution, but a manual analysis is then needed to find the key used and reverse segments of the message.

Grids can be written in rows or in columns, they also can be switched.

Around 1980.

dCode retains ownership of the source code of the script Bazeries Cipher. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Bazeries Cipher script for offline use, for you, your company or association, see you on contact page !

bazeries,etienne,grid,key,polybius

Source : http://www.dcode.fr/bazeries-cipher

© 2017 dCode — The ultimate 'toolkit' website to solve every problem. dCode