Added support for data encryption and decryption.