java - Vigenere Cipher Decryption with part of message known -
so working on vigenere cipher right , know ending encoded message benediction, "your friend, joe". therefore, need extract key used rotate each letter by. key numerical string such each letter in message rotated forward number of times equal corresponding digit (ie: 1234 rotate first index 1, 2nd index 2, etc). have found "key" associated benediction, how extract actual key "key" since key loops if run out of indices key, such when translate benediction "key" so:
825122082512208 //the actual key 8251220, don't know how in general case.
much appreciated, thanks.
Comments
Post a Comment