Discuss Scratch
- MegaApuTurkUltra
-
Scratcher
1000+ posts
Can you decode this?
a="abcdefghijklmnopqrstuvwxyz";b="zaqwsxcderfvbgtyhnmjuiklop" "zaqwsxcderfvbgtyhnmjuiklop" msg = "xtnr bs" "xtnr bs" msg = "xtnrbs" "xtnrbs" for(var i=0;i<26;i++){ console.log(msg = msg.split``.map(e=>b[a.indexOf(e)]).join``); } ljgnam vrcgzb inqcpa eghqyz scdhop mqwdty bhkwjo adfkrt zwxfnj pklxgr yfvlcn oxivqg tleihc jvsedq rimswh nebmkd gsabfw cmzaxk qbpzlf haypvx dzoyil wptoev kyjtsi forjme xtnrbs ljgnam undefined for(var i=0;i<27;i++){ console.log(msg = msg.split``.map(e=>b[a.indexOf(e)]).join``); } vrcgzb inqcpa eghqyz scdhop mqwdty bhkwjo adfkrt zwxfnj pklxgr yfvlcn oxivqg tleihc jvsedq rimswh nebmkd gsabfw cmzaxk qbpzlf haypvx dzoyil wptoev kyjtsi forjme xtnrbs ljgnam vrcgzb inqcpa undefined msg="kgaeof" // rot13 "kgaeof" for(var i=0;i<27;i++){ console.log(msg = msg.split``.map(e=>b[a.indexOf(e)]).join``); } fczstx xqpmjl lhybrv vdoani iwtzge ekjpcs sfryqm mxnohb blgtda avcjwz ziqrkp pehnfy ysdgxo omwclt tbkqvj jafhir rzxden nplwsg gyvkmc coifbq qtexah hjslzd drmvpw wnbiyk kgaeof fczstx xqpmjl undefined msg="xtnrbs";for(var i=0;i<27;i++){ console.log(msg = msg.split``.map(e=>a[b.indexOf(e)]).join``); } forjme kyjtsi wptoev dzoyil haypvx qbpzlf cmzaxk gsabfw nebmkd rimswh jvsedq tleihc oxivqg yfvlcn pklxgr zwxfnj adfkrt bhkwjo mqwdty scdhop eghqyz inqcpa vrcgzb ljgnam xtnrbs forjme kyjtsi undefined msg="kgaeof";for(var i=0;i<27;i++){ console.log(msg = msg.split``.map(e=>a[b.indexOf(e)]).join``); } wnbiyk drmvpw hjslzd qtexah coifbq gyvkmc nplwsg rzxden jafhir tbkqvj omwclt ysdgxo pehnfy ziqrkp avcjwz blgtda mxnohb sfryqm ekjpcs iwtzge vdoani lhybrv xqpmjl fczstx kgaeof wnbiyk drmvpw undefined
Gotta be one of these things right?

- Icely
-
Scratcher
100+ posts
Can you decode this?
It's:
Pretty simple, wrote a code in Python 2.7
Works WELL. Input in “Xtnr bs”, get out “Forj me”.
lol posted at 13:37
Forj me
Pretty simple, wrote a code in Python 2.7
alpha = "abcdefghijklmnopqrstuvwxyz " #include space at end keystr = "zaqwsxcderfvbgtyhnmjuiklop " #Got from the link to the website def search(letter, string): #self explanatory for x, i in enumerate(string): if i == letter: return x def decode(msg, key): #Decodes the msg with key 'key' result = "" for letter in msg.lower(): result += alpha[search(letter, key)] return result #Get input print 'Decoded: ' + decode(raw_input("Message: "), keystr)
lol posted at 13:37
Last edited by Icely (Nov. 29, 2015 21:12:22)
- Dylan5797
-
Scratcher
1000+ posts
Can you decode this?
Lol, I brute forced it with this that I wrote cuz i am lazyLjgn aeNice, got the same
or
Forj me

I hope you realize that I wrote that ages ago

