Encrypting large files using a public key

前端 未结 5 2079
遥遥无期
遥遥无期 2020-12-17 19:42

I need to encrypt a 100KB file using a public key. I\'ve been reading some posts claiming that it is not practical to directly encrypt large files using a public key, and th

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-17 20:05

    Aside from the speed-boost of symmetric key encryption, there's another possible benefit: By first encrypting the message with a random securely-generated symmetric key, you can then encrypt the symmetric key for multiple recipients, once in each recipient's own public asymmetric key, without having to re-encrypt the entire message.

提交回复
热议问题