Thread: Vigenere Encryption

  1. #1
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002

    Vigenere Encryption

    I am working with the above mentioned encryption algorith...

    DO you think that encrypting an encrypted message several times will increase the security...

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Shouldn't you be reading the various cryptography FAQs?

  3. #3
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    I am.. Even purchased many books.. But none speaks about this.. Only triple DES has slightly the same topic.. But it instead of encrypting again.. it decrypts it with a wrong key(second key) to make it more secure... but i want to know wheather encrypting it twice or many other times makes it more secure...

  4. #4
    Well I think that depends on the encryption.

    If is something that is done to each letter, like a ceasarian shift, then doing it again won't help. It could still be decrypted by one key, the product of the two used.

    If, on the other hand, a character's position in a string is applicable, and is done in a manner that is related to that position, then another layer of encryption would increase the encryptedness, although you get diminishing returns.

    For example, a single Q shift on:

    Cprog boards are fun

    would produce:

    V[tph npstfd str gin

    Another q shift gives you:

    B]yj m[dygf dyt ho,

    But if you Q shift this back using -2, in one pass you get:

    Cprog boards are fun

    So a Q shift is not improved by multiple passes. But, if a letter's position mattered, like for example, a simple incremented shift:



    And again:


    It now has to be unshifted in two passes, and can be considered safer.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  2. help needed with edit control & encryption
    By willc0de4food in forum Windows Programming
    Replies: 2
    Last Post: 03-16-2006, 08:21 PM
  3. abt encryption algorithm
    By purIn in forum C Programming
    Replies: 9
    Last Post: 12-22-2003, 10:16 PM
  4. What's wrong with my Stream Cipher Encryption?
    By Davros in forum C++ Programming
    Replies: 3
    Last Post: 04-18-2002, 09:51 PM
  5. File Encryption & Read/Write in Binary Mode
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 11-30-2001, 06:45 PM