I don't why we can decrypt the message using our private key if it's encrypted using our public key.

If a message is encrypted using my public key, then how can I decrypt it using my private key? It doesn't make sense at all.

The only way it can do that is that on my side, the private key can be generated using my public key.

Can anybody make things clear for me?

  • You do know how keys are generated, right?
    – schroeder
    Jan 28, 2022 at 16:58
  • no; understanding the generation-process would clarify what i have asked?
    – navid
    Jan 28, 2022 at 17:07
  • It would help your understanding of how the process works. The keys are generated together at the same time.
    – schroeder
    Jan 28, 2022 at 17:08
  • There are numerous explainers out there for how all this works for non-technical people. Videos, blogs, infographics. I have linked our answers to your question above. Even wiki has a good overview.
    – schroeder
    Jan 28, 2022 at 17:09


Browse other questions tagged .