sent encrypted text to server