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

后端 未结 8 746
长发绾君心
长发绾君心 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:43

    RSA Laboratories describes why pretty well

    In practical applications, it is common to choose a small public exponent for the public key.

    ...

    With the typical modular exponentiation algorithms used to implement the RSA algorithm, public key operations take O(k^2) steps, private key operations take O(k^3) steps

提交回复
热议问题