如何公钥加密工作 [英] how does public key cryptography work

查看:156
本文介绍了如何公钥加密工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对RSA的理解是,Alice可以创建公共密钥和私钥组合,然后将公钥发送给Bob。然后,Bob可以使用公钥加密某些东西,Alice将使用公共和私有组合来解密它。

What I understand about RSA is that Alice can create a public and a private key combination, and then send the public key over to Bob. And then afterward Bob can encrypt something using the public key and Alice will use the public and private key combo to decrypt it.

然而,Alice如何加密要发送的东西到鲍勃? Bob怎么解密呢?我问,因为我很好奇,当我登录我的银行网站,我的银行发送我的数据,如我的在线报表。我的浏览器如何解密这些信息?我没有私钥。

However, how can Alice encrypt something to be sent over to Bob? How would Bob decrypt it? I ask because I'm curious how when I log onto my banking site, my bank sends me data such as my online statements. How does my browser decrypt that information? I don't have the private key.

推荐答案

简单,你需要一个密钥。

Simple, you need a key.

SSL / TLS通过在连接设置期间创建对称会话密钥来解决此问题。公钥密码术用于建立该会话密钥,然后将其用于双向数据通信。 详细了解TLS

SSL/TLS solves this problem by creating a symmetric session key during the connection setup. The public key cryptography is used to establish this session key, which is then used for bi-directional data communication. Read more about TLS

这篇关于如何公钥加密工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