+ 5

Challenge: Help the General.

...to decoce the enemy's secret message. General Patron is faced with a problem , his intelligence has intercepted some secret messages from the enemy but they are all encrypted. Those messages are crucial to getting the jump on the enemy and winning the war. Luckily intelligence also captured an encoding device as well. However even the smartest programmers weren't able to crack it though. So the general is asking you , his most odd but brilliant programmer. Mission: find the function device.decode("encodedmessage") Good luck ! General Patron is counting on you! test case: device.decode ('yFNYhdmEdViBbxc40,ROYNxwfwvjg5CHUYUhiIkp2CMIvZ.1qPz') //output: 'The quick brown fox jumped over the lazy developer.' reference: https://www.codewars.com/kata/52cf02cd825aef67070008fa/train/javascript ------------------------ note: the device.encode("normalmessage") is in the link, for take the hints or I'll post later from test encodes: device.encode("aaaaaaaa") ...("abcde...") en more encode tests for decipher the device.decode one. note2: I've found this challenge interesting so I share it cause I'm trying to solve it too. all the language welcome :) Let's help the General!!

1st Oct 2017, 1:06 AM
ysraelcon - avatar
1 Answer
+ 2
1st Oct 2017, 8:00 AM
Kunal Kumar
Kunal Kumar - avatar