# Super-fun and often extra-hard ciphers from the crowd

The Body in My Library Forums Harry’s Meeting Place Super-fun and often extra-hard ciphers from the crowd

Viewing 2 posts - 16 through 17 (of 17 total)
• Author
Posts
• #92632
The_Letter_Wriggler
Participant

@Rhyden
I can generate the sequence you gave (in PARI-gp code) with:
x=1;a=32;m=67;for(i=1,66,x=(a*x)%m;print1(x”,”));
32,19,5,26,28,25,63,6,58,47,30,22,34,16,43,36,13,14,46,65,3,29,57,15,11,17,8,55,18,40,7,23,66,35,48,62,41,39,42,4,61,9,20,37,45,33,51,24,31,54,53,21,2,64,38,10,52,56,50,59,12,49,27,60,44,1,

Data based on what you have given
==================================================================
000000000111111111122222222223333333333444444444455555555556666666
123456789012345678901234567890123456789012345678901234567890123456
roemaoastolgtowfsthmcinssfcfgusf.ouirlecsoiateoruosnusinselhitfuiS
Successconsistsofgoingfromfailuretofailurewithoutlossofenthusiasm.
==================================================================
The Sequence you give does not give the re-arrangement for the plaintext

32 19 5 26 28 25 63 6 58 47 30 22 34 16 43 36 13 14 46 65 3 29 57 15 11 17 8 55 18 40 7 23 66 35 48 62 41 39 42 4 61 9 20 37 45 33 51 24 31 54 53 21 2 64 38 10 52 56 50 59 12 49 27 60 44 1];
Gives:
f h a f f s f o e o u i o f i i t o e i e g s w l s s i t c a n S u r t s e o m i t m r t . s s s s u c o u l o n n o l g u c h a r

I believe it should start with 66 and end with 33 (well that was my immediate 1st thought)
so I did a shift of 33 on your sequence to bring 66 to 1st position and tried again:

66 35 48 62 41 39 42 4 61 9 20 37 45 33 51 24 31 54 53 21 2 64 38 10 52 56 50 59 12 49 27 60 44 1 32 19 5 26 28 25 63 6 58 47 30 22 34 16 43 36 13 14 46 65 3 29 57 15 11 17 8 55 18 40 7 23
Gives:
S u r t s e o m i t m r t . s s s s u c o u l o n n o l g u c h a r f h a f f s f o e o u i o f i i t o e i e g s w l s s i t c a n

Still not right!

So, for now I am at a loss to resolve it 🙁

#92646
Rhydwen23
Participant

You say “I can generate the sequence you gave”…

Excellent.

As you say, “The Sequence you give does not give the re-arrangement for the plaintext”. That is correct. The sequence gets you from plain text to jumbled.

Looking at the sequence of numbers, 1 is in last position. In the jumbled sequence of letters capital ‘S’ is in last position. So, what was the first letter in the original plain text has finished up in last position in the jumbled text.

Starting from the beginning of the sequence of numbers, what was the 32nd letter in the original plain text (‘r’) becomes first in the jumbled text. Then, what was 19th (‘o’) becomes the second letter in the jumbled text.

Viewing 2 posts - 16 through 17 (of 17 total)
• You must be logged in to reply to this topic.