3
$\begingroup$

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?

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

2 Answers 2

5
$\begingroup$

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

$\endgroup$
1
$\begingroup$

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

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.