Implemented encryption for local xml file