HTTPS使用非对称或对称加密

HTTPS使用非对称或对称加密

本文介绍了HTTPS使用非对称或对称加密?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我整个上午都在搜索,但是发现网站据说使用TLS协议通过非对称加密发送数据然后我发现相反请您告诉我那是真的吗?谢谢有人知道一个指南,该指南逐步说明了通过TLS进行TLS协议的握手吗?

I have searched all this morning but I've found websites where it is said that data is sent through an asymmetric encryption using the TLS protocolThen I found the contraryPlease can you tell me which is true? ThanksAnd does anyone know a guide where it is explained step by step the handshake of tls protocol over https?

推荐答案

最好的答案是两者都做. TLS使用非对称加密来首先建立一方或双方的身份.其次,它使用非对称加密将密钥交换为对称密码.因此,非对称仅在通信的初始设置期间使用.

The best answer is that it does both. TLS uses asymmetric encryption to first establish identity of one or both parties. Secondly, it uses asymmetric encryption to exchange a key to a symmetric cipher. So asymmetric is only used during the initial setup of communication.

其余部分使用的对称加密在传输大量数据时更快,更高效.密钥较小,这通常就是为什么它更快的原因,但是它的算法也更易于处理.

Symmetric encryption which is used through the rest is faster and more efficient with large amounts of data transfer. The keys are smaller which is generally why it's faster, but it's algorithm is also easier to process.

就指南而言,简单的Google搜索将为您带来很多好处.我从 IBM 看起来不错.他们删除了一些多余的细节,以使其更易于理解.

As far as a guide goes, a simple Google search will give you plenty. The one I found from IBM looks decent. They removed some of the excess detail to make it easier to understand.

这篇关于HTTPS使用非对称或对称加密?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 02:26