Sorry if this is a bit off-topic.  I'm looking at the output
of "rsa -text" for an RSA key, and I can't figure out what all
the different fields are:

"n" = modulus
"e" = publicExponent (65537)
"d" = privateExponent
"p" = prime1
"q" = prime2
      exponent1
      exponent2
      coefficient

The fields I've marked above (n, e, d, p, q) refer to the similarly-named
terms in the RSA FAQ description of "how RSA works" (quoted below).
Can someone tell me what the fields "exponent1", "exponent2" and
"coefficient" are, and how they fit in to the math calculation for
the keys?

Thanks very much,
 -T.


----------------------------------------------------------------------
(The following is from the RSA FAQ, Q 3.1.1)

RSA works as follows: take two large primes, p and q, and compute
their product n = pq; n is called the modulus. Choose a number, e,
less than n and relatively prime to (p-1)(q-1), which means e and
(p-1)(q-1) have no common factors except 1.  Find another number
d such that (ed - 1) is divisible by (p-1)(q-1). The values e and
d are called the public and private exponents, respectively. The
public key is the pair (n, e); the private key is (n, d). The
factors p and q may be kept with the private key, or destroyed.
----------------------------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to