Sam is a computer expert. He works in a Security Company. His son Tim just turned thirteen and is new to C++ programming and ciphertexts . He decides to write a C++ program to make a cipher algorithm. His program has some limitations and can encrypt only one word at a time. He encrypts a message using his program and sends that message as an email to his Dad. Below is the coded message:-
Hj. i(o pmc|msm sjpfi mptqmsm5 Wigq wjno ypw gfv bben hpoh2 Ao{ze~y3 cbp ypw bskqk mf spohxmouo oo ypwu wb{ bben hpoh2
Here's the link to the program he wrote. Password is suinegmai (or something like that :P )
Can you decrypt the message, find the encryption algorithm and if possible write a C++ Program similar to his?
NOTE:- For Non-Windows Users - Download DosBox to run it. If you are not good with command line, then download a GUI frontend such as DappleGray for MacOSX.