Can a public key have a different length (encryption) than the private key?

后端 未结 5 1068
我寻月下人不归
我寻月下人不归 2021-02-08 23:09

I have a 1024 bits private key, and use it to generate a public key. Does that automatically mean that my public key also has 1024 encryption? Or can it be of a lesser encryptio

5条回答
  •  半阙折子戏
    2021-02-08 23:23

    I was looking from various sources, and my conclusion is that the modulus (n=p*q) used to RSA key generation, is the same for the public and the private key. The modulus determines the length of the key for both.

提交回复
热议问题