Cryptographic tools like hashing, symmetric and asymmetric encryption, and public key infrastructure are applied in combination across real-world protocols and technologies to establish secure communications. This content covers how those building blocks come together in TLS, VPN tunnels, and other widely used security protocols.
Applying Cryptographic Solutions
There's a lot of different cryptography solutions out there. Things like hashing, where we can hash things and create that unique fingerprint, and this is just a small list, there's a ton that are available out there. We have the encryption side of things where we can encrypt and decrypt, and we have symmetric encryption algorithms and asymmetric encryption algorithms. Although some of it's a little misleading, because Diffie-Hellman is asymmetric cryptography but technically it's not actually encryption, it's just key exchange.
Then we take these cryptographic solutions and apply them to some sort of issue that we see. For instance, the public key infrastructure has been implemented so that we can securely connect to sites and have some sort of verification of those sites. What do we use in it? We use those hashes, so we can hash the information and create that unique fingerprint, and then we take those and we encrypt it with asymmetric cryptography, so RSA would be an example of that, that we encrypt this information then to create these digital certificates.
We can also take these cryptographic solutions and apply them to older protocols to make them more secure. As an example, HTTP is an old protocol that is secure, and so what do we do? We create transport layer security, which we can add to protocols like HTTP to make it more secure, so now we have HTTPS. Transport layer security uses hashing algorithms, it uses symmetric algorithms, it uses asymmetric algorithms, and it uses public key infrastructure, or some sort of combination of those things, to create this secure communication.
Transport layer security can be used to secure our communication and it's used in a lot of different situations, but one of them is connecting to websites. However, that's not the only scenario that we have out there. There are times when we have a company network and we want to interconnect different sites.
In this example right here, let's say we have a site A and a site B and we want to create a tunnel between them. A tunnel means that we're going across other networks, but we want it to be directly connected between these two different sites, and so we create a tunnel between these sites. The problem is that it's going across maybe insecure networks and we need to encrypt that. So then we create a VPN tunnel. A VPN stands for virtual private network, and so it's virtually private because we encrypt that traffic going across those insecure networks.
A VPN tunnel could be set up using two different protocols. It could be an IPsec VPN tunnel or a TLS VPN tunnel, and those are two different things. The TLS VPN tunnel would operate much like a website, which has a lot of advantages to it, but it has some drawbacks and disadvantages. So maybe we want to create an IPsec tunnel, which is actually much more prevalent out there when it comes to VPNs.
Really, what that looks like is a TLS happens at the application layer, versus an IPsec happens at layer three, at an IP packet layer. So it operates quite a bit differently, although it uses a lot of the same concepts. It has the hashes and the symmetric algorithms and the asymmetric algorithms, and it uses variations of those as well, to implement an IPsec VPN tunnel.
There are a lot of other protocols and use cases. We have some sort of issue that we're trying to solve, we choose the specific cipher or algorithm that we need to use and apply it and create a protocol out of it, and from that protocol we could even use that protocol within other protocols. So we see here some communication protocols, wireless protocols, authentication protocols. An example might be that we use RC4 cipher in TKIP, and then we take TKIP and reuse that in WEP and WPA. And so we will take and make these different protocols out of these different ciphers that we have.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →