(MODS PLEASE MOVE =D)need a little help with a rotation cipher encryption problem.

DannyLove

Lifer
Oct 17, 2000
12,876
4
76
here are the words I am suppose to decode.

Mjqqt Hfjxfw. Mtb nx dtzw hnvmjw? Xyfd fbfd kwtr ymj Xjsfyj ytifd

here are the directions:
There are 26 such ciphers in the English alphabet. In the simplest, A is replaced with B, B is replaced with C, and so on, up to Z, which is replaced with A. This type of code is called rotate-one Caesar cipher because it rotates the alphabet one place. A rotate-two cipher replaces A with C, B with D, and so on until Z, which is replaced with B. The following line is encrypted using a simple Caesar rotation cipher.

so i have to de-cipher the above sentence having the rotating # n less than 10. so it can be 1-9 i did trial and error with just the first set of letters to see if any resulted in a real word and it didn't!!!!!!!! =( i'm no good at this, please help me!

danny~!
 

DannyLove

Lifer
Oct 17, 2000
12,876
4
76
serious, i do need sleep, but please, i need the value of n!!! this is driving me insane. and i'm not in the mood righ tnow :eek:
 

bafuu

Member
Apr 1, 2000
73
0
0
i think the n=5

whatever that means.

and the answer to the meaning of life is 42.
 

kt

Diamond Member
Apr 1, 2000
6,032
1,348
136


<< serious, i do need sleep, but please, i need the value of n!!! this is driving me insane. and i'm not in the mood righ tnow :eek: >>


shouldn't you be sleeping now that you know what n is?

--edit--

err.. haktmal is right, n=-5 and NOT 5.

 

DannyLove

Lifer
Oct 17, 2000
12,876
4
76
hahha, thanks kt for the n value. and to everyone else. I wish i can go to bed, but i got finals today. sucks

thanks, and bye
:)
danny~!
 

AbsolutPower

Member
Nov 20, 2000
68
0
0
Actually, I think n = 5, not -5 since the conversation from the real string to the coded string has H->M and not M->H. Plus, if n = -5, then n also = 21, and n has to be less than 10.
 

kt

Diamond Member
Apr 1, 2000
6,032
1,348
136


<< Actually, I think n = 5, not -5 since the conversation from the real string to the coded string has H->M and not M->H. Plus, if n = -5, then n also = 21, and n has to be less than 10. >>


Somewhere in your convoluted sentence, you just answer your own question. n has to be less than 10. So, if n = -5, then n also = 21.. but n has to be less than 10. Then, n = -5 is the only answer since there's no mention that n has to be a real number. Just think of it this way, the negative sign is a show of direction.
 

MSO4

Member
Oct 21, 2001
82
0
0
this is probably the least technical response but here is what i would do.
copy and past e the encoded words
open MS word and use the find and change functions might take some time but i t would automatically do all the changes for you.
 

crypticlogin

Diamond Member
Feb 6, 2001
4,047
0
0
Other than the 'ciqher' spelling, this is something C/C++ handles quite well with a few int(char) casts and for loops. Thanks for the fun programming problem (god knows I don't get excited about programming otherwise).

My code is uncommented and ugly so I'll save you all from the horrors that my professors had to grade. :)