Can you break this code :D? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Can you break this code :D?

Try to find out how this cipher works without looking at js code ;) https://code.sololearn.com/W6mKjxfGH9XD/#html

16th Sep 2017, 4:39 PM
matmozaur
matmozaur - avatar
10 Answers
+ 2
Each character is incremented by n%26 (if it become bigger than 'z', it is reduced by 26) where n is its place in the string (starting from 1)
16th Sep 2017, 5:15 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 2
I think it is the alphabet but %26 so z+1 = a However every char is reduced by a certain value I think that value is the it's place corresponding to the fibonacci sequence How close am I? :D
17th Sep 2017, 6:04 PM
Nick
Nick - avatar
+ 1
@Baptiste I managed to reverse engineer your chipher (without ​looking at your source code). Was unusual mix of usual techniques. It is unusual to know the key but not the algorithm.
18th Sep 2017, 6:43 AM
Jared Bird
Jared Bird - avatar
0
each char is the following char in the alphabet
16th Sep 2017, 5:07 PM
voidneo
0
@Baptiste E. Prunier not exactly, but close :D (it's a bit more complicated function)
16th Sep 2017, 7:46 PM
matmozaur
matmozaur - avatar
0
If anybody has idea of decoding my text try put in into coding input and if you right you will khnow it ;)
16th Sep 2017, 7:49 PM
matmozaur
matmozaur - avatar
0
Nice one! Glad to know I'm a codebreakers badass. Took me about 15 minutes to solve by hand. Thought about writing code help solve it, but I would still have to copy inputs and outputs into a program manually, so kinda defeats the point.
17th Sep 2017, 3:08 AM
Jared Bird
Jared Bird - avatar
0
@Jared, as you are a codebreaker, can you find this one ? :p https://code.sololearn.com/cyXxOpKJ6m5j/?ref=app
17th Sep 2017, 6:48 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
@Nick you are close. You should be able to get it if you worked this out
18th Sep 2017, 6:35 AM
Jared Bird
Jared Bird - avatar
0
@Jared it is because the key is defined by the user, so if you have the program, you can do tests :)
18th Sep 2017, 6:55 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar