Encrypt endpoint url