Discuss Scratch

ninjagolloyd
Scratcher
500+ posts

Can you decode this?

Ok, so here goes:

Xtnr bs
NickyNouse
Scratcher
1000+ posts

Can you decode this?

I did it! The secret message is “gork ne”
IronBit_Studios
Scratcher
1000+ posts

Can you decode this?

Caesar's Cipher?
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?
__init__
Scratcher
1000+ posts

Can you decode this?

Ljgn ae
or
Forj me
Icely
Scratcher
100+ posts

Can you decode this?

It's:
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)
Works WELL. Input in “Xtnr bs”, get out “Forj me”.

lol posted at 13:37

Last edited by Icely (Nov. 29, 2015 21:12:22)

Icely
Scratcher
100+ posts

Can you decode this?

__init__ wrote:

Ljgn ae
or
Forj me
Nice, got the same
Dylan5797
Scratcher
1000+ posts

Can you decode this?

Icely wrote:

__init__ wrote:

Ljgn ae
or
Forj me
Nice, got the same
Lol, I brute forced it with this that I wrote cuz i am lazy

I hope you realize that I wrote that ages ago
Firedrake969
Scratcher
1000+ posts

Can you decode this?

Convergent evolution
comp09
Scratcher
1000+ posts

Can you decode this?

Icely wrote:

It's:
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)
Works good well. Input in “Xtnr bs”, get out “Forj me”.

lol posted at 13:37
FIXED by Mr. Grammar Nazi.
Icely
Scratcher
100+ posts

Can you decode this?

comp09 wrote:

Icely wrote:

It's:
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)
Works good well. Input in “Xtnr bs”, get out “Forj me”.

lol posted at 13:37
FIXED by Mr. Grammar Nazi.
__init__
Scratcher
1000+ posts

Can you decode this?

Icely wrote:

comp09 wrote:

Icely wrote:

It's:
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)
Works good well. Input in “Xtnr bs”, get out “Forj me”.

lol posted at 13:37
FIXED by Mr. Grammar Nazi.

FIXED by Mr. ATer.
Icely
Scratcher
100+ posts

Can you decode this?

__init__ wrote:

snip

FIXED by Mr. ATer.
:no:

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");
ninjagolloyd
Scratcher
500+ posts

Can you decode this?

NickyNouse wrote:

I did it! The secret message is “gork ne”
Yup
MegaApuTurkUltra
Scratcher
1000+ posts

Can you decode this?

ninjagolloyd wrote:

NickyNouse wrote:

I did it! The secret message is “gork ne”
Yup
Wait that's it?
Wat
Icely
Scratcher
100+ posts

Can you decode this?

MegaApuTurkUltra wrote:

ninjagolloyd wrote:

NickyNouse wrote:

I did it! The secret message is “gork ne”
Yup
Wait that's it?
Wat
how u do this
NickyNouse
Scratcher
1000+ posts

Can you decode this?

Icely wrote:

MegaApuTurkUltra wrote:

ninjagolloyd wrote:

NickyNouse wrote:

I did it! The secret message is “gork ne”
Yup
Wait that's it?
Wat
how u do this
I was eyeballing it, but the thing about varied-with fonts is that comparing two rows won't work. It's probs Forj me
__init__
Scratcher
1000+ posts

Can you decode this?

NickyNouse wrote:

Icely wrote:

MegaApuTurkUltra wrote:

ninjagolloyd wrote:

NickyNouse wrote:

I did it! The secret message is “gork ne”
Yup
Wait that's it?
Wat
how u do this
I was eyeballing it, but the thing about varied-with fonts is that comparing two rows won't work. It's probs Forj me
…which is what I got…
-Io-
Scratcher
1000+ posts

Can you decode this?

NickyNouse wrote:

Icely wrote:

MegaApuTurkUltra wrote:

ninjagolloyd wrote:

NickyNouse wrote:

I did it! The secret message is “gork ne”
Yup
Wait that's it?
Wat
how u do this
I was eyeballing it, but the thing about varied-with fonts is that comparing two rows won't work. It's probs Forj me
lol eyeballing didn't give me gork ne :p
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
(with a keyboard!)
EDIT: btw i got Forj me

Last edited by -Io- (Nov. 30, 2015 01:58:02)

Powered by DjangoBB