Am I on the right track?

Custom encoding

gphalen
7 years ago

0

I don’t know if I completely understand what is meant by “Re-number all visible ascii characters,” but the output I’ve got with the following JavaScript code seems similar to the output I’ve seen in other posts:

var str1 = (document.getElementsByTagName(‘textarea’)[0].value);
var str2=str1.split(“,”);
var strArr=[]

//Get numbers in string, push them into array
for (var x=0;x<str2.length;x++){
var y=parseInt(str2[x])
strArr.push(y)

}

//Remove “NaN” values from array
for (var a=0;a<strArr.length;a++){
if (isNaN(strArr[a]))
strArr.splice(a,1)
}

var strArr2=[]

//Get charcode values of numbers
for(var b=0;b<strArr.length;b++){
strArr2.push(String.fromCharCode(strArr[b]))
}
console.log(strArr2)
[/Spoiler]

Output from this:

[Spoiler]
[“1”, “5”, “7”, “6”, “”, “+”, “=”, “5”, “:”, “5”, “0”, “”, “/”, “/”, “)”, “,”, “‘”, “=”, “+”, “”, “6”, “9”, “+”, “9”, “0”, “/”, “,”, “;”, “=”, “0”, “0”, “/”, “”, “+”, “=”, “%”, “”, “6”, “9”, “%”, “=”, “8”, “”, “9”, “,”, “=”, “1”, “/”, “0”, “7”, “6”, “=”, “+”]

9replies
8voices
331views
? [bolofecal]
7 years ago

0

The output to this numbers will result in a meaningful phrase. I suggest you reverse the method for crypt explained in level.

gphalen
7 years ago

0

OK, I took a break from this one for a while but I’m still not 100% clear. Is the code below a valid implementation of the first step? I find it kinda hard to determine what we’re supposed to do.

var str1 = (document.getElementsByTagName(‘textarea’)[0].value);

var solution = str1.split(/[\s,]+/);

for (var x=0;x<solution.length-1;x++)
solution[x]=solution[x]-32
document.getElementsByTagName(‘textarea’)[1].value=solution

mychris
6 years ago

0

i try to pass this level with python, i do the first level with.
for exemple have :

61,48,37, ,39,61,48,42,43, ,59,61,48, ,43,54,57, ,60,57,59,61,41,43,57, ,60,57,57,48, ,54,57,44, ,54,53,43, ,37,57,42, ,39,47,41,50,58

i back :
any wants can she because been her his yet would

It’s the good pattern for the respond ? or i will send : a,n,y, ,w,a,n,etc….. ?

vishu4394
6 years ago | edited 6 years ago

0

you are almost on the right track, just see the encryption technique again for proper understanding, you are missing a step.
And there’s also some logical mistake in your second code

Reply has been removed
ulrichgamer
6 years ago

0

hello guys, sorry help me a little, I’m still new and I can not decode this chain, because I do not even know the principle, so if you can give me some advice

Smyler [WHGhost]
6 years ago

0

The numbers' meaning is explained, follow the link on the level page.

gujikrut
5 years ago | edited 5 years ago

0

I’m having trouble following the encryption algorithm:

example string: ‘dog’
char length: 3
new ascii values: 4, 15, 7

“Take this value, and subtract it from the total number of visible ASCII characters.”

3-4, 3-15, 3-7
-1, -12, -4.

“Get the character at this position.”
??? There are no negative ascii codes.

Smyler [WHGhost]
5 years ago

0

Your total number of visible ASCII characters is wrong.

gphalen
5 years ago

0

Anyone available for a private message? Just tackled this one for the first time in a looong time, I’m successfully decrypting it to intelligible English words, but it still comes up “incorrect.”

You must be logged in to reply to this discussion. Login
1 of 10

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss