changed the main for encryption/decryption