Basic cryptography program