Integration for Encryption and Decryption