- comp09
-
Scratcher
1000+ posts
Can you decode this?
It's:FIXED by Mr. Grammar Nazi.Forj me
Pretty simple, wrote a code in Python 2.7Works good well. Input in “Xtnr bs”, get out “Forj me”.alpha = "abcdefghijklmnopqrstuvwxyz " #include space at end keystr = "zaqwsxcderfvbgtyhnmjuiklop " #Got from the link to the website def search(letter, string): #self explanatory for x, i in enumerate(string): if i == letter: return x def decode(msg, key): #Decodes the msg with key 'key' result = "" for letter in msg.lower(): result += alpha[search(letter, key)] return result #Get input print 'Decoded: ' + decode(raw_input("Message: "), keystr)
lol posted at 13:37
- Icely
-
Scratcher
100+ posts
Can you decode this?
It's:FIXED by Mr. Grammar Nazi.Forj me
Pretty simple, wrote a code in Python 2.7Works good well. Input in “Xtnr bs”, get out “Forj me”.alpha = "abcdefghijklmnopqrstuvwxyz " #include space at end keystr = "zaqwsxcderfvbgtyhnmjuiklop " #Got from the link to the website def search(letter, string): #self explanatory for x, i in enumerate(string): if i == letter: return x def decode(msg, key): #Decodes the msg with key 'key' result = "" for letter in msg.lower(): result += alpha[search(letter, key)] return result #Get input print 'Decoded: ' + decode(raw_input("Message: "), keystr)
lol posted at 13:37

- __init__
-
Scratcher
1000+ posts
Can you decode this?
FIXED by Mr. ATer.It's:FIXED by Mr. Grammar Nazi.Forj me
Pretty simple, wrote a code in Python 2.7Works good well. Input in “Xtnr bs”, get out “Forj me”.alpha = "abcdefghijklmnopqrstuvwxyz " #include space at end keystr = "zaqwsxcderfvbgtyhnmjuiklop " #Got from the link to the website def search(letter, string): #self explanatory for x, i in enumerate(string): if i == letter: return x def decode(msg, key): #Decodes the msg with key 'key' result = "" for letter in msg.lower(): result += alpha[search(letter, key)] return result #Get input print 'Decoded: ' + decode(raw_input("Message: "), keystr)
lol posted at 13:37
- Icely
-
Scratcher
100+ posts
Can you decode this?
:no:snip
FIXED by Mr. ATer.
Last edited by Icely (Nov. 29, 2015 21:44:40)
- Zro716
-
Scratcher
1000+ posts
Can you decode this?
“gork ne”? “Forj me”? I think it would say “Fork me” but I can't get it without modifying the input message
function decode(a,b,c){for(var i=0,d="";i<c.length;i++)d+=a[b.indexOf(c[i])];console.log(d);} var alpha1 = " ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", alpha2 = " ZAQWSXCDERFVBGTYHNMJUIKLOPzaqwsxcderfvbgtyhnmjuiklop"; decode(alpha1,alpha2,"Xtnr bs"); // "Forj me" decode(alpha2,alpha1,"Xtnr bs"); // "Ljgn am" // shouldn't it be this? decode(alpha1,alpha2,"Xtnf bs");
- MegaApuTurkUltra
-
Scratcher
1000+ posts
Can you decode this?
Wait that's it?I did it! The secret message is “gork ne”Yup
Wat
- Icely
-
Scratcher
100+ posts
Can you decode this?
how u do thisWait that's it?I did it! The secret message is “gork ne”Yup
Wat
- NickyNouse
-
Scratcher
1000+ posts
Can you decode this?
I was eyeballing it, but the thing about varied-with fonts is that comparing two rows won't work. It's probs Forj mehow u do thisWait that's it?I did it! The secret message is “gork ne”Yup
Wat
- __init__
-
Scratcher
1000+ posts
Can you decode this?
…which is what I got…I was eyeballing it, but the thing about varied-with fonts is that comparing two rows won't work. It's probs Forj mehow u do thisWait that's it?I did it! The secret message is “gork ne”Yup
Wat
- -Io-
-
Scratcher
1000+ posts
Can you decode this?
lol eyeballing didn't give me gork ne :pI was eyeballing it, but the thing about varied-with fonts is that comparing two rows won't work. It's probs Forj mehow u do thisWait that's it?I did it! The secret message is “gork ne”Yup
Wat
i put both thingies in a monospace font and did it like that
(i know how your code was made)
rfv ik
wsx ↓ yhn ↓ p
↓ ↓ ↓ ↓ ↓
q w e r t y u i o p
a s d f g h j k l
z x c v b n m ↑
↑ ↑ ↑ ↑ lo
zaq ↑ bgt ↑
cde mju
EDIT: btw i got Forj me
Last edited by -Io- (Nov. 30, 2015 01:58:02)