no joke the only person I've come across to actually explain this and make 100% total sense, pat yourself on the back bro you have a gift for teaching. I knew it was a super basic concept but people were just not fricken explaining it right one bit
Sorry to be off topic but does someone know of a trick to get back into an instagram account?? I was dumb forgot my account password. I love any tricks you can give me!
+s70rk Well, the answer to your question depends on if you are asking about the cat in real life, or the hypothetical situation where a cat gets encrypted and sent to your friend's computer. hahah
Very laymen's yet comprehensive explanation. Thanks for the nice presentation. In 3 min you have you lock and unlock all the PGP fundamentals. Appreciate.
Oh wow this is the most clear and pragmatic example of PGP I’ve ever seen. I don’t know why it’s always so over complicated and no one ever thinks to use real lock analogies. We’ll done
Thank you so much. Such a simple explanation and good analogy. I'm submitting my first bug report and it requires encryption so this was very useful for a beginner.
This is basically the RSA model. In fact, Philip Zimmerman, the man who created PGP, even noted that he used the RSA concept as a basis for his project.
@@user-hs7qg5tt8t It's not really AES. AES is symmetric cryptography that uses block cipher, based on a mathematical function where both sender and recipient have the same shared private key. There are no public key components of AES as far as I know.
I've been trying to figure out how this process worked for some time now and this video along with your comment in the comment section finally got me to understand. Thank you.
So I finally think you got me past the block that kept me from understanding this. Instead of public key and private key, I think of Locking Key and Unlocking Key. I keep my Unlocking Key safe somewhere, and send my Locking Key with the message. My friend uses my Locking Key I sent with my message to lock his response for the trip back to me. I use my Unlocking Key to read it, which I can do because my Unlocking Key recognizes that the message was locked using my Locking Key and knows that it's okay to unlock the response for me. Have I got that right?
starting an assignment on PGP for the very first time.... and stumbled upon this... MAN!!!! hands down the best explanation ever on the topic!!! simple and very easy to understand!!!
I passed the GIAC GSEC today and undoubtedly your video helped me to get past this exam. Without understanding PGP, this could make or break someone if they ware riding the line of pass and fail.
Holy cow, Charles! I didn't even know this video could cause such a big impact on someone! Thanks for that :) You just motivated me to create a few more videos. I'm very happy you passed your GIAC GSEC!
for some reason ive had a hell of a time wrapping my mind around this but i think i finally got it. i think what made me understand is thinking of it as "i already know their public key and it is saved in my keys. so i make a box and lock it with THEIR public key and send it to them. that way nobody who intercepts it can open it but him". i think it would be a lot easier to understand if u said this. Because u said "they have to send you their public key and a box" when in reality theyre not going to send u an empty box. You are the one who will create the box. right? i mean if we used email for example - we wouldnt get sent a blank email with a public key attached to it. We would write them an email and lock it with their public key that we already know ahead of time. Otherwise we wouldnt have anybody to send something to.
so how does the cat get in the box? if you send the box with the public key only, this would mean we can only lock the box not unlock it. so how does the cat get in the box without using the end users private key? only part which is confusing me here. cause if the box is sent unlocked, (lets say it already has other data in it) would that not be encrypted any more during the send of the box to get the cat pic?
You say you can only unlock with private keys this is incorrect. you can encrypt with private keys and let users with your public key verify it is you.
+SkinAndPhones You are right, but not completely right. What you are talking about is not technically "encryption", it is called "signing". Here is a link to a nice explanation of "encryption" vs "signing": stackoverflow.com/a/1189651/3264373 Cheers! ^_^
Thanks for the short explanation. A detail I dont understand is: How do you know that the public key you are getting is really from you friend and not someone else?
Yes, my computer volume is turned all the way to maximum! Your audio is very low, just so you will know. You should be able to re-record over the poor sound track, correct?
wouldn't it be more secure to use my private key to lock(encrypt) the box(message) and then send out my public key to unlock(decrypt) the box(message)? A private key shouldn't be distributed. I know it can be used to lock and unlock....but in terms of best practices...private key shouldn't be distributable. correct??
+Victor Dozal I deleted my first question cause it was a bad explanation, how does a private key decrypt the message? and why can't a user use the public key to decrypt the same message they were going to send?
+Yoshi That is a very hard question to answer in a simple manner. I don't think I could be able to explain it better than the person doing it in this page. security.stackexchange.com/questions/86595/why-cant-you-work-backwards-with-public-key-to-decrypt-a-message
That's not PGP, that's public key encryption. PGP means a party you trust -which has your public key- is used to generate a certificate that you pass to a third party you don't trust but trust the intermediate. You are using a third party to spread your public key.
i just want to say that YOU ARE SO AWESOME thank you a lot TvT. People make this so complicated but you damn.. help me solve my confusion in minutes. hfbuzohhihiy i dont know what to say but i really am happy rn thanks againnn
Hi everyone the first time I ran pgp was in 1998 or 1999 to learn about encryption . At that time if my memory is correct the guy that wrote the program was under threat of being thrown in jail because he would not give the key to the N S A ( the key to his encryption softwares math the back door) and ( as a side note the military was interested in it because it was unbreakable). At that time anyone that wrote an encryption program was required by law to to give the key to the N S A . I lost interest in encryption because I had nothing of value to hide and did not keep up on the subject so I do not know the law at this time, but with our reliance on the internet and all our electronics i.e. computers, phones and such there is a need for encrypting your info. But we need to be mindful of what we are using and if it is legal . What I mean by that is if the N S A doesn't the key just by having your grandmothers secret apple pie recipe encrypted with any encryption software you could be breaking the law. While I have stated I lost interest and did not keep up on the subject I have to admit I do not know the current laws . It is not a recognized defence that you did not know that what you were doing was illegal. And no I am not a lawyer and am not giving any legal advice. Thanks victor and good job.
Okay, but this example just doesn't really make any sense We lock a box using key A, send it back, and the original sender opens it with key B? We're not even using lock B.. I think it's more like: We have a box with a lock and 2 keys for it. The public key can close the box, but only the private key can open it back up. And also there is a case where we lock a box with a private key and everyone with public can open it
What if the thief uses crow bar to unlock the locked box? Solution: Train your cat to attack the thief when he opens the box and rip his neck with its sharpened claws. Also equip the cat with crowbar holster and teach how to get the cat to holster crowbar. Then it brings it to you. Now you obviously sell the crowbar and you now are able to buy fur coat to your cat to keep it warm. You are welcome.
+nadiza lediwara No problem! That is correct. Private key ALWAYS stays with the person receiving a message. Hence the word "private". Public keys are meant to be shared with the world. Senders need the recipient's public key. Hope that helps!
good explanation , can we use external pgp keys to integrate / use in aws S3 to decrypt aws S3 files . or do we need to use external utility to decrypt files first using pgp key and then we can use that file in aws env for further processing
The public key is broadcasted is not only meant for you. How will your friend ensure that it was you, not someone else, who used the public key to lock? How are you ensuring non-repudiation here.
Dangit, I'm sorry for the low volume, thegibbons! Out of curiosity (I just want to make sure), are you 100% certain the video sound and your computer's sound was all the way up? Let me know pretty please. Thaaaanks!
It sounds like this is protection for information sent by e-mail. I am assuming this will not help encrypt information like a social security number or a birth date on a online form?
Hey there Steven Harris! Thanks for the comment. This encryption tool allows you to protect literally anything you want, but it is up to the person that created the online form to be able to accept anything related to pgp encryption. I hope this helps :) Cheers!
@@VictorDozalTutorials no it wouldnt as people who come here are not looking for understanding what is public/private key but pgp and this video has nothing to do with that regardless to what title says
Actually private keys are used to lock the box and public keys are used to unlock... Why? Because those public keys are used to verify that the communication came from the owner of the private key.If you can decrypt a message from John Doe using his public key.. you know that John Doe had used his private key to encrypt that communication. And if you want to send a secret message that is only for John Doe... you use his public key to encrypt while he uses his private key to decrypt.
no joke the only person I've come across to actually explain this and make 100% total sense, pat yourself on the back bro you have a gift for teaching. I knew it was a super basic concept but people were just not fricken explaining
it right one bit
Mannn
Agreed. So simple I could follow it easily. Thank you!
Finally someone who can explain why you need two keys. Your cat is beautiful
Hahahah thank you, LanYarD!. Thanks for the comment :)
Bald pussy haha
LanYarD The Cat is beautiful!
Bro they use 4 keys, 2 for encryption/decryption, 2 for signing/verifying.
Sorry to be off topic but does someone know of a trick to get back into an instagram account??
I was dumb forgot my account password. I love any tricks you can give me!
DFV rabbithole brought me here
What's in the box?
Bro, I'm here for it!!!
A cat. The roaring type
WHATS IN THE BOX
I have to poop
NOT A CAT
This was a very short, sweet, and humorous explanation. Well done!
+Miriam Cox Thank you! Hope you enjoyed the video :)
Give me the keys
@@markgarner6326 lol
I know I'm derailing the subject here, but is the cat dead or alive?
I just need to know.
+s70rk Well, the answer to your question depends on if you are asking about the cat in real life, or the hypothetical situation where a cat gets encrypted and sent to your friend's computer. hahah
Its owner also happens to be Mr. Schrodinger.
I knew someone had to ask that question lol, & someone had to answer it. Its both... The cat is comprised of many, what 8D shape? :)
😊
@@TheSlappinHappy haha xD
Very laymen's yet comprehensive explanation. Thanks for the nice presentation. In 3 min you have you lock and unlock all the PGP fundamentals. Appreciate.
Oh wow this is the most clear and pragmatic example of PGP I’ve ever seen. I don’t know why it’s always so over complicated and no one ever thinks to use real lock analogies. We’ll done
Thank you so much. Such a simple explanation and good analogy. I'm submitting my first bug report and it requires encryption so this was very useful for a beginner.
This is basically the RSA model. In fact, Philip Zimmerman, the man who created PGP, even noted that he used the RSA concept as a basis for his project.
Great remark!
+AES
@@user-hs7qg5tt8t It's not really AES. AES is symmetric cryptography that uses block cipher, based on a mathematical function where both sender and recipient have the same shared private key. There are no public key components of AES as far as I know.
So 3 minutes ago I didn't understand.
After this video I understand.
THANK YOU
This is the most easiest explanation that i have ever listen to. Thank you.
I've been trying to figure out how this process worked for some time now and this video along with your comment in the comment section finally got me to understand. Thank you.
I'm so happy this helped you, Cypher Dryst ! Please do let me know if you need help with anything else :) Cheers!
Oh here I go learning again……. I’ll fuckin, do it again. I’ve learned so much from this saga
So I finally think you got me past the block that kept me from understanding this. Instead of public key and private key, I think of Locking Key and Unlocking Key.
I keep my Unlocking Key safe somewhere, and send my Locking Key with the message. My friend uses my Locking Key I sent with my message to lock his response for the trip back to me. I use my Unlocking Key to read it, which I can do because my Unlocking Key recognizes that the message was locked using my Locking Key and knows that it's okay to unlock the response for me.
Have I got that right?
You got it 100% right, Darren :) Thinking about it as Locking and Unlocking keys is pretty smart. Way to gooo!!!
How does he see it if he does not have the unlocking key?
@@shaolinmonk7262 Both parties have a "locking" and "unlocking" key, otherwise you cannot have two-way communication.
Simple and excellent explanation. Thank you.
Thank you so much for the incredible comment!
Thank you so much friend, nobody could explain it better than you. I saw many videos but no one explain it so clear. Thanks
starting an assignment on PGP for the very first time.... and stumbled upon this...
MAN!!!! hands down the best explanation ever on the topic!!! simple and very easy to understand!!!
great job explaining PGP. I have been trying to find a way for this to stick, so this certainly helped.
Hey Charles! You are very welcome. Thanks for taking the time to watch the video and comment :) More videos are coming soon!
I passed the GIAC GSEC today and undoubtedly your video helped me to get past this exam. Without understanding PGP, this could make or break someone if they ware riding the line of pass and fail.
Holy cow, Charles! I didn't even know this video could cause such a big impact on someone! Thanks for that :) You just motivated me to create a few more videos. I'm very happy you passed your GIAC GSEC!
Absolutely! :)
Hmm... aren't all cats naked? That cat just looks bald!
+Demonwhisper Cats just want you to think they are naked ;)
OP about to be raking up some new followers - see you on the moon!
best explanation ive seen in my life
Now I understand. So many possibilities, everything makes sense now.
Pretty Good Analogy of PGP. Thanks!
You're very welcome! Thanks for the comment and the view, Aikunle!
lol... this is my favourite video on internet!!!
you mastered feynman's technique in this video, thanks a lot !!!
for some reason ive had a hell of a time wrapping my mind around this but i think i finally got it. i think what made me understand is thinking of it as "i already know their public key and it is saved in my keys. so i make a box and lock it with THEIR public key and send it to them. that way nobody who intercepts it can open it but him". i think it would be a lot easier to understand if u said this. Because u said "they have to send you their public key and a box" when in reality theyre not going to send u an empty box. You are the one who will create the box. right? i mean if we used email for example - we wouldnt get sent a blank email with a public key attached to it. We would write them an email and lock it with their public key that we already know ahead of time. Otherwise we wouldnt have anybody to send something to.
How deep does the rabbit hole go?
It goes up, only UP
So ,since there exists a PKI (SSL) infrastructures for encryption, what 's the difference of these two?
pretty good explaination
I don't know what this means, but I am buying more!
so how does the cat get in the box? if you send the box with the public key only, this would mean we can only lock the box not unlock it. so how does the cat get in the box without using the end users private key? only part which is confusing me here. cause if the box is sent unlocked, (lets say it already has other data in it) would that not be encrypted any more during the send of the box to get the cat pic?
PGE(Prety good explination).Loved the way you did it.
BEST EXPLANATION EVER
thanks pal , greetings from Ecuador 🇪🇨
You're very welcome DarkSoldier! Thank you so much for the comment :) Don't forget to subscribe!
great and simple
Loved your presentation.
After that stumps me
+Mark Ferguson Thank you :) Hope you enjoyed the video!
Best explanation ever...easy to understand. Thanks Vic!!!
wow an explanation that couldn't have been done better nice job
Great video mate!
Adam Vongrej Glad you liked it, Adam!
You say you can only unlock with private keys this is incorrect. you can encrypt with private keys and let users with your public key verify it is you.
+SkinAndPhones You are right, but not completely right. What you are talking about is not technically "encryption", it is called "signing".
Here is a link to a nice explanation of "encryption" vs "signing":
stackoverflow.com/a/1189651/3264373
Cheers! ^_^
Thanks for the short explanation. A detail I dont understand is: How do you know that the public key you are getting is really from you friend and not someone else?
You don’t. That’s the tricky part. A trust third party perhaps
thats a cute naked cat. Love her
A really great explanation - Thanks!
good analagy and i like thye cat !!
Hey James! So happy you think so! :) haha. Thanks for the comment and for the view! I really appreciate it :D
Superb, concise explanation! Thanks Victor, I have subscribed to your channel!!
This video was PGE (Pretty good explanation)
really good analogy!! thank u for the video
hey man thank you so much for this simple video
Hey David, you're so very welcome! It's comments like this that make me want to keep creating content. It would greatly help me if you subscribed! :)
Yes, my computer volume is turned all the way to maximum! Your audio is very low, just so you will know. You should be able to re-record over the poor sound track, correct?
Ok I get the analogy, but how do I actually go about using PGP?
I will make a video about this soon. Stay tuned. Thanks for the comment, Rapannell36!
Thanks man, it helped me a lot!
So incredibly happy that helped, Eskild :) Cheers!
Thank you so much for uploading this vid. Hopefully this will me on my endeavors 😁
Great Explanation :) Thanks...
+Saravanan C Anytime, glad you liked it!
wouldn't it be more secure to use my private key to lock(encrypt) the box(message) and then send out my public key to unlock(decrypt) the box(message)? A private key shouldn't be distributed. I know it can be used to lock and unlock....but in terms of best practices...private key shouldn't be distributable. correct??
Easy, clear explanation, thanks!!!
+Konstantin Kalachev No problem :D Hope you enjoyed the video!
+Victor Dozal I deleted my first question cause it was a bad explanation, how does a private key decrypt the message? and why can't a user use the public key to decrypt the same message they were going to send?
+Yoshi That is a very hard question to answer in a simple manner. I don't think I could be able to explain it better than the person doing it in this page. security.stackexchange.com/questions/86595/why-cant-you-work-backwards-with-public-key-to-decrypt-a-message
Bro I swear you are a legend I never understood this stuff until I watched this thank you sm
Omg thank you
Good explanation mate (y)
+sigilavigne Thank you :) Hope you enjoyed the video!
Amazing thanks dude!
That's not PGP, that's public key encryption. PGP means a party you trust -which has your public key- is used to generate a certificate that you pass to a third party you don't trust but trust the intermediate. You are using a third party to spread your public key.
very clear, thank you
thank you
i just want to say that YOU ARE SO AWESOME thank you a lot TvT. People make this so complicated but you damn.. help me solve my confusion in minutes. hfbuzohhihiy i dont know what to say but i really am happy rn thanks againnn
Hi everyone the first time I ran pgp was in 1998 or 1999 to learn about encryption . At that time if my memory is correct the guy that wrote the program was under threat of being thrown in jail because he would not give the key to the N S A ( the key to his encryption softwares math the back door) and ( as a side note the military was interested in it because it was unbreakable). At that time anyone that wrote an encryption program was required by law to to give the key to the N S A . I lost interest in encryption because I had nothing of value to hide and did not keep up on the subject so I do not know the law at this time, but with our reliance on the internet and all our electronics i.e. computers, phones and such there is a need for encrypting your info. But we need to be mindful of what we are using and if it is legal . What I mean by that is if the N S A doesn't the key just by having your grandmothers secret apple pie recipe encrypted with any encryption software you could be breaking the law. While I have stated I lost interest and did not keep up on the subject I have to admit I do not know the current laws . It is not a recognized defence that you did not know that what you were doing was illegal. And no I am not a lawyer and am not giving any legal advice. Thanks victor and good job.
Thanks, gordon! That was an awesome comment :D cheers!
but how the friend would get the privet key in the first place?
Okay, but this example just doesn't really make any sense
We lock a box using key A, send it back, and the original sender opens it with key B? We're not even using lock B..
I think it's more like: We have a box with a lock and 2 keys for it. The public key can close the box, but only the private key can open it back up. And also there is a case where we lock a box with a private key and everyone with public can open it
Victor Dozal.. Thank You so much
My pleasure, Sindhu!
Thanks
What if the thief uses crow bar to unlock the locked box?
Solution:
Train your cat to attack the thief when he opens the box and rip his neck with its sharpened claws. Also equip the cat with crowbar holster and teach how to get the cat to holster crowbar. Then it brings it to you. Now you obviously sell the crowbar and you now are able to buy fur coat to your cat to keep it warm.
You are welcome.
great way to explain it!!
thank u. it is great video. is public key from sender? is private key from receipient?
+nadiza lediwara No problem! That is correct. Private key ALWAYS stays with the person receiving a message. Hence the word "private". Public keys are meant to be shared with the world. Senders need the recipient's public key. Hope that helps!
Knowing my friends...they’d keep the box and send the Cat back 😝😝😝😝
I don't think I will forget your cat explanation
must we create new public keys for each different individual we send messages?
amazing brother
+Behnam Anisi Hope it helped :)
"Amazing brother" reminded me of this line by Kendrick Lamar (linked to exact timestamp):
th-cam.com/video/v6HBZC9pZHQ/w-d-xo.htmlm16s
Good video....Toight like a Tiger!
Hahaha. Thank you so much for the great comment, David. Cheers!
But how do you get the private key to the person you're trying to send the message to?
Thanks for the question! The answer is: You do not get the private key of anyone. You only get their public key :) I hope that helps!
good explanation , can we use external pgp keys to integrate / use in aws S3 to decrypt aws S3 files . or do we need to use external utility to decrypt files first using pgp key and then we can use that file in aws env for further processing
The public key is broadcasted is not only meant for you. How will your friend ensure that it was you, not someone else, who used the public key to lock? How are you ensuring non-repudiation here.
thanks
+Ali Shan Any time :)
fuck me that was so simple I love it!
I think I understood
great
I got it!
need a ffffn stetascope to hear this
Dangit, I'm sorry for the low volume, thegibbons! Out of curiosity (I just want to make sure), are you 100% certain the video sound and your computer's sound was all the way up? Let me know pretty please. Thaaaanks!
@@VictorDozalTutorials the video sound is low man I have the same issue !
It sounds like this is protection for information sent by e-mail. I am assuming this will not help encrypt information like a social security number or a birth date on a online form?
Hey there Steven Harris! Thanks for the comment. This encryption tool allows you to protect literally anything you want, but it is up to the person that created the online form to be able to accept anything related to pgp encryption.
I hope this helps :) Cheers!
PGP的原理很好理解,无非就是一个非对称密码的直接应用。但是我很难把它与Linux debian 的apt keyring联系起来。
What you explained is not PGP but simply every generic asymmetric public-private-encryption..
I guess this is true, but PGP and GPG are both using public-private-encryption, so wouldn't that make this explanation correct?
@@VictorDozalTutorials no it wouldnt as people who come here are not looking for understanding what is public/private key but pgp and this video has nothing to do with that regardless to what title says
you're about to get a whole bunch of new comments...
are you able to tell if a person has read a message using PGP, if so how?
well explained
Thank you, Sakti!
Awesome
Thank you for the comment Joel. I really appreciate it!
So PGP & GPG are the same thing?
That's Dr. Evil's cat! xD
So we don't have anything else in the box?
Volume on computer is normal, just some shows have poor volume,thanks
I'll look into improving the volume for other videos. Thanks again for the reply, thegibbons!
Actually private keys are used to lock the box and public keys are used to unlock... Why? Because those public keys are used to verify that the communication came from the owner of the private key.If you can decrypt a message from John Doe using his public key.. you know that John Doe had used his private key to encrypt that communication. And if you want to send a secret message that is only for John Doe... you use his public key to encrypt while he uses his private key to decrypt.
Thank you so much for this explanation.
so how does it differ from PKI?
But 249,986 people have already seen your naked cat !!