DevonRevenge's decoding challenge #1: I scrambled a sentence can you decode it(with algorithm provided)
devonrevenge (897)
Dec 19, 2012 at 7:19pm UTC
my alphabet...char zeta[27]= {'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' ,' ' };
is that in the correct order? im dyslexic enough to never really be sure
Catfish3 (279)
Dec 19, 2012 at 7:21pm UTC
Yes it is. Hmm...
Edit: works now.
Last edited on Dec 19, 2012 at 7:32pm UTC
helios (10258)
Dec 19, 2012 at 7:37pm UTC
hamsterman: Good eye. I hadn't considered interactions between a and cipher. Actually, the same happens for cipher=3. This is because 3 is a divisor of 27. When cipher=9 it's even worse. All letters map to one of {0,9,18}.
So yeah. Bad idea to mix multiplication and modulo by a non-prime.
Last edited on Dec 19, 2012 at 7:39pm UTC
Catfish3 (279)
Dec 19, 2012 at 7:39pm UTC
Hey devon, let's communicate (I'm using the same "cipher" and alphabet).
sgetrutymodhrudwgmhgv pmpjnqcfbmynyfnpqq
devonrevenge (897)
Dec 19, 2012 at 8:25pm UTC
henhmuuwhfsnvpywyddsusdtremxegymlfpvqccrudwgisravdpuo
Last edited on Dec 19, 2012 at 8:50pm UTC
Catfish3 (279)
Dec 19, 2012 at 9:14pm UTC
wfihhqyyjoinxszggehrlfojlxwwaicdzvca
fcefqbtykfirhozblonsddpylptwevbmi atfiwpozgi opeodqk
Last edited on Dec 19, 2012 at 9:18pm UTC
Topic archived. No new replies allowed.