Gronsfeld Cipher
Background
The cipher has been named after Johann Franz Graf Gronsfeld-Bronkhorst (†1719). He was the imperial field marshal in the Bavarian national uprising of 1705/06.
Principle
The cipher is identical to the Vigenère cipher with the exception that only numbers can be used as keys. Instead of 26, there are only 10 possible Caesar ciphers that can be used.

Fig. 1: Key table for the Gronsfeld cipher.1
The message "Geheimnis" has been encoded according to the key "326" which results in "JGNHKSQKY".
Security
The security is also almost identical to that of the Vigenère cipher, but the number of possible mappings is significantly smaller in the Gronsfeld cipher.
With a key length of 3, there are 26x26x26 possible mappings for the Vigenère cipher but only 10x10x10 possible mappings for the Gronsfeld cipher.
With a key length of 3, there are 26x26x26 possible mappings for the Vigenère cipher but only 10x10x10 possible mappings for the Gronsfeld cipher.
Weblinks
References
The Gronsfeld Cipher
Author: R. Morelli
The Gronsfeld cipher is a variation of the Vigenere cipher in which a key number is used instead of a keyword, e.g., 14965. Usually the key does not contain repeated digits.
Here's a message written in a Gronsfeld Cipher.
For this problem, I've simplified things as follows: we allow only the digits between 0-5 (a-d) to be used in the key. The method for attacking a Gronsfeld cipher involves the following steps:cjifk qywtj ioipo wovlh ncxlo peosg gxrkx baiiq caguy rxrlq klcoy vewql nhsut oiddg qdrap dnfwk owpgw gzlsk xlt
0 1 2 3 4 5 6 7 0 c j i f k q y w tj ioipo wovlh ncxlo peosg gxrkx (Message) 1 b i h e j p x v si hnhon vnukg mbwkn odnrf fwqjw 2 a h g d i o w u rh gmgnm umtjf lavjm ncmqe evpiv 3 z g f c h n v t qg flfml tlsie kzuil mblpd duohu 4 y f e b g m u s pf ekelk skrhd jythk lakoc ctngt 5 x e d a f l t r oe djdkj rjqgc ixsgj kzjnb bsmfs
Trigram Code Frequency (Table XII in Pratt) aid 215 24 ******** age 234 20 ******** aff 243 9 ahe 224 2 agi 230 3 agg 232 3 big 114 4 chi 010 22 ******** repeated numbers che 024 27 ******** cei 050 052 13 bed 155 2 bee 154 32 ******** bei 150 19 ******** bef 153 8 beg 152 5
They are all relatively frequent trigrams. They could be used as the prefix of the first word. None of them involves a repeated digit in its number code, which rules out 'chi.'aid 215 24 ******** age 234 20 ******** bee 154 32 ******** bei 150 19 ******** che 024 27 ********
Column 1 2 3 4 5 aid 215 age 234 bee 154 idb hag efm* jlu* pts bei 150 idf hak efq* jly* ptw che 024 jgb* idg fim kou qws*
efk, eek, edk, eck, ebk, eakWe want to eliminate 'efk,' 'edk,' and 'ebk' from this list, leaving Ôeek,Õ ÔeckÕ and Ôeak.Õ If we make these substitutions we get the following candidates for partial solutions:
Candidate Number Code Comment
cheekou 0241024 Possibly cheek our or cheek out
checkou 0243024 Possible check out or check our
cheakou 0245024 Not very likely
Notice that a cycle is beginning to appear that goes 024-024 and we now have two candidates 02410241 and 02430243. If we replace the 7th letter for each of these candidates we get: 02410241 = cheekouw Impossible
02430243 = checkout ********* Solution!!!! ***********
For Further Study and Enjoyment
Encrypt
Decrypt :
http://rumkin.com/tools/cipher/gronsfeld.php








0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.