P is for Practical | |
PerlMonks |
Re^3: Breaking the indecipherable cipher, courtesy Charles Babbage.by turo (Friar) |
on May 19, 2006 at 19:26 UTC ( [id://550571]=note: print w/replies, xml ) | Need Help?? |
your algorithm works well your only fail is to feed your vigener cipher machine with simbols others than alphabetics ones.
Problems of keeping spaces on your ciphertext are that there are some words that are very common on your language (examples: the, and, of, I, you ...), and the same goes for other simbols like the ``''' and the ``?''. So in old cipher methods is important to remove this simbols (except on transposition ciphers like the scitale ^_^>)
i think your algorithm failed because of those spureous simbols prove with this text instead:
perl -Te 'print map { chr((ord)-((10,20,2,7)[$i++])) } split //,"turo"'
In Section
Obfuscated Code
|
|