Log in Sign up
Back to Discover
💻

Transport Layer Security

technology Maturity 11-13

Computers use a secret way to talk.

Full TLS 1.2 Handshake.svg
Full TLS 1.2 Handshake.svg
It keeps your words safe. This helps hide your mail from others. It works on the web too. It is very good at its job. Do you use the web?

41 words

Computers use a secret way to talk.

Full TLS 1.2 Handshake.svg
Full TLS 1.2 Handshake.svg
This keeps your words safe. It hides your mail from others. It also works on the web.

First, one computer asks to talk safely. The other computer sends a digital paper. This paper proves who it is.

Next, they agree on a secret code. They use a special handshake to do this. This makes sure no one can listen in.

They also check that no one changes the words. This keeps the message the same. It makes the talk very strong.

This tool helps you use email and chat. It keeps your digital life very private.

115 words

When you use the internet, you need to stay safe. TLS helps keep your data private. It is a set of steps used to protect talk between computers.

Full TLS 1.2 Handshake.svg
Full TLS 1.2 Handshake.svg

TLS works through a handshake. This is a way for two computers to meet. First, one computer asks for a secure connection. The other computer sends a digital certificate. A certificate is like a digital ID card.

This ID proves the computer is real. It shows the name of the server. It also shows a trusted group that vouches for it. Once the identity is clear, the computers pick a secret code. They use this code to lock their messages. This is called encryption.

TLS also checks for tampering. Tampering is when someone tries to change your data. The system uses a special check to stop this. If the check fails, the connection stops. This keeps your email and chats very safe. The newest version is TLS 1.3. It was made in August 2018.

174 words

Have you ever wondered how your private messages stay secret online? Transport Layer Security, or TLS, is the tool that makes this possible. It is a set of rules for keeping digital talk safe. TLS helps protect many things like email and instant messaging. It is most famous for making HTTPS websites secure. This means your data stays private and cannot be changed by others.

Full TLS 1.2 Handshake.svg
Full TLS 1.2 Handshake.svg

How does this security actually work? It starts with a special meeting called a handshake. First, a client, like your web browser, asks a server for a secure connection. The server then sends a digital certificate to prove who it is. This certificate acts like a digital ID card. It lists the server's name and a trusted authority that vouches for it. The client checks this ID before moving forward.

Once the computers trust each other, they must agree on a secret code. They use a process called a handshake to pick encryption settings. The client and server create a shared secret key. This key is used to lock and unlock all the data sent during the session. Some methods, like Diffie-Hellman, provide something called forward secrecy. This means even if a secret key is stolen later, old messages stay safe. This step is very important for keeping long-term privacy.

TLS has a long history of learning from mistakes. It grew out of older rules called SSL, which Netscape Communications made in the 1990s. A scientist named Taher Elgamal is often called the father of SSL. Early versions like SSL 2.0 had many flaws and were not very safe. Because of these problems, experts had to redesign the rules many times. The first official TLS standard was defined by the IETF in 1999. The newest version, TLS 1.3, arrived in August 2018.

Full TLS 1.2 Handshake.svg
Full TLS 1.2 Handshake.svg

You can think of TLS like a secure tunnel for your data. When you visit a site like wikipedia.org, a tunnel is built between you and the server. Inside this tunnel, your information is scrambled so eavesdroppers cannot read it. It also includes a check to make sure no one tampers with your messages. If anyone tries to change the data, the system will notice. This keeps your digital life reliable and private every single day.

382 words

Transport Layer Security, commonly known as TLS, is a cryptographic protocol. It provides communication security over computer networks like the Internet. TLS is used in many applications, including email and instant messaging. Its most visible use is securing HTTPS, which protects web browsing. The protocol aims to provide three main things: privacy, integrity, and authenticity. Privacy, or confidentiality, ensures that only intended parties can read the data. Integrity means the data cannot be changed during transmission without being detected. Authenticity proves that the communicating parties are who they claim to be.

Full TLS 1.2 Handshake.svg
Full TLS 1.2 Handshake.svg

To achieve this security, TLS uses a process called a handshake. This procedure allows a client and a server to negotiate a stateful connection. The handshake begins when a client requests a secure connection from a TLS-enabled server. The client sends a list of supported cipher suites, which include various ciphers and hash functions. The server then selects a cipher and hash function that it also supports. After this, the server provides identification through a digital certificate. This certificate contains the server name and a trusted certificate authority, or CA, that vouches for its authenticity. It also includes the server's public encryption key.

Once the certificate is validated, the two parties must establish a shared secret key. This key is used for symmetric encryption, which is faster for sending large amounts of data. In older versions like TLS 1.2, the client might encrypt a random number, called a PreMasterSecret, using the server's public key. The server then decrypts this with its private key to generate the session key. Alternatively, they can use a Diffie–Hellman key exchange. This method allows them to generate a unique session key securely. A major benefit of this method is forward secrecy. If a server's private key is stolen in the future, it cannot be used to decrypt past sessions. TLS 1.3 requires this type of key exchange for all connections.

TLS is composed of two distinct layers: the TLS record protocol and the TLS handshake protocol. The handshake protocol handles the initial negotiation and authentication steps. The record protocol manages the actual data transmission using the agreed-upon encryption. While TLS is often used in the presentation layer to provide encryption to higher layers, it does not fit perfectly into the standard OSI or TCP/IP models. It runs on top of reliable transport protocols like TCP. However, many applications use TLS as if it were a transport layer itself. This means applications must actively manage the start of handshakes and the handling of certificates.

There is also a related protocol called Datagram Transport Layer Security, or DTLS. DTLS provides similar security guarantees but is designed for datagram-based applications. While TLS is used with stream-oriented protocols like TCP, DTLS works with protocols like UDP and SCTP. This makes DTLS useful for applications where speed is vital and some data loss is acceptable. DTLS avoids the "TCP meltdown" problem when used in VPN tunnels. Many modern web browsers use DTLS-SRTP for WebRTC communications. Various VPN clients, such as Cisco AnyConnect and ZScaler, also rely on DTLS to secure UDP traffic.

The history of these protocols is a story of constant improvement. TLS was first defined as an IETF standard in 1999. It was built upon the earlier SSL, or Secure Sockets Layer, specifications. Netscape Communications developed SSL in the mid-1990s to secure their Navigator browser. Taher Elgamal, a chief scientist at Netscape, is often called the "father of SSL." Early versions like SSL 2.0 had serious flaws. For example, SSL 2.0 used the same keys for both authentication and encryption. It also lacked protection for the initial handshake, making it vulnerable to man-in-the-middle attacks. These issues led to the complete redesign of the protocol into SSL 3.0 and eventually TLS.

Today, the current standard is TLS 1.3, which was defined in August 2018. This version is more secure because it only allows key exchange algorithms that provide forward secrecy. The evolution from SSL to TLS shows how developers respond to new security threats. By constantly revising the protocol, engineers ensure that our digital communications remain private and reliable. Whether you are sending an email or visiting a website, TLS is working in the background to protect your data from eavesdropping and tampering.

717 words
🖼️ Images & Media (2)
Let's Encrypt certificate example on...
File:Full TLS 1.2 Handshake.svg
Full TLS 1.2 Handshake.svg
Up Next
💻
HTTPS
Technology
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.