Problem solving challenges are fun. They make use of one's problem solving skills and stimulate the programmer's need to challenge themselves.
These 1151159511610110199114
numbers represent a word.
- The word may only contain a-zA-Z_
- The word is of size 8.
In this particular case the secret word was s_ecrets
.
Write two functionsthat can encrypt an arbitrary string and return a string of numbers such as the one above. The program should also be able to take a string of numbers and return the original word.
Happy hacking!
115 115 95 116 101 101 99 114
converted to ASCII chars isss_teecr
which happens to be an anagram forsecrets_
.