One-Time Pad

Sdílet
Vložit
  • čas přidán 7. 10. 2017

Komentáře • 90

  • @shreeyashpandey3530
    @shreeyashpandey3530 Před rokem +82

    Had me on the edge of my seat, what a thriller!

  • @houmanjafari2963
    @houmanjafari2963 Před 5 lety +55

    For one moment I thought I'm in the middle of a strategic game !

  • @ktmusicstudio
    @ktmusicstudio Před 2 lety +18

    why this feels like a action movie

  • @divakark3298
    @divakark3298 Před rokem +24

    Thanks for creating the horror effect ☺️

  • @jaswanthtalada.
    @jaswanthtalada. Před 29 dny +1

    Wonderful explanation

  • @interstella0
    @interstella0 Před rokem +17

    I'm feeling the adrenaline learning this on god 🙌

  • @marccastella7748
    @marccastella7748 Před 3 lety +21

    This is not One Time Pad encryption. NOT AT ALL.
    One Time Pad uses a key that is choosen at random, and never re-used (hence "one time").
    What is shown here is symmetric encryption.
    Real One Time Pad encryption is unbreakable.
    Don't rely on this video.

    • @bobomar5289
      @bobomar5289 Před 3 lety +10

      One-Time-Pad uses SYMMETRIC encryption, meaning the same key is used for both encryption and decryption.
      in this video he used "KEYWORD" as an example of a secret keyword that is used only once, and is equal or longer than the plain text.
      This video is a very good and very simple illustration on how a One-Time-Pad work.

    • @valdecoxib
      @valdecoxib Před 2 lety +1

      "symmetric encryption" isn't really a certain kind of encryption though, it's more like an umbrella type
      OTP is a kind of symmetric encryption and symmetric encryption can still be unbreakable

    • @robzertjos6216
      @robzertjos6216 Před 2 lety +1

      @@bobomar5289 Spot On. KEYWORD is the non-fixed or variable element, and MILINT Agents or standard HUMINT spies, they would get their KEY in numbers, letters or a mix, using radio beeps, morse code, or notes/communication. OTPs are unbreakable because even if CI/COINT tries to work, it would have served its use and will not be used again (they strictly watch this).

    • @MrSchlechtes
      @MrSchlechtes Před 2 lety

      actually I think we all know what the preconditions are for the OTP...😎

  • @localbod
    @localbod Před 6 měsíci +5

    Finally, a concise explanation of how a one-time pad works with a tidy and understandable example.
    The music also enhanced the experience.

  • @gina8972
    @gina8972 Před 4 lety +6

    Thank you! This was really helpful!

  • @MHYZ116
    @MHYZ116 Před 5 lety +5

    Mind explaining how is this different with vigenere cipher?

    • @thatrandomperson8263
      @thatrandomperson8263 Před 5 lety +2

      It is diffrent because you use the key once, then you eat it or burn it or something but other than that pretty much the same although different ciphers than this can also be one time pads if you only use the key once and never again.

  • @Jester4460
    @Jester4460 Před 3 lety +3

    Now I know what the numbers mean

  • @captain_ravioli1514
    @captain_ravioli1514 Před 3 lety

    Yeah but I have the phrase "bringchange", how do I encrypt that?

  • @musicmonkey8367
    @musicmonkey8367 Před rokem +1

    Explain very well but so scary to listen the BGM 😭🙏

  • @WWEFights793
    @WWEFights793 Před 3 měsíci

    you are superb. save a lot of time. shame on all other CZcamsrs. you got 10/10 from my side.

  • @mohsenmokhtari6170
    @mohsenmokhtari6170 Před 5 lety +1

    Best explanation,thanks

  • @sidd7688
    @sidd7688 Před rokem +1

    bruuuuhh...music semmaaa brooooooo⚡⚡

  • @9b5a
    @9b5a Před 10 měsíci

    Its also called the vigenere cipher by the way

  • @omaxshendy5732
    @omaxshendy5732 Před rokem +3

    well presented, just 1 minute but very clear. xoxox

  • @jen-wj3bc
    @jen-wj3bc Před 3 lety +2

    aren't they supposed to mod 26?? so the sum of the plain and keyword = 35 (for example) then 35 mod 26 = cipher text??

    • @valdecoxib
      @valdecoxib Před 2 lety

      uhhh, i dont know what "mod 26" is, do you mean use it as the modulus(idk if im right there)
      as in, take 35-26 to find the number of places past 26 it is, then use the value assigned as 9?

    • @jen-wj3bc
      @jen-wj3bc Před 2 lety

      @@valdecoxib mod is modulus yeah. mod 26 is dividing a number by 26 and the answer is what is left over. So if i did 6 mod 2 the answer would be 0 because 2 goes into 6 evenly 3 times. 6 mod 2 = 0. 6 mod 4 = 2 because 4 goes into 6 once and then there is 2 left over.

  • @gianttigerwall1222
    @gianttigerwall1222 Před 5 lety +3

    if the plain text's lenght is longger than KEYWORD, what to do next?

    • @AppleMak2010
      @AppleMak2010 Před 4 lety +1

      you can repeat the KEYWORD, but ideally you have a keyword that is the same length as the message. For example an extract from a book chosen at random.

    • @MBatYT
      @MBatYT Před 4 lety

      @@AppleMak2010 No, the key must have minimum the same size. If you reuse the key, you have a problem.

    • @AppleMak2010
      @AppleMak2010 Před 4 lety

      @@MBatYT Yes that's what I was saying, but not very well. You can repeat the keyword, but that reduces the security of the message. Cheers

    • @AppleMak2010
      @AppleMak2010 Před 4 lety +1

      @@betos-08 The keyword is a random set of letters, not words as such.

    • @heath6969
      @heath6969 Před 4 lety +1

      @@betos-08 if you mix the plain text and key well, even though you keep the keyword smaller than the plain text, it will be good. security decreases but still is very uncrackable. though, it should still be random. i tested it with a php script that generated about 1 million different results with different keys, there were tons of meaningful long words.

  • @muyaboomin
    @muyaboomin Před rokem +2

    This is vigenere cipher unless I'm getting something wrong.

  • @abdulrafay2420
    @abdulrafay2420 Před 7 měsíci +1

    This is Vigenere cipher...Dont misguide please. Btw nice thriller😂

  • @ghize8347
    @ghize8347 Před rokem +5

    This video only exlains how to convert a plain text into chphertext, but it doesn't explain anything about a One-Time-Pad.
    What is an OTP? What are the rules for an OTP? How often can you use an OTP? And so on and so on.

  • @MadMuss
    @MadMuss Před 5 lety

    good job

  • @francesco4433
    @francesco4433 Před rokem +3

    (plain text + Key) mod 26 = you will get the cipher

    • @mathilde3646
      @mathilde3646 Před 8 měsíci +1

      thank you! My exam is in an 1 hr :)

  • @asimbadrani869
    @asimbadrani869 Před rokem

    what is the difference between it and vigenre?

  • @tranquangminh9039
    @tranquangminh9039 Před 16 dny

    good good

  • @minhto9436
    @minhto9436 Před 6 měsíci

    Nice video

  • @lvr3velyn
    @lvr3velyn Před 4 měsíci

    anyone else here bc of school?

  • @danurkresnamurti3598
    @danurkresnamurti3598 Před 2 lety

    thankyou.

  • @Duxies
    @Duxies Před 7 měsíci

    I wish my teacher had just showed me this video

  • @marcd4144
    @marcd4144 Před 5 lety +31

    You missed one idea of this cipher... You didnt explain what happens when the sum of 2 characters is greater then 26. Other then that, good visual learning.

    • @kidsaisemberg2764
      @kidsaisemberg2764 Před 5 lety +3

      you just go back around the list of numbers so if you reach 25 but there is some left over you go back to 0 and continue

    • @logancampbell5014
      @logancampbell5014 Před 5 lety +1

      for every character -> (Plaintext Character + Keyword Character) % 26 (the alphabet size) = Ciphertext Character

    • @nfsindo1493
      @nfsindo1493 Před 5 lety +1

      I have a home work with vernam chiper.I have problem with descryption not match with the plaint text after Descrypt

    • @MSecYT
      @MSecYT Před 5 lety +1

      @Jack Obrein % is the modulo operator not multiplication en.wikipedia.org/wiki/Modulo_operation

    • @heath6969
      @heath6969 Před 4 lety

      For decryption check subtraction of key letter's number from addition of 26 and the cipher letter's number. If it's lower than 26 just subtract key from the ciphertext. If it's bigger than 25, subtract key letter's number from the addition of 26 and cipher text and then convert it to letter. I made a script to test brute forcing this with a simple php script. It generated 999999 tries within 10 seconds but literally you could find too many MEANINGFUL words mixed in them.

  • @himelsarkar137
    @himelsarkar137 Před 5 lety

    I understand

  • @kidsaisemberg2764
    @kidsaisemberg2764 Před 5 lety

    but...how do you decypher it?

    • @logancampbell5014
      @logancampbell5014 Před 5 lety +1

      if you knew the keyword and the numbering of the alphabet: then (Ciphertext Character - Keyword Character) % 26 = The Plaintext word
      example: 0[14] - K[14] %(mod) 26 = M[12]

    • @PrinzAquatic
      @PrinzAquatic Před 5 lety +1

      Example plain text = bad = 103
      Keyword = dab = 301
      Encryption = 404 = eae
      decryption, since you know the key is dab = 301, then encryption - keyword, = 404-301 = 103 = bad, easy??, Very if you have the keyword

    • @heath6969
      @heath6969 Před 4 lety

      welp i did by trying adding 26 to the cipher text and subtracting key from it. if it's bigger than 25 i just subtract key from cipher itself.

  • @ajayvijayan4303
    @ajayvijayan4303 Před 2 lety

    Beyhadh bgm Ano ith 🌝

  • @mohamedecode3984
    @mohamedecode3984 Před 4 lety +1

    But I thought tha One Time Pad is based on The XOR operation .

  • @l321mohitmahajan7
    @l321mohitmahajan7 Před 5 měsíci +1

    it is wrong in cipher text you write A but A+R=17 means =R the Ans =ORGCR

  • @MrSchlechtes
    @MrSchlechtes Před 2 lety

    and how to decrypt it? 🤪🤓

  • @georgeghiultu8572
    @georgeghiultu8572 Před 10 měsíci

    One-Time Pad: Ciphertext = (Plaintext + Keyword) mod 26

  • @zn4798
    @zn4798 Před 2 lety

    吊炸天

  • @aliticx
    @aliticx Před 2 lety +2

    Wrong, one-time pad demands you use a "random" keyword, and you have to make sure you use only once. What you explained is the regular Vigenere Cipher.

    • @c.j.1089
      @c.j.1089 Před rokem +1

      Anyone that starts a response with "wrong" immediately discloses to the audience they are a child. One seeking validation.

  • @markworthington9503
    @markworthington9503 Před 5 lety +1

    Am I missing something ..... How does 8 + 24 = 6; 12 + 14 = 0 etc?

    • @vaibhav1180
      @vaibhav1180 Před 5 lety

      Modulus man 🤦

    • @ngoclamnguyen3086
      @ngoclamnguyen3086 Před 5 lety +5

      (24+8) mod 26 = 6

    • @franksinatraaintmydadnah3907
      @franksinatraaintmydadnah3907 Před 4 lety +3

      @@vaibhav1180 don't be cocky if you can't answer someone's request. Get lost.

    • @vaibhav1180
      @vaibhav1180 Před 4 lety +1

      @@franksinatraaintmydadnah3907 Modulus is the answer. What else to say in that man? If someone is doing cryptography then it's the most basic part of that. As per the Forouzan book of Cryptography, encoding the alphabet with mod 26 is the first basic cipher, Ceaser cipher comes after the basic one, which is related to adding 3. So, this one-time pad comes after too many of those.

    • @vaibhav1180
      @vaibhav1180 Před 4 lety +1

      @@franksinatraaintmydadnah3907 So, there wasn't anything about getting cocky in the first place. Think with a cool mind before writing all that.

  • @Richard-sp4pl
    @Richard-sp4pl Před 3 lety

    ChainLink

  • @binsarent4884
    @binsarent4884 Před 4 lety

    Salah dong...
    Key = KEYWORD bukan KERWOR

  • @deddcuber3288
    @deddcuber3288 Před 5 lety +1

    LQQRVYFU
    (my profile name without spaces is the keyword)

  • @mica122213
    @mica122213 Před 4 lety

    lame duck because the key has to be as long as the message ie no repeating patterns.. else the message is longer key is longer yawns..