- Cloud Native programming with Golang
- Mina Andrawos Martin Helmich
- 309字
- 2021-07-02 20:03:44
Symmetric-key algorithms in HTTPS
Now, let's return to the world of web applications and HTTP. In general, web applications are just different pieces of software that communicate using the HTTP protocol. As mentioned earlier in the chapter, to secure HTTP and transform it to HTTPS, we will combine it with another protocol called TLS. The TLS protocol makes use of symmetric-key algorithms to encrypt HTTP data between a client and a server. In other words, the web client and the web server start their communication by agreeing on a shared encryption key (some call it a shared secret), which is then used to protect the data going back and forth between them.
The sender application uses the key to encrypt the data before sending it to the recipient application, which in turn utilizes a copy of the same key to decrypt this data. This process is the symmetric-key algorithm part of the TLS protocol.

Symmetric-key algorithms in HTTPS
This sounds all good and well, but how exactly would a web client and web server securely agree on the same encryption key before starting to use it to send encrypted data? Obviously, the web client can't just send the key in plain text to the web server and not expect the key to being captured by an unauthorized third party that can then simply decrypt any secure communication via the stolen key. The answer to that question as we mentioned earlier is that the TLS protocol relies on not one, but two types of cryptography algorithms to secure HTTP. The symmetric-key algorithms, which we have covered so far, are utilized to secure most of the communication; however, the public-key algorithms are used for the initial handshake. This is where the client and the server say hi and identify each other, then agree on an encryption key to use thereafter.
- 數(shù)據(jù)通信與計(jì)算機(jī)網(wǎng)絡(luò)(第2版)
- Android全埋點(diǎn)解決方案
- 高可靠性電子裝備PCBA設(shè)計(jì)缺陷案例分析及可制造性設(shè)計(jì)
- 2018—2019年中國無線電應(yīng)用與管理藍(lán)皮書
- 電子產(chǎn)品零部件檢測與選用技能演練
- Untangle Network Security
- 21堂課精通電子元器件檢測
- 天地一體化信息網(wǎng)絡(luò)架構(gòu)與技術(shù)
- 被動(dòng)雷達(dá)寬帶數(shù)字接收機(jī)技術(shù)
- 海纜工程建設(shè)管理程序與實(shí)務(wù)
- Microduino實(shí)戰(zhàn)
- 電子愛好者入門
- 新型手機(jī)現(xiàn)場維修實(shí)錄
- Android 移動(dòng)應(yīng)用開發(fā)
- Protel 99 SE實(shí)戰(zhàn)100例