I have done this already in my academic classes - Cryptography and Network Security. I will make different encrypt and decrypt classes for each with one driver function to call them.
Hi, would you mind sending through some more details? I can't tell if you need the functions written from scratch or if you need them to encrypt a string or something else.