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 know that the private and public key in assymetric cryptography are different and the public is used for encryption while the private for decryption. My question is if they are symmetrical to each other in a mathematical way? They must be because the one is inverting what is done by the other.

share|improve this question

The public key and private key are related, but that does not mean that they have to be symmetric, and normally they are not. For instance with a public/private key in RSA, the public exponent is normally a small value, while the private exponent has a larger value. They can have the same properties though - making them symmetric in that sense - but this is not common.

As for EC public and private keys, these have different properties. One is actually a vector and the other a point. So there is no symmetry there.

What is common is that the public and private key share some properties. For RSA keys this is the modulus, and with EC keys the domain parameters should be equal for the algorithms to work.

I don't think it is wise to think of a public and private key to be symmetric, even though both keys are part of the same mathematical framework.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.