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?

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

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


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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy