it looks like tampa answered your question before i did.
i think XOR is a very simple way to implement crypt into your program...

a few other easy tachtics:
after the encryption (xor) process,
brea the text into ASCII values, then offset the ascii values, convert them to binary, and offset them again... this might impress your teacher though :-)

good luck in school