 Hi, have you ever wondered how encryption works? The word encryption is tossed around everywhere, on the internet, everywhere, right? Security encryption, this is what people say. But encryption is actually really cool, you know? Encryption, how encryption works is that you can meet a stranger in a public place and share information securely without knowing the stranger, right? It's a stranger, you've never met them and you're sharing information without any code word. If you've ever heard of the word cryptography, cryptography works by having a code word set up beforehand, right? You know exactly how to scramble information and unscramble it. But with encryption, public key encryption, in fact, you meet someone for the first time in a public environment. Everyone can hear and see what you're doing, but you still manage to set up a code word without anyone else knowing how that works. So let's talk about how that works and let's talk about how we can do the same using an example of paint. So I'm going to explain the process using paint colors. Firstly, for encryption to work, me and the other person, so the two people, right, have to select a private color. So I'll tell the person, okay, select your own private color. Don't tell anyone about it and keep it to yourself. So the public doesn't know, but I don't know the other person's private color either, right? It's a private color. So here's an example of a full shot with the two private colors selected. Simple. The next thing is we're going to select a common color, like a shared color. This is a public color and everyone's going to hear it. Imagine I tell the other person, okay, I picked the color yellow, right? The whole public is going to know. The only way for me to tell the other person is for the whole public to know, right? So I tell the person, okay, I've picked the color yellow. So now both of us have our own private colors that's unique to us and no one knows about it and the shared color, right? What we're going to do is we're going to mix these colors, right? We're going to take, I'm going to take some of my private color. I'm going to take that public color and I'm going to mix it. And the other person is going to do the exact same thing. So we both have mixed our personal colors and the shared color together. And we're going to share the new color, right? So imagine my personal color was A, his personal color was B, and a common color was C. My new mixture will be AC, which is personal color and public color. And his combination will be BC, B being the personal color and C being, you know, the common color. So now we have this and we've shared this with the public. So the public knows, you know, what the shared color is and what the mixtures are of the shared color with the private color for both of us. And I know his mixture and he knows my mixture, right? So we know each other's mixture. What we're going to do next is the real secret to encryption. What we're going to do is we're going to mix our personal color, our private color with the other person's mixture, right? So I'm going to take his mixture of his personal color and the public color and mix that with my private color. And he's going to do the same thing, right? He's going to take my mixture of my personal color and my public color and he's going to mix it with his private color. And what we get is we actually get the same paint color now. Because now in this new mixture that we have created, this mixture is not going to be shared, by the way. It's our personal mixture. This is our code. If you see the full chart here, remember I was talking about ABC. You can see that the colors that we've created are now identical. And the beautiful thing is the public cannot create this combination themselves. In fact, here's a chart of all the publicly available information that we have shared, right? Remember anything we share between each other, the public can hear everything, right? Back in war times, imagine we're using telegraph or some sort of like radio communication. Everyone could hear what you're saying, right? So how do you share information secretly when everyone can hear what you're saying without setting up a key beforehand? This is how you do it. This is what the public knows and look at the number of combinations. They can try to create the same paint, but if they do mix it, what's going to happen is they're going to have a little bit of extra of one color in all the combinations. And they won't be able to get the exact same combination. So this is great. This is paint, right? You might be wondering, okay, how does paint relate to the internet? The internet can't be using paint colors when they send information. That's too weird, right? What the internet does in encryption, modern encryption, how it works is that they use multiplication. In fact, they usually have some complex equations that do squaring and do multiplication upon multiplication. But imagine this, right? Let's take the number 60. The number 60 can be created by multiplying the number 2 and 30. So 2 times 30 is 60. The number 3 times 20 is also 60. The number 1 times 60 is also 60. We know the number 60, but we don't know what numbers have created it. You know, it's like paint. We don't know if the paint, which is the numbers 2 and 30, have made the 60, or if the numbers 3 and 20 have made the 60, or if the numbers may be even 15 and 4, right? 15 times 4 is also 60. There's so many different combinations of numbers that can make 60. Same thing with paint, right? There's so many different combinations of colors that can make them one paint color that the person can't really tell what your private color was and it can't create that same code, right? If he wants to try guessing, he can try guessing all these combinations. With the number 60, there are only about a few different combinations, right? There's 15 and 4. There's 15 times 4. There's 2 times 30. 3 times 20, 60 times 1 and a couple others. But there are a few different combinations. So it's very easy to guess which one's right. You can just play the guessing game. But in modern encryption on the internet, they use huge numbers with thousands, about millions of different combinations. So it's very, very, very hard to guess what number it is. That's why encryption is so secure. And the beautiful thing about it is I don't have to know the person from before. We don't have to have a common code word or a secret thing. We can just meet on the internet publicly, meet for the very first time in the public and create a secure connection without ever having met before. So yeah, that's encryption. If you want more details, I've written a full detailed article, which can be found in the description. Do check that out. Thanks.