Symmetric Key Cryptography: The XOR Cipher

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

КОМЕНТАРІ •

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

    coming from a professional procrastinator, this video was very well put together and easy to follow. thanks a lot!

  • @s.garabet1677
    @s.garabet1677 2 роки тому +4

    This was very well explained. Thank you. It amazes me how some modern textbooks are written by people who likely can't even explain the concepts in person.

  • @latedeveloper7836
    @latedeveloper7836 2 роки тому +5

    2:38 Encryption using the XOR function
    2:42 Break down into separate cells
    2:50 Any random sequence of 8 bits for the secret key
    3:20 Applying the key comparing pairs of bits using XOR operation
    3:50 Write 1 if they are different, "1 or the other is a 1", or "exclusively a 1".
    7:00 Binary to ASCII in Excel
    7:12 ASCII to Letters in Excel.
    7:30 Practice exercise

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

      Thanks. If you don't mind, I will add these to the video description, so they become chapters? :)KD

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

    First time I was able to put the XOR decryption process to practice, feels good thank you.

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

    and you also explained the name of 'XOR' . shouldn't we know the nature of a thing and then learn how to use it.
    it's really a good way to learn everything!

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

    This channel is a goldmine, thank you so much for your extraordinary work!

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

    it's really a wonderful video explaining xor and encryption. compared with all other ones i watched this one just makes everything simple and easy for understanding.
    thank you!
    and i'm looking forward to more videos from you!!

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

      Agree wonderful is the word I also typed. I was feeling like a moron for not understanding until I found this ! Mind blown!

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

    Your explanation is unquestionable and I like how clear your voice is, keep it up! I've subscribed :)

  • @hecker688
    @hecker688 8 місяців тому +2

    well summarized and easy to understand, nice video!
    Here's the answer (spoiler!)
    decrypted binary -> 01111010 01101001 01110000
    decrypted ascii -> zip

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

    Well done.
    Thanks for sharing your knowledge with others.

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

    Thanks for the effort in making this video. It really clarify and thought us how to think about symmetric cryptography. 👏🏻

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

    Simple and easy to understand. Thank you.

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

    Beautiful explanation, thank you very much.

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

    This is SOOOOO appreciated.

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

    Great explanation boss!

  • @jimmybeandean
    @jimmybeandean 2 місяці тому +1

    Awesome video! TY 🔥👍

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

    Very nice explained... THANK YOU

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

    Its really helpful 👌👍 thank you

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

    excellent explanation! Thanks!

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

    So clear, thank you!

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

    what would happen in a situation in which there is an 8-bit symmetric binary encryption key, but a 16-bit binary value to encrypt using the XOR method.
    For example with a credit card number, turning each of the individual digits into 4-bit binary values, then combining every 4 into 16-bit chunks then encrypting them.

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

    encryption is achieved by the function Y= E(K, X). using this function and given the key 1010011001, encryption the message 0011011 using the AND principle.

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

    Awesome video

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

    btw you make excellent videos! Are you involved in cyber security or computer engineering in any way?

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

      Just a computer science teacher.

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

      Computer Science JUST!! a computer science teacher, I think you're doing a great job

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

    ❤️ed your explanation

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

    can you do this without using binary digits? Like just with the original ASCII code?

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

      Original ASCII codes ARE in binary. Computers transmit them with pulses of electricity and store them with devices that can be on or off (such as transistors). We express ASCII codes in denary (base 10), and sometimes hexadecimal (base 16) because that makes it easier for computer scientists to talk about them. The XOR cipher only works with binary digits. You can't XOR base 10 numbers together. I'm not aware of a base 10 equivalent. Interesting question! :)KD

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

    good and easy explanation
    :) thanks

  • @JohnSmith-eo5sp
    @JohnSmith-eo5sp 3 роки тому

    The Vernam Cipher introduced this concept when it was patented in 1919

  • @1CoreGame
    @1CoreGame Рік тому

    perfect explanation thanks!

  • @m.alaiady3627
    @m.alaiady3627 4 роки тому +1

    if you guys wondering what was the result of encrypt the letter 'z' it was '/'' :)

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

    this helped me!

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

    To the point! Thank you

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

    what is the answer of this question

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

    Just wonderful wow

  • @aljuboor-m
    @aljuboor-m 2 роки тому +1

    Thanks.

  • @AVOX157
    @AVOX157 2 місяці тому +1

    10/10

  • @raghupal.v9751
    @raghupal.v9751 4 роки тому +1

    Super

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

    Fucking good

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

    zip

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

    zip spoiler alert

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

    zip

  • @deaddread8975
    @deaddread8975 8 днів тому

    zip