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!
@Skalman, nice. I was not completely clear about the implementation so I've updated the description above. I've added the solution to my example.