Back to Basix (Public Key Encryption)
I'm gonna repurpose this blog just to talk about school-related/topic-related stuff that isn't heavy. Anyways, I'm gonna talk about public key encryption.
----
Basically, public key encryption is the act of encrypting something. (Like a message) with a public key, in which the receiver will decrypt it using their OWN private key.
Actually, your browser does it and is basically the foundation of SSL/TLS (the latter is used today), as well as HTTPS.
For example, let's say that Faed wants to send Gigi a secret. And Faed wants to make sure the message gets to Gigi without a middleman listening in and getting sensitive stuff.
So, Gigi posts a public key on her website. Then, Faed accesses this public key and encrypts her message "I kinda like u <3", using Gigi's public key.
When Faed sends the encrypted stuff over, even if a hacker were to get hands on the love message, it would be gibberish without Gigi's private key, which ONLY she possesses.
And that's really the foundation of public key encryption, which is used quite well in compSci. However, symmetric key encryption is quicker than public key.
Comments
Post a Comment