Asymmetric Encryption - Simply explained

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 881

  • @johnathonbatz662
    @johnathonbatz662 3 роки тому +151

    the mailbox analogy of everyone knowin the address of the mailbox being the public key, and only the mailbox owner with the keys to his own mailbox as the private key, is a really really really well done analogy. probably the best one ive seen so far with relating public/private keys as a concept to everyday life and making it easier to understand.

  • @anti-macro
    @anti-macro Рік тому +18

    Anyone here from The Odin Project? Keep it up, we can do it! :)
    Also thanks for the video, the concept seemed almost alien to me but you've explained it in such a clear way that anybody could understand it

  • @mjk012579
    @mjk012579 4 роки тому +349

    Very clear and straightforward. I’ve been beating myself over the head with this topic in my fundamentals class and this just made the differences make a whole lot more sense

  • @SannySinghs
    @SannySinghs 7 років тому +304

    LoL 221b BakerStreet . I have been trying to understand Asymmetric encryption concept for nearly 3 hours. None of the clips i watch explained as clearly as you do about exchanging public key. Well done. Thank you so much

    • @simplyexplained
      @simplyexplained  7 років тому +19

      You're the first one who noticed the address! Thanks for the kind words ;)

    • @JonathanCoffey1087
      @JonathanCoffey1087 6 років тому +14

      Same here, this idea helped me a little. Since most of these videos keep mentioning TONS of keys, why not use a lock analogy? We generate a key pair, one public and one private. Think of the public key as the unique "lock" you've just made. You can give that lock to as many friends as you want. If you send me your lock, I can put anything in a box and put your lock on it. Once secured with your custom lock, I can no longer open or see the contents of that box without your key that's paired with that lock.

    • @teddyboggs1851
      @teddyboggs1851 5 років тому +3

      As an American I can honestly say 221 baker is literally the only address I know in that entire country.

    • @TheVirumXD
      @TheVirumXD 5 років тому +1

      Teddy Boggs Sherlock

    • @waduhek2568
      @waduhek2568 5 років тому

      ur dickhead

  • @Wasko2
    @Wasko2 10 місяців тому +9

    I don't understand why 99% of people find it so hard to explain something to another person in straight forward terms. Asymmetric encryption is so damn SIMPLE, yet it's so hard to find a straight explanation like in this video. Thank you! The part that was really confusing me was that EVERYONE has a public key that they give out to anyone who wants to send them encrypted data. Hi, you want to send me encrypted data? Here take my public key and use it to encrypt the data. Now send me the encrypted data. Now I have the encrypted data, I will use my private key to decrypt it. Very straight forward.

  • @kairollmann
    @kairollmann 7 років тому +847

    And the next important thing to understand is: Asymmetric encryption algorithms take WAY longer than symmetric encryption algorithms. So people 1) use symmetric encryption to encrypt LARGE amounts of data / files, 2) encrypt the symmetric key with asymmetric encryption and 3) send that (asymmetrically) encrypted symmetric key together with the (symmetrically) encrypted file.

    • @simplyexplained
      @simplyexplained  7 років тому +128

      +Kai Rollmann jep, 100% true. Should've added that to the video.

    • @Markd315
      @Markd315 6 років тому +20

      And after that, probably how RSA can also be used to sign and verify data integrity.

    • @lallu1122
      @lallu1122 6 років тому +13

      I never thought about it! Great!!

    • @sivasankarclouddeveloper1114
      @sivasankarclouddeveloper1114 5 років тому +5

      Thank you Kai Rollmann

    • @uayfb1
      @uayfb1 5 років тому +1

      I believe that is how Pretty Good Privacy works.

  • @alvfig
    @alvfig 7 років тому +48

    Great introduction, even for non-technical people. Thanks a lot! I'd love if you could make a similar video to digital signature.

  • @Nawdiral
    @Nawdiral 6 років тому +55

    The key words here I was really looking for since a while are: "...algorithm will generate a public and private key that are mathematically linked to each othere. Public keys can be used to encrypt data and only the matching private key can be used to decrypt it.".

    • @futuresocieties.
      @futuresocieties. 5 років тому

      High levels of security with mathematics.

    • @futuresocieties.
      @futuresocieties. 5 років тому

      Mathematics that provide high levels of security.

    • @JayLim-bn9fh
      @JayLim-bn9fh 4 роки тому

      Holy lil fuck! Thanks!

    • @TheGadgetwiz
      @TheGadgetwiz 3 роки тому +6

      This kind of irritated me because this was the reason I was watching the video. I wanted to know HOW that part worked. I already knew all the other pieces.

    • @penguin-tc1cx
      @penguin-tc1cx 3 роки тому

      @@TheGadgetwiz this channel and video is called "simply explained" for a reason... if you want to learn the more complex process behind it, you should do research or watch other videos. don't complain lmao

  • @AbhijitChandekar
    @AbhijitChandekar 5 років тому +3

    This is the best video on public key encryption. What i found was that, many other videos does not mention the fact that the public keys are exchanged between the two parties. Thank you to the maker of this video!!!

  • @scienceblossom6197
    @scienceblossom6197 6 років тому +8

    It used to be super complicated for me but even watching this awesome video up to 02:16 helped me understand how public/private keys work in general and now it makes TOTAL sense. THANKS!

  • @ACEofMCB
    @ACEofMCB 7 років тому +23

    Awesome explanation and graphics for a visual understanding. I was looking for something simple to show friends and family and you've covered it better than I ever could, thank you!

  • @falmanna
    @falmanna 7 років тому +338

    Very nice and clear presentation

  • @marriagedance8657
    @marriagedance8657 6 років тому +13

    You deserve so much more subscribers.. Hats off

  • @user-dd1rg7sd9l
    @user-dd1rg7sd9l 2 місяці тому +3

    I find from personal experience, it is the people who can describe a process simply are the ones who TRULY understand it.

  • @theartofhacking6896
    @theartofhacking6896 2 роки тому +9

    I was always struggling to grasp the concept of asymmetric keys but now, within only 4:40 mins it became crystal clear. Keep it up. :)

    • @brd8764
      @brd8764 2 роки тому

      rightly and it is prosper.

  • @aditi3112
    @aditi3112 6 років тому +6

    Wow..how clearly & beautifully explained. From a long -long time, I was highly confused why 2 keys in asymmetric encryption...never been able to understand...but your explanation made it clear completely. Tons of thanks to you :)

  • @rockstar86374
    @rockstar86374 4 роки тому +211

    how can anyone dislike this video? He explained the concept very clearly.

    • @SEABASports
      @SEABASports 4 роки тому +12

      Exactly my thought 🤣🤣 people, i swear. Lol

    • @oxkaioxo
      @oxkaioxo 4 роки тому +5

      maybe because he doesn't mentioned the double encryption with senders private and recipients public key

    • @bulinaderguti1346
      @bulinaderguti1346 4 роки тому +4

      Must be the other youtube chanels that failed to explain it better than this video hahahahah

    • @AltoXorg
      @AltoXorg 4 роки тому +2

      trolls...

    • @tigger2581
      @tigger2581 4 роки тому +1

      people who don't speak human

  • @MegaKalkas
    @MegaKalkas 6 років тому +9

    You should also mention that encryption works in the other way too. An encrypted message with a private key can be decrypted only by the paired public key and this insures that the sender (or whoever encrypted the message) is indeed trusted.

  • @gersprungled
    @gersprungled 4 роки тому +12

    Best explanation I have seen in over 5 years. Brilliant.

  • @MEME-re5jl
    @MEME-re5jl Рік тому +1

    Thank you this is my first comment in the UA-cam you deserve it. Thank you.

  • @RM_1964
    @RM_1964 5 років тому +2

    Man you explained it in so much simple manner. I don't even need to note it anywhere. It was like a story that's in my head. Thanks a lot sir.

  • @WiktorWiktor7
    @WiktorWiktor7 Місяць тому +1

    Everything explained really well in 4 minutes

  • @daredevil938
    @daredevil938 Місяць тому +1

    1:22 Love the 'Sherlock Holmes' reference.

  • @OHTV2016
    @OHTV2016 6 років тому +23

    Excellent video, I’ve been watching many videos about this topic and you’re the only one who I actually understood from. Wonderful Job ❤️

  • @anirudhpathak2559
    @anirudhpathak2559 5 років тому +9

    The best and clearest description of public-private key cryptography I have seen so far!

  • @Tamilkaraokevideos
    @Tamilkaraokevideos 3 роки тому +1

    The mailbox example nailed it.. Thanks for the ghaphics and explanation.

  • @SiIentSong
    @SiIentSong 5 років тому +4

    2:53
    Sorry if my question sounds dumb, but if Alice encrypts the sensitive document with Bob's public key, can't others just use Bob's public key to decrypt it since its the same key used to encrypt it?

    • @RobertStineIsTheBest
      @RobertStineIsTheBest 4 роки тому

      @Shadow96 bullshit dude, both keys are used in encryption or decryption depending on different cases. For a digital signature, for instance, PrK is used to encrypt the signature, and PK to decrypt it, which is intentional, just to verify the integrity+authenticity of a given message.

  • @supaduperforever
    @supaduperforever 6 років тому +14

    Thanks for keeping it simple, yet intriguingly educational for a layman curious as to how this technology works in the World Wide Web. Much appreciated sir!

  • @keithfreeman2139
    @keithfreeman2139 4 роки тому

    I have a Cyber-Security Test coming up Tuesday. These videos have helped me a lot. Thank you.

  • @UralaTAO
    @UralaTAO 3 роки тому +6

    Thanks for the information brother!

  • @diegoguzman4631
    @diegoguzman4631 6 років тому +17

    I was able to understand how asymmetric encryption works in just 4:40 mins! Thanks a lot!!!

    • @happyboy2323
      @happyboy2323 4 роки тому

      Just what is it, not how it works

  • @ThatTurtleGirl
    @ThatTurtleGirl Рік тому +1

    Great video! I couldn't wrap my brain around this concept and the video cleared things right up.

  • @drabberfrog
    @drabberfrog 7 місяців тому +1

    This is the first time I actually understood this after watching many videos about it. Thx

  • @codecleric4972
    @codecleric4972 2 роки тому

    This is probably the best explanation of this on UA-cam

  • @anandarivu
    @anandarivu 6 років тому +2

    This is the best video to understand the algorithm. I was always amused at how ssh works with keys. No one ever showed the exchange of public keys.
    Thanks a lot for the video.

  • @gpardhu
    @gpardhu 2 роки тому

    blessed are the souls who impart such valuable information for free

  • @fotoMwahine
    @fotoMwahine 3 роки тому +4

    Thank you so much for this easy to understand explanation. Studying cybersecurity and symmetric/asymmetric encryption; this is right on time. Excellent!

  • @sabrinemaiz234
    @sabrinemaiz234 6 років тому

    its awesome how u explain thank you a lot, its beeing one year trying to unterstand this complex IT Security,but i couldnt with all videos in Internet. u just explain it in few minuts and i didnt need to repeat the video thausend time, thank you a lot for your hard work

  • @lakerfan4life308
    @lakerfan4life308 Рік тому

    Excellent explanation on asymmetric encryption. I was uncertain on how could the encryption of locking/unlocking the data worked since the private key never crossed the wire. You introduced and delivered that difficult concept in an easy relatable manner. Thank you for that! Best video ever. I now feel more confident about asymmetric encryption.

  • @carcamp5451
    @carcamp5451 Рік тому

    Damn. I understood after trying to understand for months. You're a life saver. Thanks for your amazing work.

  • @sachinvinith813
    @sachinvinith813 Місяць тому

    new to this video and concept, but never before understood the concept fully before seeing this video. After seeing this video, I grasped every single concept from this encryption, thank you so much

  • @fciapanna
    @fciapanna 6 років тому +1

    Been watching public/private videos for days. This is the first to make it clear, specifically stated at 1:53 where the private and public are linked to each other. That's the key (pun intended) to understanding how it works. Others take it for granted. You spell it out (in non-cryptic form hahahaha).

  • @eraykacmaz
    @eraykacmaz 6 років тому

    The only video that help me to understand the topic really well. "Mathematically linked with each other..." is the key phrase of understanding. Thanks for video.

  • @aparnaiyer1199
    @aparnaiyer1199 8 місяців тому

    Straight to the point ! Gives good groundwork to take this forward!

  • @iCortex1
    @iCortex1 9 місяців тому +1

    This took years for my brain to click, it's hard to grasp when you don't have much experience (IE still in school) - but it all makes sense now :) If you're struggling with this concept don't give up, it finally clicked for me after revisiting the subject once in a while

  • @briannawooden411
    @briannawooden411 Рік тому

    Best explanation of this concept I have come across so far. Thanks!!

  • @naeemlhrpk
    @naeemlhrpk 7 місяців тому

    It's really funny that I went through many short video but none was found an easy way to understand this concept.
    This video and the analogy of mailbox messaging made the concept more easy to understand. Thanks

  • @phanurutpeammetta2066
    @phanurutpeammetta2066 2 роки тому

    After watching so many videos about encryption, this is the first one that makes sense to me. Thanks for the simple explanation and beautiful illustration!

  • @ehsanmamakani
    @ehsanmamakani 5 років тому +2

    @2:09 "they (public and private keys) cannot be derived from each other" I think this is incorrect, because the public key is derived from the private key but you cannot derive the private key from the public key. This makes the one-way function definition.

  • @lilcoconut3116
    @lilcoconut3116 3 роки тому +1

    Thanks man... I watched a lot of videos but was not able to clearly understand the exact concept, then I came across your video and yoo!! I understand the concept in no time... Thank you so much 😇😊

  • @drisakar7744
    @drisakar7744 4 роки тому +6

    it was simply explained thanks! that helped me a lot for my school work:)

  • @mmmcccoc6457
    @mmmcccoc6457 6 місяців тому

    Very clear and straightforward!!!! Bro you save me night!!!!

  • @ROHANKULSHRESHTHA-x9u
    @ROHANKULSHRESHTHA-x9u Рік тому +1

    sweet and simple , just what i needed , thanks a ton

  • @Yell3x
    @Yell3x Рік тому

    Thank you so much! This really answered all my remaining questions, just got taught it and asked things like, why would it be public when you can reverse the process and etc. That mailbox example really did it for me!

  • @mehul1458h
    @mehul1458h 4 роки тому

    that's very smooth explain of asymmetric encryption.
    I have read many paragraph to learn that but i didn't understand.
    very heplfull. thanks for that

  • @mosespeter9711
    @mosespeter9711 2 роки тому

    The is the best video on internet for this topic. Thanks a bunch!

  • @brolysmash9333
    @brolysmash9333 2 роки тому

    Omg, dude, this was so straightforward; thank you very much. Cryptography is one of those areas that blows my mind, and today I understood it with a simple video of you.

  • @kisme01
    @kisme01 5 років тому +2

    thank you. finally someone who can explain

  • @אגםיפה-ח7ע
    @אגםיפה-ח7ע Рік тому

    the only video that explained it properlly, thank you very much!

  • @theblueraven764
    @theblueraven764 2 роки тому

    Brilliant explanation, thanks! I've been wracking my head over this for ages and then I saw this video. It makes way more sense now!

  • @kishcool
    @kishcool 2 роки тому +2

    Great explanation. It would be great to see you explain how you can be sure that you’re using the Alice (or bob) public key and not an attacker public key who would be in the middle.

  • @zokir.finance
    @zokir.finance 3 роки тому

    Thank GOD, finally I understood the concept, after days of research, this video and youtube channel should be on top))) Simplicity is genious.
    Thank you so much.

  • @buzztrucker
    @buzztrucker Рік тому

    Short, sweet, and to the point. Thanks for this great info condensed in short amount of time.

  • @UnowknKlol
    @UnowknKlol 9 місяців тому

    Good content! the explanation is very easy to understand. I hope all concepts in this world has videos that explained them as good as this.

  • @suparnaprasad8187
    @suparnaprasad8187 7 місяців тому +1

    Just awesome. Thank you!

  • @lesleykramer7207
    @lesleykramer7207 6 років тому +7

    Finally! I understand this! Thanks for a clear, simple explanation.

  • @chenbiton9469
    @chenbiton9469 5 років тому +3

    Really clarified this topic for me. Thank you for this video!

  • @1122-q1e
    @1122-q1e 2 роки тому

    This really helped loud, clear and straight to the point!!! Thank you so much

  • @jrealentertainment
    @jrealentertainment 3 роки тому

    This is the first video I've seen in a week discussion asymmetric encryption that tells how the public and private keys are generated, and how the public keys are swapped and then the document is resent so that the private key that's paired can decrypt the message.

  • @isaacomondi9841
    @isaacomondi9841 5 років тому

    Simple yet very clear. Good job

  • @ecommercetechbuild1354
    @ecommercetechbuild1354 2 роки тому

    Simple and clean explanation. Kudos to you

  • @skr0nytbe389
    @skr0nytbe389 5 років тому +1

    IMO, using Asymmetric keys for data transfer is more complex esp. in Client server model. So, asymmetric encryption is just to exchange ciphers, certificate and server public key to client. Once shared, client generate a per session symmetric key using strong random generator and encrypt with server provided public key and send to server. After that, that symmetric key used to encrypt data for that session. This process repeat for every flows.

  • @PyThon253
    @PyThon253 5 років тому +3

    Can you make one that explains Cast-128(Cast5) and the use in PGP? Maybe an explanation video on how the encryption and decryption are used.
    Great video! Wish there were more channels like this.

  • @luisrios1989
    @luisrios1989 2 роки тому

    I love you! The mail box analogy made me understand everything.

  • @catharperfect7036
    @catharperfect7036 Рік тому

    Best explanation of this on youtube.

  • @vanderslagmulders
    @vanderslagmulders 4 роки тому +3

    That was very clear. And a bunch more interesting stuff on your channel! 😀👍

  • @mkc0321
    @mkc0321 3 роки тому

    excellent video, i had so much confusion with private and public key stuff ..you explained it so beautifully..your channel deserve the title

  • @N3vermake
    @N3vermake 3 роки тому

    Thanks, you summed up a 2h lecture in 4 minutes. Lovely!

  • @Adi.4455
    @Adi.4455 5 років тому +5

    Took me a few vids till this one to finally understand it. Thank you very much

  • @aarovas
    @aarovas Рік тому

    Finally, someone explains to me how it works. Thanks a lot!

  • @Wagazes
    @Wagazes 2 роки тому

    2:55 is the moment where it all made sense to me. Awesome! :D

  • @mr2_pg
    @mr2_pg 2 роки тому +1

    Thank you so much for this helpful video. You're communication and explanation skills are on point!

  • @ernestgrouns8710
    @ernestgrouns8710 3 роки тому +1

    Thank you for explaining this in a way that now makes sense to me!! Much appreciated!!

  • @JagadishTalluri
    @JagadishTalluri 5 років тому

    Simple and best explanation. Period.

  • @Nullfighter
    @Nullfighter 3 роки тому

    I watched like 5 videos on this and this one is the best.

  • @MoaazMohamedOmar
    @MoaazMohamedOmar 10 місяців тому

    Thanks to the CS Team for sharing this video

  • @TheTruthSpeaker0
    @TheTruthSpeaker0 Рік тому

    Beautifully explained. Thanks!
    I now have a better understanding.

  • @saar331
    @saar331 6 років тому

    Perfect explanation, better than my lecturer and now I got the idea clear.

  • @demetriuswright6993
    @demetriuswright6993 3 роки тому

    hands down, greatest explanation ive
    heard

    • @kingdavid379
      @kingdavid379 3 роки тому

      __ཞɛąƈɧ ơųɬ ɬơ *ɱąƈųʂɧąƈƙʂ ۷ıą ıŋʂɬą* ąŋɖ ɧɛ'ƖƖ ɠɛɬ ყơų ąŋ ąƈɬı۷ɛ ℘ཞı۷ąɬɛ ƙɛყ ʂơʄɬῳąཞɛ

  • @tmyh
    @tmyh 7 років тому +3

    Great presentation, you make it easier to figure this new tech for a no-tech person. Keep the blockchain videos coming mate.

  • @mrlima2953
    @mrlima2953 2 роки тому

    Excellent video. The most well explained I have found so far on the internet!

  • @mahaaboubi4773
    @mahaaboubi4773 Місяць тому

    Man i love you, i finally understood how it works, thank you so much ❤❤❤❤❤

  • @yousufjjk2037
    @yousufjjk2037 2 роки тому

    Between the video, I thought that u should give this guy a like but then accidentally closed the video when I had finished so I had to open it again just to like it. Good work!

  • @aquadir2830
    @aquadir2830 4 роки тому +1

    Very helpful.. thank you..

  • @sennlich
    @sennlich 10 місяців тому

    missing that sym encription key is send via asym encrytion with bobs asym public key.
    then both alice ajnd bob jave the same symetric key for decrypt the secret big data nessages they can send to each other safely.
    asym keys only can small data, like sending the secret symetric key.

  • @emufandango
    @emufandango 5 років тому +2

    You’ve got my sub! Thanks for the video, as I’ve been trying to understand this for quite a while, and no one else has been able to explain it to me. Simply put, Alice is encrypting the file in a way that only Bob can understand, and vice versa.

  • @francis191
    @francis191 2 роки тому

    Clear and concise. To the point with great graphical representation.

  • @ender5023
    @ender5023 Рік тому

    Thank you for this simple explanation! It makes complete sense to me now!

  • @whyask8044
    @whyask8044 5 років тому

    Question: Can you manually create your own private & public key or is that something that only an automated process can achieve? In other words, can you generate a random set of numbers and say here is my public key, then generate another random set of numbers and say here is my private key that unlocks the public.

    • @firstnamelastname-oy7es
      @firstnamelastname-oy7es 2 роки тому

      No you can't.
      The public key is created by doing some maths on the private key.
      You can make a random private key, then you have to do specific steps to get the public key.
      Each private key has a specific public key.

  • @StudyWithNika
    @StudyWithNika Рік тому

    only material on planet earth that helped me finally understand this