传统密码学和公钥密码学有什么区别?
问问题
1608 次
2 回答
1
You should probably re-phrase your question:
Public-key cryptography uses an asymmetric approach where the key used to encrypt and the key used to decrypt a message are not the same. Here is a description of the RSA asymmetric algorithm: RSA (asymmetric cryptography)
There is probably no "conventional crypthography". What you probably mean are symmetric algorithms where both keys are the same. Symmetric key algorithm
于 2011-01-04T11:27:08.217 回答
0
基本上,公钥加密意味着您拥有一对“公钥/私钥”。公钥可用于加密消息,但不能解密它们。顾名思义,私钥是秘密的,可用于解密消息。
典型用法是这样的:
- Alice 创建了一个公钥/私钥对。
- Alice 将她的公钥发送给 Bob,将私钥保存在安全的位置。
- Bob 将加密的消息发送给 Alice。
- Alice 收到消息并使用她的私钥对其进行解密。
非对称加密的使用示例:
- 在无法建立信任通道来交换对称密钥的情况下(例如 HTTPS):由于公钥无法解密,因此通过不受信任的连接发送它是安全的
- 当多个用户需要使用同一个公钥时(例如加密的电子邮件):即使所有发件人都使用同一个公钥,他们也不能用它来解密任何消息;只有收件人有私钥
于 2011-01-04T11:33:45.880 回答