One-Time Pad

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

КОМЕНТАРІ • 100

  • @shreeyashpandey3530
    @shreeyashpandey3530 Рік тому +131

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

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

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

  • @ktmusicstudio
    @ktmusicstudio 2 роки тому +26

    why this feels like a action movie

  • @divakark3298
    @divakark3298 2 роки тому +31

    Thanks for creating the horror effect ☺️

  • @localbod
    @localbod Рік тому +11

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

  • @interstella0
    @interstella0 2 роки тому +18

    I'm feeling the adrenaline learning this on god 🙌

  • @marccastella7748
    @marccastella7748 4 роки тому +33

    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 4 роки тому +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 3 роки тому +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 3 роки тому +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 3 роки тому

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

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

      Give me a break. I watched 5 of these vids and still dont get it. This is the closest one and still dont!

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

    Thank you! This was really helpful!

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

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

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

    Now I know what the numbers mean

  • @jaswanthtalada.
    @jaswanthtalada. 7 місяців тому +2

    Wonderful explanation

  • @omaxshendy5732
    @omaxshendy5732 Рік тому +3

    well presented, just 1 minute but very clear. xoxox

  • @9b5a
    @9b5a Рік тому

    Its also called the vigenere cipher by the way

  • @rajavelu4540
    @rajavelu4540 2 місяці тому

    I am near my exam hall with this

  • @yashanmaduwantha4945
    @yashanmaduwantha4945 5 місяців тому

    Nice explain so quick

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

    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 6 років тому +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 6 років тому +1

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

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

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

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

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

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

      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.

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

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

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

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

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

    bruuuuhh...music semmaaa brooooooo⚡⚡

  • @ghize8347
    @ghize8347 Рік тому +6

    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.

  • @aliticx
    @aliticx 3 роки тому +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 2 роки тому +1

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

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

    Nice video

  • @l321mohitmahajan7
    @l321mohitmahajan7 11 місяців тому +1

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

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

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

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

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

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

    Mind explaining how is this different with vigenere cipher?

    • @thatrandomperson8263
      @thatrandomperson8263 5 років тому +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.

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

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

    • @AppleMak2010
      @AppleMak2010 5 років тому +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 5 років тому

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

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

      @@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 5 років тому +1

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

    • @heath6969
      @heath6969 5 років тому +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.

  • @lvr3velyn
    @lvr3velyn 11 місяців тому

    anyone else here bc of school?

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

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

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

      It is.. I think that this guy oversimplified the concept...

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

      Binary XOR is a kind of modulo 2

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

    Best explanation,thanks

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

    good good

  • @jen-wj3bc
    @jen-wj3bc 4 роки тому +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 3 роки тому

      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 3 роки тому

      @@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.

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

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

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

    I wish my teacher had just showed me this video

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

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

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

    Goray Ka bacha movie music on cypher iron man coming alive

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

    thankyou.

  • @freePalastain-rg8fh
    @freePalastain-rg8fh 14 днів тому

    هذه خوارزمية فيجنيير

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

    what is the difference between it and vigenre?

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

    Beyhadh bgm Ano ith 🌝

  • @fearless_fighter11
    @fearless_fighter11 3 дні тому

    this is completely wrong....in one time pad the length of plain text and keyword should be equal, but above in the video it's not same.so don't trust this video's correctness just by the background music dudes

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

    and how to decrypt it? 🤪🤓

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

    good job

  • @HEMANTJUNEJA-ve8bn
    @HEMANTJUNEJA-ve8bn 2 місяці тому

    This is using vignere cipher and its NOT AT ALL O-T-P

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

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

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

      Modulus man 🤦

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

      (24+8) mod 26 = 6

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

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

    • @vaibhav1180
      @vaibhav1180 4 роки тому +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 4 роки тому +1

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

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

    but...how do you decypher it?

    • @logancampbell5014
      @logancampbell5014 6 років тому +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 6 років тому +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 5 років тому

      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.

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

    I understand

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

    I was keeping up till
    I8 +Y 24 = 6 WT……?
    G6 +w22=2 WT……?
    M12 + o14=0 WT…..?
    How are you coming up with this Ya lost me

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

    吊炸天

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

    Salah dong...
    Key = KEYWORD bukan KERWOR

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

    LQQRVYFU
    (my profile name without spaces is the keyword)

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

      IMMOTLT

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

      Key is my username with no spaces: KVGPSDKOPSSEEHAGKL

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

    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..