Vernam Cipher (One-Time Pad)

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 34

  • @IamAhmedMohammed
    @IamAhmedMohammed 4 роки тому +16

    This is a heavy British accent but it gets the understanding process in the brain meats done 😂❤
    Thank you mate 🌚❤

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

    I've been working on this and this is what I've come up with so far. I capture mouse movements to create random values. From those values I create a random character set (94 characters) and a OTP. I embed the character set and one time pad (which is also the password to a steg file embedded within the picture). The picture is created from unique graphic fonts that the character set and otp are translated into. The picture has five layers and each glyph in each layer of the picture has an RGBT color value. The RGBT values each separately have their own character set and otp (by using cloak values). Messages can be encrypted and embedded into the picture. The steg file is the data set that creates the picture within the program. Only the top layer, layer one is visible and that is the picture sent. The other layers are within the data set that has been embedded into the picture. The picture is sent to a recipient, who has the special fonts. The recipient decodes the picture (only layer one visible) using the fonts to get the character set, otp and thus the password to retrieve the steg data file that when loaded into the program, will reveal all five layers and RGBT values. The cloak values to be used can be obtained from the glyph values in the top layer, according to a set of rules established beforehand between Bob and Alice. So each layer has a character set and an otp for the glyphs in that layer and also a character set and otp for each of the red, green, blue and transparency values for that layer. As a bonus, the layers can be shuffled (so a shuffle value would also be needed to sort the layers into the correct order) :-)

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

    One of the best explanations of this cipher. Some are too difficult to understand or some are way too simplified. I just started my cryptography math course and it's already killing me, so this helps a lot. Thank you.

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

      yeah, it's pretty comprehensible, but it doesn't explain WHY using the key more than once would result in non-security

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

    This is one of the best videos for people just learning OTP

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

    Awesome video! Clear and concise concepts explained in an understandable way.

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

    Pedagogic and perfect explanation! Continue please to explain like this way, cryptography informations is a great gap here in Brazil. Thank you man! You have my respect!

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

    To make the Vernam cipher even more difficult to crack, besides the otp the character set that is used is also randomly created. The recipient would need to have this char set as well as the otp. Use mouse movements to capture a string of random numbers. If I can just come up with a way of sending a password without using DHKE or RSA, working on it. Then use steganography to send char sets and one time pads in an image.

    • @Ashley-1917
      @Ashley-1917 3 роки тому

      If RSA security is an issue, why not just use more bits?

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

    You are explaining this better than my own teacher :3 thank you nice vid

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

    For each character in message... to encrypt... ((Msg + Otp) - 1)... To decrypt ((Encrypted - Otp) + 1)... if result > than character set length...reverse the op with the 1 instead, then subtract the character set length. If Msg and Otp are the same value then add together and minus 1. Try it using any piece of copied text to use as the one time pad. Eg. A character set A to Z plus 0 to 9 (with A=1 and 9=36) total character set length is 36. With practice you can encrypt and decrypt in your head :-)

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

    The best video out there about vernam cipher! Very informative and easy to understand. Great job!

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

    Thank you, best video! Simply language, easy steps

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

    epic video man, I totally understand now! Thanks!

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

    Excellent explanation!

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

    3:53 cup of key

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

    Awesome explanation !

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

    ENCRYPT: ((messagecharactervalue + otpcharactervalue) - 1 ) mod charactersetlength DECRYPT: ((encryptcharactervalue - onetimepadcharactervalue) -+1 ) mod charactersetlength

  • @dr.anitapradhan5489
    @dr.anitapradhan5489 4 роки тому

    Thanks for the reliable content...

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

    do u guys know any software to do OTP encryption?

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

    Typically Used by Inspector Gadget (Αστυνόμος Σαΐνης)

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

    Thank you dude you really helped me

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

    Hey, just wanted to know is the As level playlist complete? If so can you solve some past paper questions please and thank you so much for all the great work🙏🏼

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

      No problem, thanks! I'm afraid not, I'm working hard to complete it at the moment but there are some gaps remaining. I'll be sure to do more walkthroughs, probably closer to the exams

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

    Thank you very much ^^

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

    thank you very much!!!!!

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

    Hi there! Could you do me a favor? Your videos are great but is far to find what I was looking for when I used the search box in your channel. If perhabs you create playlist about cryptography or add the proper tags for the videos about Cryptography it could pop up when I search the common work "crypto" for example. Thanks keep the good work.

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

    Good work

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

    thankyou

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

    ☮️