[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 61d19RCFk2L.jpg (77 KB, 1000x1000)
77 KB
77 KB JPG
I'm too retarded to understand how PGP encryption works. Can someone explain it to me
>>
>>106569849
Everyone has their own public and private key
If you want to send a message to Alice you encrypt it using her public key. She decrypts it with her private key.
>>
>>106569849
Your public key is like your email address
>>
>>106569849
say you have a padlock and a key that opens the padlock, but you haven't clicked that padlock shut yet. Now if you give the padlock to somebody then they can use it to lock a message, then they send that message back to you and you can unlock it. It doesn't matter if somebody steals a copy of that message in transit because it's locked and only you can open it
make sense?
>>
>>106569885
Does your name have to be Bob?
>>
>>106570686
Yes. It's the law.
>>
>>106569849
When an Alice and Bob love each other very much...
>>
>>106570706
STOP STOP I DON'T WANT TO HEAR THE LEWD TALK STOP STOP TOO LEWD STOP IT LALLALALALALA I'M COVERING MY EARS
>>
>>106570694
i'm eve and i'm very interested in your conversation could u maybe share your keys with me? thanks
>>
>>106569849
Just use TLS you fucking retard. PGP is for autists.
>>
>>106569849
PUBLIC KEY is made to encrypt message, and PRIVATE KEY is for decrypting a message.
You encrypt your message with a friend's PUBLIC KEY, so only he can decrypt it because he is the one who have PRIVATE KEY.
>>
>>106569849
Also note that in practice asymmetric cryptography is never used to encrypt large quantities of data both because it is slower than symmetric cryptography and also because encrypting a large amount of data makes it easier to crack. So usually when you have to send something to someone else using their public key you first generate a plain old symmetric key which you use to encrypt the message content and then you encrypt this symmetric key with the recipient's public key and attach it to the message
>>
>>106571158
Only Alice and Bob can talk, sorry. If you're Charlie or Duncan, you may get to attempt to passively snoop or actively attack, respectively.

That's it.
>>
So basically OP, you have to be named either Alice or Bob and if you aren't it probably won't work.
(real explanation: normal chat is synchronous encryption meaning that u both have a shared key which allows the messages to become decrypted. PGP assumes you will have to post the messages out in the open so that some faggot will try to read them.
HOW do you fix that problem?
simple as: someone provides a "public key", and you use that key to encrypt your message, say your message is "im a fuckin retard", you would use the PGP program + their public key and it encrypts your message to "$&!HasdfFJh" or whatever.
NOW, everyone can see "$&!HasdfFJh": however, if the person who you encrypted the message with using their -public- key (so you can post it to them and have other people see it) takes your gibberish and uses the PGP program with their private key against it, then the "$&!HasdfFJh" gets output as "im a fuckin retard" on their local machine)
>>
>>106573150
My name is Xavier and I have been accessing all of your memory to find out when you would like to go out for ice cream.
>>
>>106571369
>Just use TLS you fucking retard. PGP is for autists.
Two different things. TLS ensures the message is encrypted while its flying through the internet tubes. PGP ensures your special message only goes to the little retard you want it to.
>>
>>106572864
>>106573613
>>106569849
>Also note that in practice asymmetric cryptography is never used to encrypt large quantities of data both because it is slower than symmetric cryptography and also because encrypting a large amount of data makes it easier to crack. So usually when you have to send something to someone else using their public key you first generate a plain old symmetric key which you use to encrypt the message content and then you encrypt this symmetric key with the recipient's public key and attach it to the message
AKA if you want to chat a lot and not just 1 time you can get their synchronous "chat key" and send it encrypted using the public/private asynchronous key structure. Meaning that you are able to ask for people's chat key without having to say "WOT IS UR CHAT KEY THANX U M8"
>>
>>106569849
. Bob gives an open safe to Alice.
. Alice puts something in that open safe, closes it and gives it back to you.
. You open your safe with your own key and retrieve it's contents.
>>
>>106573623
That's very sweet of you Xavier-san. You could have just asked if you wanted to treat me.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.