#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2011
    Posts
    2
    Rep Power
    0

    Vigenere cipher - running key


    Hi, I'm writing some project, and I need to find how to decrypt vigenere cipher with running key, so can anyone describe, or give me some link?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2011
    Posts
    11
    Rep Power
    0
    They're pretty much the same algorithm, but in the running key cipher you don't repeat the key, you continue to generate the keystream from the pre-agreed text, but if you're going to decrypt with a running key, why not just encrypt with a running key as well ? It's undoubtedly more secure..
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2011
    Posts
    2
    Rep Power
    0
    I made a mistake, when I said decryption, I thought to cryptanalysis
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2011
    Posts
    11
    Rep Power
    0
    Riiiiight. Different story all together

    Well firstly, it's a vigenere function, just the key generation is a little bit different so get the basic details down first.

    1: A running key uses a set text, at random points in the book.
    2: It uses a Vigenere-like function to encrypt the text.

    So what you first want to do is try and find out the text used as the running key. Secondly, when using a running key encryption somewhere in the ciphertext is where abouts in this set text there is, otherwise the recipient is screwed for decrypting it. So I would begin by finding out the source of the running key, then testing out some numerical values that you find in the text. If there aren't any, and with it being a vigenere cipher I dont think there will be, you've got to try language analysis.

    Think about commonly used letters and words. Vowels are in every word, and most sentences have connectives. Another crucial point is the language the source text is in.

    There's a few ideas you can try!

IMN logo majestic logo threadwatch logo seochat tools logo