Added XOR encryption and completed encrypted upload (on all node)