# Is this exponentation or bitwise XOR

I'm reading about SRP from this page and came accross the line that says a party computes

v = g^x

I am unfamiliar with reading cryptography texts. Does this mean gx, or g ⊕ x?

-

## migrated from security.stackexchange.comJun 20 '13 at 10:39

This question came from our site for Information security professionals.

Exponentiation. ^ meaning XOR is something common in C-like languages, but not in Math AFAIK. –  mgibsonbr Jun 20 '13 at 2:00

## 2 Answers

It depends on the context, but later in this paper, the author makes it clear that he is using it to mean exponentiation:

The one-way'' verifier-generator P() becomes a modular exponentiation in GF(n):

P(x) = g^x

-

In SRP, v = g^x means $v = g^x \mod p$, i.e. exponentiation modulo a large prime $p$.

-