Added Encryption and Decryption Mechanism