Posts: 6,419
Threads: 74
Joined: Mar 2002
I'm gonna add myself to the current
motif. Decrypt this short text:
Code:
72<3>7=>3<47>55<8>3<6<8
It is fairly easy
so the best algo wins (shorter & faster).
Posts: 2,765
Threads: 138
Joined: Nov 2002
is it a sentence? :x Gah! Im horrible at these
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 6,419
Threads: 74
Joined: Mar 2002
It is a sentence
Posts: 2,765
Threads: 138
Joined: Nov 2002
is this the answer?
Code:
72<3>7=>3<47>55<8>3<6<8
if not i dont know >_>
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 6,419
Threads: 74
Joined: Mar 2002
I am asking you to decrypt my file.
C'mon, is it that hard?
I think it is fairly easy.
Posts: 480
Threads: 24
Joined: Mar 2003
Posts: 2,771
Threads: 96
Joined: Oct 2003
aha i know the algo. will post after my exam.... exam? **AAHHHH**
my exam in 15 mins....
Posts: 6,419
Threads: 74
Joined: Mar 2002
Quote:Quote:72<3>7=>3<47>55<8>3<6<8
Code:
CLS
PRINT "HELLO WORLD"
END
*peace*
Meg.
Hey, that was not fair. You gave a serious hint and didn't give the algo to decrypt the text. Basicly, you ruined the challenge
Posts: 1,556
Threads: 298
Joined: Dec 2002
Awwwww... Meeeeeeeeeeeeg!
Ah well, I was gonna give it a shot, and fail. But Nate, tell us, how the heck do we decrypt that anyway?
Posts: 2,771
Threads: 96
Joined: Oct 2003
YEEHAW!
this is soooo messy, but hey...
Code:
'AHA!
CLS
s$ = "72<3>7=>3<47>55<8>3<6<8 "
FOR I = 1 TO LEN(s$)
a$ = MID$(s$, I, 1)
IF VAL(a$) <> 0 THEN
num$ = num$ + a$
ELSE
IF orig = 0 THEN orig = VAL(num$)
oldd$ = old$
old$ = a$
oldnum = num
num = VAL(num$)
num$ = ""
SELECT CASE oldd$
CASE ">"
new = new + num
CASE "<"
new = new - num
END SELECT
PRINT CHR$(new + orig);
END IF
NEXT