Encrypt and Decrypt, Arrays/Pointers

Hi guys, noob here. I’d appreciate any suggestions or tips about how to get through with this assignment. Thanks.

Using arrays and/or pointers, make a prog that will ask for a string. 2 user-defined functions (encrypt() and decrypt()). encrypt the inputted string and display. e.g. HELLO->KHOOR…orig: a-z,code: d-z,a-c

Assignment huh?


you have to be much more specific. It is not clear what you want to do nor which cryptographic algorithms you want to use.

Maybe you want to have a look at openssl OpenSSL: Documents, Misc or gpgme GPGME - GnuPG.org and have a loook if this is what you want.

hope this helps

Hrmph, i left school 29 years ago,didn’t like homework then & don’t like homework now >:)


Yeah, I got ambushed with this and I have no idea what to do and it’s supposed to be passed tomorrow.