КОМЕНТАРІ •

  • @omisladen
    @omisladen 3 роки тому +12

    I would never have thought about it, that one day Johnny Sinns is telling me how encryption does work.

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

      You obviously forgot that Johnny Sinns is not just a successful doctor but also a very successful programmer and data encryption specialist.

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

    For someone who doesn't make videos consistently, this was wonderfully put together mate. Very clear explanation with helpful visual aids. Honestly I expected you to have a whole series on your channel! Haha

  • @Matihood1
    @Matihood1 3 роки тому +2

    A Computer Science student here. This video is a great help, as we were tasked with making programs that implement the DES cipher.

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

    This was an amazingly clear explanation of how DES/Block ciphers work. Thank you!

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

    Nicely explained, step by step, with useful additional info. Also props for uploading the excel file with the functions. Great video.

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

    this is only my second time commenting on youtube after using it for years,
    "you are super awesome"
    i am so struggling in the very expensive master degree which only have teachers teaching in un-understandable language.
    This should be the way they taught in every university speaking human language and showing human diagram like this.

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

    Very well structured.It saved my whole bunch of time and you explain better than the college professors so thank you IEOFIT

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

    Kudos for putting it all into a spreadsheet. It helps illustrate what DES does in the background.

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

    This is fan-bleedin-tastic.
    I was looking at my course notes and I was super confused.
    Now that I see it in practice it's pretty simple.
    Lotsa repetition in DES.

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

    OH MY GOD!!!! this just made so much sense and really simplified my cryptography class. My lecturer made it impossible to understand. thank you

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

      You could say he… encrypted his message 🤣😅
      I’m here for the same reason…

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

    Very useful guide! Had to do a full DES encryption by hand in less than a day, which took me like 6 hours or so, making mistakes on the permutaions and initially using the wrong tables (IP with PC-1 tables as they are similar), but eventually managed. Thanks!

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

      I am really stuck on the permutation. Can you give tell me how to go about it? This explanation is fantastic.

  • @NV_3
    @NV_3 3 роки тому +5

    This was really impressive! I'm new to the field and enjoyed this. Definitely flexin with the Excel Spreadsheet though lol

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

    Thank you. This is very helpful. Planning on stepping through this a few times.

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

    The best and the most clear one!!

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

    This was really insightful and very well made/taught. Thank you

  • @whatsup968
    @whatsup968 4 роки тому +28

    7:31 That's okay! I just need to know how to do one round of encryption for my information security homework
    Honestly I've not had a very good few days due to lack of sleep and the fact that no other source has straightforwardly explained how to do this :( There was also some other miscellaneous stuff... Plus I had an unfortunate mishap with food delivery today (I'm studying abroad in South Korea and the card reader the delivery man had was broken so I had to pay through customer service... Turned out I needed an alien registration card or an activated Korean credit card to pay, neither of which I had yet. that took over an hour to try and figure out, and in the end I just asked a Korean friend to pay for me! (She's awesome btw). But that was emotionally exhausting)
    Anyway literally thank God and thank you that you made this because I think I can follow along with this to do my homework
    I'm super behind on sleep and I need to get up for my information security class tomorrow. It will be 3 hours long! We're not even supposed to have classes tomorrow because it's a holiday, but the professor canceled class both days last week so he's using tomorrow as a make-up day! I was nervous that I might be up super late trying to figure this out. The homework isn't due tomorrow but we're doing example problems in class and stuff and I just want to understand as much as possible before I go, especially since his will be the last time I see my professor before the homework really is due
    Sorry that was long. I just needed to vent because I've been feeling really done, and I'm just so glad this was a good video. I needed that break

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

      :) I hope your days are better now

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

      @@Appel070 They are! Thank you!
      But I have midterms this week so I'm back reviewing
      Thank you for your reply :)

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

      @@whatsup968 I'm now invested in this LOL. How did the midterm go?

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

    Great job! I was confused for two days and could not figure this out with our useful university materials!!!

  • @j.n.y790
    @j.n.y790 3 роки тому

    Fantastically well explained, well done to you

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

    Pretty sure I don't need to know this, and will have to watch this video numerous times to get my slow brain around it. That being said, an impressive video, really enjoyed the watch. I'm learning about encryption in college atm. Thanks!

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

    This is an awesome video!
    Thank you, and well done!

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

    Thanks a lot you're the 3rd video I watched and yours was the best

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

    thank you so much I had a assignment on this and the excel sheet helped me trouble shoot my program with out your video I would have handed in a half working program

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

    This is crystal clear. Thanks a lot!!

  • @user-uf5oo1sw1h
    @user-uf5oo1sw1h 6 років тому +2

    Thank you! This was a perfect explanation!

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

    Good job sir! Thank you for sharing your work!

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

    Omg thanks, this was exactly what I was looking for :)

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

    nice :)
    you have put good effort into this , thanks!

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

    I really love your Excel, Great job and thanks alot

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

    Thank you!
    That excel sheet would be very helpful!

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

    Thank you man you and the excel that you made saved the day!

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

    This video is amazing! Thank you!

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

    Thank you so much for this indepth explanation. It really helped me.

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

    Amazing explanation ! Thanks!

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

    Great job! it's really helpful

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

    superb brother.... good thanks for teach me... best .. good job keep it up for me...and you also.........

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

    very clear, thank you!!

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

    Enjoyed this video. Thank you !

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

    Top quality content!

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

    Brilliant video thanks!

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

    Awesome video.
    Thank you so much

  • @MuhammadBilal-je1nf
    @MuhammadBilal-je1nf 4 роки тому +1

    Thanks!!! It's very useful.

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

    thanks, you've helped me a lot with a college work

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

    What an endearing person.

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

    really very helpful for beginner, thanks :)

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

    Didn't know the alt key trick. Very nice.

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

    Thank you for the explanation and excel file

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

    thank you very much tim!! have a good day
    :)

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

    very nice explanation

  • @qurrat-ul-ainzaheer5533
    @qurrat-ul-ainzaheer5533 5 років тому +1

    thanks a lot this helped alot♥

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

    Legend!

  • @bish-jyag3371
    @bish-jyag3371 2 роки тому

    great one!

  • @divinegaymagat6744
    @divinegaymagat6744 3 роки тому +2

    Hi just to add you forgot to mention the trimming of the KEY from 64 bit to 56 bit (@1:43 ), Although its writtend in your presention; just happens I missed that part myself. but overall REALLY HELPFUL! Thank you! :)

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

    Thanks for explaining :-)

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

    thank you for this video

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

    tşkler ediz hocam

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

    Thank You !

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

    explained it better then my lecturer, he took an hour

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

    Thanks a lot.

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

    good job man

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

    Lol, vid's great, but the spreadsheet is a work of art. Thanks!

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

    genius

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

    Thanks

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

    Neat.

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

    Love that you walked through an example of this. Are slides posted somewhere ?

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

    Hi Thank you

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

    This is way better than that Udacity bullshit video

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

    Good explanation. Thanks very much
    I think there were mistake in rearranging key by permutation order (64 to 56 bit) - 1:55 sec

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

      that's correct. You're the second person that noticed it. I used a slide from different permutated order. Good job.

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

    what will i do if the plain text is not enough 64 bit?? example: I want to encrypt 7 chars ascii -> plain text = 56 bit binary input

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

    I'm a little confused, at around the 1:55 mark you had a 64-bit array, but after splitting it in half I see 2 28-bit arrays. Where did the other 8 bits go?

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

    I don't see the use of permutating the key or the string.
    The permutation has to be the same every time, right? Otherwise, how would you know what order to do it in. But if it's the same every time, what is the point? Isn't it trivial to undo that part?

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

    How to we choose the value for the key ? Can it be any value as long as it is 64 bits ?

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

    Is the permutation order random?

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

    can you upload the power point file please

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

    Do you have a re-upload for the .xlsx file?

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

    how come the key at 1:55 your 49 bit for the permutated part is 1, shouldnt be 0 ?

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

      its ok sir ! i just wanted to make a double in case iam missing something ! but your explanation is spectacular .

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

      I had the same question....

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

    Hi, text file this training video. thank you

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

    Where does the permutation order come from???

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

      +Ryan Allen it's part of the DES standard. If you pay attention to it, it has a pattern.

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

      It's stated in the DES standard.
      If you go to the Wikipedia page on DES and scroll down to External Links you'll actually find a link to the DES standard PDF which contains the permutation orders.

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

    What have i learned today? Chopping things is fun

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

    Please give a link to the excel file. The link in the vid is invalid.

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

      It's in the description.

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

      @@ineapple Thank you for the response. I have a request; please keep this channel active.

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

    I'm a bit confused about where did the permutation orders come from.

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

      From the DES standard. Seemed like a good order to mix things up.

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

      @@ineapple Thank you so much for the explanation!

  • @grover-
    @grover- Рік тому

    1:50 could have done with some explanation I feel.

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

    The reason for the first and last permutations
    crypto.stackexchange.com/questions/3/what-are-the-benefits-of-the-two-permutation-tables-in-des#6

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

    Isn’t ASCII character 7 bits? In your example in 0:54 your Binary has 8 digits

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

    How to decrypt? - Use the same algorithm, but reverse the order of subkeys

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

    But why its called DES uses 56 bit key?

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

      Because all 16 subkeys are made by 56bit key. Not from 64 or 48. When u create 48bit subkey u use the same 56bit all the time but u create different 16x48bit subkeys.

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

      DES is a block cipher operating on 64 bits simultaneously.
      The key consists of eight groups of 8 bits. One bit in each of these groups is a parity check bit that
      makes the overall parity in each block odd. So, although the keysize appears to be 64, the effective
      keysize is 56 bits.

    • @rfi-cryptolab4251
      @rfi-cryptolab4251 5 років тому

      They had to make it so the U.S could just about brute force it if needed in the 70's. Hence, the 56 bit key (8 bits dropped - odd parity). 72 quadrillion is a hell of a lot less than 18 quintillion.
      They originally wanted to neuter it to 48 bit strength, but a compromise to make it 56 bit strength was made.

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

    Isn't that shift operation wrong? I thought shifting was just moving all the bits to the left, and not rotating like shown in the video.

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

      I'm all for being proven wrong at times (that's how we learn) but if it was just a shift, what would take place in the first bit? Always 0? Always 1? It can't be blank... but then what do you do with the last bit? Throw it away? If any of those are to be true, it violates the Quantum No-hiding Theorem where information cannot be created or destroyed:)

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

      @@ineapple I read a littl of Art of Assembly book once, and there was two operations The shift to the left always put a 0 as the least significative bit, while a rotation do what you did.

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

      @@rodrigoappendino You are absolutely right! 212 points for you Sir!

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

    I have no idea how you do padding, so this was not helpful for me.

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

    Amazing explanation ! Thanks!