Cryptography - transposition cipher

  • Thread starter Thread starter Rubik
  • Start date Start date
  • Tags Tags
    Cryptography
Click For Summary
The discussion revolves around decrypting a message encoded with a transposition cipher using the permutation π = (13)(2546). The key to decryption is applying the inverse permutation, which is (31)(6452), to the encoded message. Participants clarify how to derive the inverse permutation and apply it to the encoded text, demonstrating the mapping of letters through examples. Confusion arises regarding the transformation of specific letter sequences, but through collaborative explanation, the correct application of the inverse permutation is established. Ultimately, the plaintext "she sells seashells" is successfully derived from the encoded message.
Rubik
Messages
95
Reaction score
0
Suppose m = 6 was encoded with ther permutation \pi = (13)(2546)

Decrypt:- EESLSHSALSESLSHBLEHSYEETHRAEOS

It turns out that the inverse of \pi is how you decrypt the message and apply the inverse permutaion which is (31)(6452)

And the plaintext is she sells seashells...

However I am not sure how to work out the inverse function and then how to apply the inverse permutation to get that particular plain text any ideas?
 
Mathematics news on Phys.org
Rubik said:
However I am not sure how to work out the inverse function

You mean how to work out the inverse permutation?
(6,4,5,2) sends 6 to 4, 4 to 5, etc. The inverse would undo that. It would send 4 to 6, 5 to 4 etc.

and then how to apply the inverse permutation to get that particular plain text any ideas?

(3,1) interchanges the first and 3rd letters, which changes EES to SES.
 
Stephen Tashi said:
You mean how to work out the inverse permutation?
(6,4,5,2) sends 6 to 4, 4 to 5, etc. The inverse would undo that. It would send 4 to 6, 5 to 4 etc.



(3,1) interchanges the first and 3rd letters, which changes EES to SES.
I am afraid I still do not understand? Why does EES become SES? And not SEE.
 
And sorry what I meant before was how do you get the inverse permutation, so how does (13)(2546) become (31)(6452)?
 
So basically I do not see how the inverse permutation makes the letters EESLSH goe to SHESEL?
 
You are right (1,3) makes EES go to SEE, my mistake.

Let's do a simple example. Let the permutation be (1,3)(4,5,6)
This implies the mapping:
1->3
3->1
4->5
5->6
6->4

The inverse mapping reverses the process. It is:
3->1
1->3
5->4
6->5
4->6

You have to figure out how to write that mapping in the notation for permutations.
It would be (3,1) (5 4 6)

To get that you start with 3->1, then what does 1 go to? It goes back to 3, so you have finished one cyclic permutation. Then do 5->4. What does 4 go to? It goes to 6. What does 6 go to. It goes to 5, so you completed another cyclic permutation.
 
Okay so if I have pi = (124)(36)(587) then

pi inverse = (214)(63)(587)?
 
Okay so if I have pi = (124)(36)(587) then

pi inverse = (214)(63)(587)?
 
The (587) in your inverse isn't right. You need to send 8 to 5 and send 7 to 8 and so forth.
 
  • #10
Also going back to the previous example with the pi inverse = (31)(6452)

I do not understand how EESLSH goes to SHESEL

See using that invers key means 3 goes to 1 so EES become SEE, 6 goes to 4 means SEELSH goes to SEEHSL and 5 goes to 2 means SEEHSL goes to SSEHEL.. I have no idea what I am doing wrong?
 
  • #11
Sorry of course so (587) becomes (857)?
 
  • #12
Oh wait I get it now so goes to 1 means SEELSH and 6 goes to 4 means SEEHSL 4 goes to 5 means SEESHL and 5 goes to 2 means SHESEL.

Thank you so much for all your help! :D
 

Similar threads

  • · Replies 52 ·
2
Replies
52
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 3 ·
Replies
3
Views
867
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
6K
Replies
8
Views
3K