how to use encryptions in c++

can somebody tell me how to use encryptions through this program :-d
i wanna make a program that encrypt or decrypt the serial number .. the program shal terminate when user enter q , they want you to get serial number and print the result (that means they don't want to enter umber by number :-d)
You will multiply from 0-9 by the last result of encryption or decryption of the last number

sample input
when he enters 1234
you print output 012345678936210123456789
cos the ecryption for 4 is 1...
he gave me encryptions for numbers from 0-9....
If I understand the question correctly and it has nothing to do with C++ encryption. I think your question asks you to encrypt the number based on the given pattern in the question.
But, if I am wrong, and you want to use some encryption techniques such as Triple DES or something, then there are several already implemented codes available online (if it is only the matter of using it).
Last edited on
Homework question. Figure it out, OP.
Topic archived. No new replies allowed.