simple cryptographic program