与未加密的连接相比,TLS增加了多少网络开销? [英] How much network overhead does TLS add compared to a non-encrypted connection?

查看:115
本文介绍了与未加密的连接相比,TLS增加了多少网络开销?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(大约)与未加密的连接相比,在加密的连接期间必须通过网络传输多少位数据?

(Approximately) how many more bits of data must be transferred over the network during an encrypted connection compared to an unencrypted connection?

IIUC,一旦TLS握手完成,传输的位数就等于未加密连接期间传输的位数.这是正确的吗?

IIUC, once the TLS handshake has completed, the number of bits transferred is equal to those transferred during an unencrypted connection. Is this accurate?

作为后续措施,考虑到快速处理器和相同(理想)网络条件,通过https传输大文件是否比通过http传输该文件要慢得多?

As a follow up, is transferring a large file over https significantly slower than transferring that file over http, given fast processors and the same (ideal) network conditions?

推荐答案

我已经遇到了几次这个问题,所以我决定根据常见情况用一些样本数来写一些有关开销的小解释.您可以在我的博客上阅读它,网址为 http://netsekure.org/2010/03/tls-开销/.

I've gotten this question a few times, so I decided to write up a small explanation of the overhead with some sample numbers based on common case. You can read it on my blog at http://netsekure.org/2010/03/tls-overhead/.

博客文章摘要:

  • 建立新的TLS会话的总开销平均约为6.5k字节.
  • 恢复现有TLS会话的总开销平均约为330字节.
  • 加密数据的总开销约为40个字节.

这篇关于与未加密的连接相比,TLS增加了多少网络开销?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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