To decrypt Porta cipher, you just have to reverse this process. For the letter "o", we check in the alphabet "EF" and we see that the encrypted letter for "o" is "d", and so on. For instance to encrypt the first letter, "p", with the key letter "k", we look into the "KL" alphabetĪnd we see that the counterpart to "p" is "h". Then we look for each letter to encrypt, its counterpart in theĪlphabet indicated by the key letter we are using. We want to encrypt the sequence "Porta cipher" using the key "key":Ĭ h i f f r e d e P o r t a c l e c l e c l e c l e c l o p t r n g q y p d g g h vĪs you can see, we reapeat the key as many as it's necessary to match the text length. As this is hard to explain with words, here's an example :ĪB a b c d e f g h i j k l m n o p q r s t u v w x y z CD a b c d e f g h i j k l m z n o p q r s t u v w x y EF a b c d e f g h i j k l m y z n o p q r s t u v w x GH a b c d e f g h i j k l m x y z n o p q r s t u v w IJ a b c d e f g h i j k l m w x y z n o p q r s t u v KL a b c d e f g h i j k l m v w x y z n o p q r s t u MN a b c d e f g h i j k l m u v w x y z n o p q r s t OP a b c d e f g h i j k l m t u v w x y z n o p q r s QR a b c d e f g h i j k l m s t u v w x y z n o p q r ST a b c d e f g h i j k l m r s t u v w x y z n o p q UV a b c d e f g h i j k l m q r s t u v w x y z n o p WX a b c d e f g h i j k l m p q r s t u v w x y z n o YZ a b c d e f g h i j k l m o p q r s t u v w x y z nFor fully understanding Porta cipher, let's see the example above. When you want to encrypt a text, using a key, you check the corresponding letter in the alphabet corresponding Simplicity here, we'll use the "normal" alphabets. But Porta himself said that it would be more secure to use random alphabets, and carry them to decipher crypted texts. As you can see in the table, these alphabets are easy to makeįrom scratch. Since there is 13 couples of letters in the latinĪlphabet, there is also 13 alphabets (AB, CD, EF, GH, IJ, KL, MN, OP, QR, ST, UV, WX, YZ). Each couple of letter in the alphabet has its own alphabet. The cipher principle is simple, but secure.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |