Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from Jun 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

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

share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.