'XORs the given `string` with the next salsa and base64 encodes it.
Returns a protected string.'

def _protect(self, string):

    tmp = str(xor(string, self._get_salsa(len(string))))
    return base64.b64encode(tmp)
