Tool to decrypt/encrypt using Gronsfeld. Gronsfeld Cipher is a variant of the Vigenère cipher, the difference being that the key is a number.

Gronsfeld Cipher - dCode

Tag(s) : Cryptography,Vigenere Variant

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 using Gronsfeld. Gronsfeld Cipher is a variant of the Vigenère cipher, the difference being that the key is a number.

Gronsfeld encryption uses the Vigenere method, the difference being that the key is directly numeric, no need to calculate the rank of the letters of the key in the alphabet. However, the corresponding shifts have to be applied, so the Gronsfeld method approaches a multi-shift encryption.

Consider the message to be encrypted GRONSFELD with the key 1234. You add 1 to G to get H (the letter 1 rank after G is H in the alphabet), then add 2 to C or E (the letter 2 ranks after C is E), and so on.

Plain letter | G | R | O | N | S | F | E | L | D |

Key (repeated) | 1 | 2 | 3 | 4 | 1 | 2 | 3 | 4 | 1 |

Cipher Letter | H | T | R | R | T | H | H | P | E |

The encrypted message is HTRRTHHPE.

Decryption requires to know the decryption key (and the alphabet used if necessary). The decryption identical to Vigenere, but with a numeric key.

Consider the encrypted message EEREG with the key 123

Ciphertext Letter | E | E | R | E | G |

Key (Repeated) | 1 | 2 | 3 | 1 | 2 |

Decrypted Letter | D | C | O | D | E |

The plain message is then DCODE.

The message has an index of coincidence of about 0.4 to 0.5.

Cryptanalysis techniques used for Vigenere are also applicable to Gronsfeld. These techniques also accelerated since the use of a numeric key limits the number of combinations.

Gronsfeld variants are the same as Vigenere variants.

dCode retains ownership of the source code of the script Gronsfeld Cipher. 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, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Gronsfeld Cipher script for offline use, for you, your company or association, see you on contact page !

gronsfeld,vigenere,variant,shift,number,key

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

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