Set key and set salt moved to host