Procedure that does encryption
I would suggest using a classical cipher like Vigenère, for example:

Plaintext:  Hello, How are you?
Key:        topsecret
Ciphertext: Asads, Jfa tks ngy?


But bear in mind that classical encryption techniques are very insecure by modern standards.