HTTPS uses Asymmetric or Symmetric encryption?

你说的曾经没有我的故事 提交于 2020-08-04 05:10:48

问题


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 protocol Then I found the contrary Please can you tell me which is true? Thanks And does anyone know a guide where it is explained step by step the handshake of tls protocol over https?


回答1:


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.

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://stackoverflow.com/questions/37791013/https-uses-asymmetric-or-symmetric-encryption

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!