Why RSA Decryption process takes longer time than the Encryption process?

后端 未结 8 747
长发绾君心
长发绾君心 2021-02-08 15:19

I have some idea that it is due to some complex calculation, but i want to know about what exactly happens which takes long time than the corresponding encryption process. Any l

8条回答
  •  离开以前
    2021-02-08 15:32

    d and e are multiplicatively inverse numbers modulo phi(n). That means that it doesn't matter witch of the two you'll choose for encryption, and witch one for decryption. You just choose once before encryption. If you want fast decryption than you choose the bigger number for encryption. It's that simple.

提交回复
热议问题