Like you thought, it would be for learning expiriences
I like the idea of doing + and - rather then just adding.
I might also reverse the encrypted text, and maybe add a random number from 1 - 9 to all of them.
Example:
"perl"
p + 2 = r
e - 1 = d
r + 4 = v
l - 8 = d
rdvd
=
dvdr
(dvdr) + 4
hzhu
final word = "hzhu"
I would have the program read from program produced files, with maybe the scramble text at the top of the file, and the key at the bottom. The encryptor would create the files ( either getting input from a file or from stdin; both with command line options ), and decrypt the files and display the output in either a file, or stdout.
sounds good?