A basic encryptor