Playfair Cipher

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น • 301

  • @afanofthem2734
    @afanofthem2734 3 ปีที่แล้ว +21

    First I thought 20 min, that's long. I ended up enjoying every second of it. Thank you!

  • @Henchetarian
    @Henchetarian 6 ปีที่แล้ว +117

    Not my first video to try to understand this, but my last - awesome explanation! thank you!

  • @saurabhprabhakar6890
    @saurabhprabhakar6890 4 ปีที่แล้ว +39

    I can't believe myself!!
    You just tought me a NEW unique language in just 19 minutes video.
    Love your knowledge and the simplest way you explained it. Just WOW.... Please accept my gratitude...
    God bless you sir 🙌 👍

  • @matxzx
    @matxzx 6 ปีที่แล้ว +50

    Omg thanks for this explanation! I'm following a course at university and they recommended us a book to read wich explains the Playfair Cipher in the most horrible unclear way... This is so much clearer! I'm putting this video in my bookmarks! Thanks again

    • @videosbykevin2938
      @videosbykevin2938  6 ปีที่แล้ว +8

      You are very welcome, Mathieu. I'm glad I could help.

    • @andreasorourke4252
      @andreasorourke4252 4 ปีที่แล้ว +1

      lol i'm reading the same book. It uses complicated equations that make it so much more difficult to understand

    • @tvaldad7437
      @tvaldad7437 25 วันที่ผ่านมา

      what carrer

  • @emmachristopherson8907
    @emmachristopherson8907 6 ปีที่แล้ว +77

    🏅 First time I've ever commented on a video. This is THE best explanation video hands down. Thank you!

    • @videosbykevin2938
      @videosbykevin2938  6 ปีที่แล้ว +11

      Thank you, Emma. I am genuinely honored.

    • @humairasher2000
      @humairasher2000 3 ปีที่แล้ว

      @@videosbykevin2938 sir how to decrypt a message if pair is identical (consist of same letter)

    • @thehaigu321
      @thehaigu321 3 ปีที่แล้ว

      @@humairasher2000 I believe in this case you'd want to replace the second occurance of a repeated letter with a sort of placeholder, such as X or Z, that way all pairs of letters are unique

    • @humairasher2000
      @humairasher2000 3 ปีที่แล้ว

      @@thehaigu321 thanks

    • @thehaigu321
      @thehaigu321 3 ปีที่แล้ว +1

      @@humairasher2000 no prob mate

  • @NovaAnimations
    @NovaAnimations 6 ปีที่แล้ว +109

    I feel smart now.

  • @rkx9868
    @rkx9868 3 ปีที่แล้ว +2

    Literally saved me soo much time, I’ve wrote a whole assignment using the information provided and made my own examples whilst following yours!

  • @CJ_DJ
    @CJ_DJ 3 ปีที่แล้ว +4

    They mentioned the play fair cipher in National Treasure 2, so I was curious what it was and so I came to this video. Really good job! I loved how detailed you were with it. I will definitely be using this to send secret messages to my friends.

  • @silverdotmanee
    @silverdotmanee 2 ปีที่แล้ว +1

    I was trying to play the game cryptogram but I didn't understand how to play it so came on yt for help but instead of writing cryptogram I wrote cryptography and found myself here and I have apparently learned how to code and decode playfair cipher now... Boy the way you were able to explain to someone who knew nothing about it and yet they managed to learn. You got a special talent! You were funny too so it wasn't even boring 💜👏🤗

  • @bloodeyhell7026
    @bloodeyhell7026 6 ปีที่แล้ว +8

    Wow thanks for this.. some people did videos on this yet unable to explain or demonstrate. You are a good teacher. i understood it flawlessly. i would be glad if you can upload RSA, DIFFE HELLMAN, HMAC, DES, AES AND TRIPLE DES algorithms. then i know for sure i have passed my exams. Thanks once again you are a life saver. already subscribed!

    • @maxispeeltspellen4892
      @maxispeeltspellen4892 5 ปีที่แล้ว

      You know a triple des video would be like 8 hours long to explain

  • @zt3853
    @zt3853 4 ปีที่แล้ว +115

    Kevin: MEETMEATNOON = Meet me at noon
    me: meet meat noon

    • @jjpxggy9101
      @jjpxggy9101 4 ปีที่แล้ว +1

      ZTAso Lol, so relatable
      Hehe, Food lovers ❤️

    • @ne_wi911response8
      @ne_wi911response8 4 ปีที่แล้ว +2

      I got MEET MEAT NO ON

    • @geo.33
      @geo.33 3 ปีที่แล้ว

      😂

    • @RabbitTheKing
      @RabbitTheKing 3 ปีที่แล้ว

      Same

    • @jamessmith8727
      @jamessmith8727 3 ปีที่แล้ว +1

      No Kevin it is meat me at noon, not meet. lol

  • @IamAhmedMohammed
    @IamAhmedMohammed 5 ปีที่แล้ว +16

    He is super calm 😂❤
    That's help the understanding process in the brain meats 😂❤
    This will help me pass my exam tomorrow, god bless you so very much teacher ❤

  • @thegreatkris24
    @thegreatkris24 ปีที่แล้ว +1

    finally! someone on youtube that knows how to explain stuff ! thanks

  • @athomeescaperooms5696
    @athomeescaperooms5696 2 ปีที่แล้ว +1

    This was an incredible and thorough explanation - thank you! I feel like I could now teach others about this cipher based solely on your explanation. Great job!

  • @anythingajag
    @anythingajag 4 ปีที่แล้ว +4

    Brilliantly explained, well done. Just watched National Treasure 2 for the umteanth time and understood the code!!

  • @CataRaen42
    @CataRaen42 4 ปีที่แล้ว +26

    Who is here watching just for fun and not for school or anything?

    • @carlos1004Alvarez
      @carlos1004Alvarez 4 ปีที่แล้ว

      Yane Lane yeah just finished watching National treasure 😂

    • @antipusrises
      @antipusrises 9 หลายเดือนก่อน

      I’m trying to figure out a clue in a book I’m reading all by myself 😅

    • @uschurch
      @uschurch 8 หลายเดือนก่อน +1

      I'm watching this out of interest. I just had to study some cryptography for school but now I'm interested in learning more!

    • @Nomadgammer
      @Nomadgammer 5 หลายเดือนก่อน

      Definitely

    • @Coral_pepe
      @Coral_pepe 2 หลายเดือนก่อน

      Us

  • @venkatavula
    @venkatavula 5 ปีที่แล้ว +1

    That's a very good explanation i have been searching for understanding this topic. Thanks a lot Buddy

  • @dragonblade5370
    @dragonblade5370 2 ปีที่แล้ว

    Best video I've watched, Easy to understand thank to you!

  • @east4081
    @east4081 2 ปีที่แล้ว

    Youve literally saved my semesterrrr..God Blesss you

  • @Metrious
    @Metrious 5 ปีที่แล้ว +9

    "Uncopyrightable" and "dermatoglyphics" are two of the longest words that don't repeat a letter. Great keywords.

    • @vedran3775
      @vedran3775 5 ปีที่แล้ว +1

      Antidisestablishmenterianism

    • @Metrious
      @Metrious 5 ปีที่แล้ว +7

      @@vedran3775 yes that is the longest word, but it has repeated letters. The two I noted above have no repeated letters.

    • @billjoe5991
      @billjoe5991 2 ปีที่แล้ว

      @@Metrious yeah but you could just not write down the repeated letters when making the grid. So if the word has for example two A’s you could just write the word the way it is but leave out the second a

    • @Metrious
      @Metrious 2 ปีที่แล้ว

      @@billjoe5991 Whereas you are correct it is easier to remember with no repeated letters. Otherwise you have to remember how you spelled it without the repeated letters. Other than that you are perfectly correct.

  • @paulinatruck5316
    @paulinatruck5316 4 ปีที่แล้ว +2

    Maybe I missed the explanation but what if you need the letter that you are skipping? In this example it was the “J”. Would you use the “X”?

  • @Shuck99
    @Shuck99 8 หลายเดือนก่อน

    You are a phenomenal teacher

  • @עמיתחומרי-כ6ד
    @עמיתחומרי-כ6ד 6 ปีที่แล้ว +14

    I owe you big time

    • @videosbykevin2938
      @videosbykevin2938  6 ปีที่แล้ว +2

      You're quite welcome. Thank you for watching.

  • @AaronToponce
    @AaronToponce 5 ปีที่แล้ว +15

    This is a phenomenal video, as are your 2 paper Enigma videos. However, I want to mention a couple things when using the Playfair cipher.
    First when keying the Playfair cipher, you really should use an RNG to scramble the 5x5 grid. The threat model is an adversary that knows you're just using key words to key the Playfair cipher, and as such, writes a computer program to brute force search 5x5 grids based on simple key words. However there are 25 unique letters in Playfair, which means there are 25! (25 factorial) possible grids. In terms of computer security, this is about 83.68 bits of security (2^83.68 ~= 25!). 83 bits is robust enough to prevent an adversary from doing a successful brute force search.
    Second, no two messages should ever be encrypted with the same 5x5 grid. As a mathematician, you should be able to appreciate the mathematics behind using two ciphertexts encrypted with the same symmetric key, do determine the key itself, and as such, decrypt future ciphertexts. Every Playfair key should be ephemeral. This is why code books handed out in WWI and WWII. Field agents would encrypt the message with a key out of the code book, then destroy the key. This isn't unique to one-time pads either. It's the case in modern cryptography with AES, was the case with the German Enigma, and should be the case with any symmetric cipher design.
    A code book for a 5x5 Playfair grid could look something like:
    1. BIUXZGOHERAWLYPDVQTMCKNSF
    2. YDISTKQPUXZFCRHVGLOEBMWNA
    3. ZAQCVTYOWBEHMDISRPKUXFLNG
    4. GSEFXVQTHLPWKUMRYDNZIBACO
    5. CEPGIRKLAZXFQBOSWDTYNUHVM
    6. BWKSHOTZNYIMRGUCEDFLPQAXV
    7. XWBFGTRMUDKCLOEVQASYHPNIZ
    8. KYZCLETDXBOVWGAIHFURQSPMN
    9. SFMLTKONVCPYXIBWHZEAQUDRG
    10. FXNWMOEPDVBQCGSLYHTKAURIZ
    Two field agents would have identical code books. The person encrypting the message would use key 1, then destroy the key. Next time they wish to encrypt a message, they would use key 2, then destroy that key, etc. Write the grid out left-to-right, five characters at a time, and you have your Playfair grid.

    • @animepabu5526
      @animepabu5526 4 ปีที่แล้ว

      Very informative thank you :)

    • @MarkiMew
      @MarkiMew 4 ปีที่แล้ว

      Sometimes people just use code words then go alphabetically
      e.g. CODEABFGHIKLMNPQRSTUVWXYZ

    • @adamnordskog1231
      @adamnordskog1231 2 ปีที่แล้ว

      SOR”TI”E
      THE MEN OF GUNNERSIDE COULD BE PRAYING WITH DYNAMITE

    • @adamnordskog1231
      @adamnordskog1231 2 ปีที่แล้ว

      Page1-100-C •
      ANDRAE NORDSKOG
      “the frauds has my grandfathers original Boulder Dam in the Light of the Owens Valley Fraud. ©️2022 by Adam Nordskog”

    • @adamnordskog1231
      @adamnordskog1231 2 ปีที่แล้ว

      It says to go with V0C. #1

  • @rahxephonmanga9802
    @rahxephonmanga9802 10 หลายเดือนก่อน +1

    My new favorite cipher.

  • @aniketdeshmane6569
    @aniketdeshmane6569 6 ปีที่แล้ว +4

    You r grt , your explaination is lit! Please make more videos

  • @animepabu5526
    @animepabu5526 4 ปีที่แล้ว +10

    Everyone’s saying what a great video (totally true) but I’m over here just watching him write with that nice hand writhing. It looks like a typing font

  • @renatorodrigues1500
    @renatorodrigues1500 ปีที่แล้ว

    Thank you so much for your explanation !!
    I love to make this things !!!
    😎👌
    I'm from Brazil !!

  • @FayettiSiqueira
    @FayettiSiqueira 3 ปีที่แล้ว +1

    If you add the numbers you can use all letters and numbers in a 6x6 table. With the bennefit of encoding numbers as well

    • @jeffreyweaver9854
      @jeffreyweaver9854 3 ปีที่แล้ว

      Check out Martin Gardner's book "Codes, Ciphers, And Secret Writing" for his version of the Playfair Cipher, which does use a grid of randomly placed letters and digits!

  • @youtellme_studios4330
    @youtellme_studios4330 2 ปีที่แล้ว

    does he explain the "back up" thingy in the code he gave us? because i rewatched the first 10 minutes twice and i never heard such thing

  • @partlycloudy4664
    @partlycloudy4664 4 ปีที่แล้ว

    Wait how do you know when to move left or right in a row? For example:
    Earlier you said within a row, to the right of the letter your interested in
    At 3:13 HK. You move to the right with H and K wraps around to F.
    But then at 12:56 OP, you move to the left to get NO. Why don't you wrap around to the right that time to make it PL?
    As I am looking at the rest of the comments, it seems that everyone else understands it, so maybe I missed something in the video. Do you think you or someone else could clarify for me?

    • @christodoulosstylianides6477
      @christodoulosstylianides6477 4 ปีที่แล้ว

      If you are ciphering you go on the right
      If you are decoding you go on the left (because the code was made by going on the right)

    • @partlycloudy4664
      @partlycloudy4664 4 ปีที่แล้ว +1

      @@christodoulosstylianides6477 Oh I see. Wow that makes it even cooler! Thanks so much!

    • @christodoulosstylianides6477
      @christodoulosstylianides6477 4 ปีที่แล้ว

      @@partlycloudy4664 :)

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว +1

      Thank you for watching Alicia, and thank you Christodoulos for answering her question. If you any further questions, I'll keep an eye out.
      Kevin

    • @christodoulosstylianides6477
      @christodoulosstylianides6477 4 ปีที่แล้ว

      @@videosbykevin2938 thank you for such an amazing video!!

  • @apotheoic8865
    @apotheoic8865 4 ปีที่แล้ว +2

    I love ciphers and codes, but I have no use for them... non of my friends are into them... can someone suggest a use? I want to use them for fun, but where do I start?

    • @Fanahim
      @Fanahim 4 ปีที่แล้ว

      Apotheoic you can make a puzzle type event and find a online community that is into codes

  • @XXTheMoleXX
    @XXTheMoleXX 4 ปีที่แล้ว +1

    Very nice. Thank you for the upload.

  • @sadmilkin
    @sadmilkin 4 ปีที่แล้ว +1

    Im a little confused on the direction of the square. How come for " ME" you went clockwise and for "ET" you went counterclockwise?

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว +1

      Greetings sad milk,
      Don't think of it as going clockwise or counter-clockwise. When two letters appear on the corners of a box, encode them with the letters opposite the corners horizontally. Always move horizontally either left or right.
      Does that make sense?
      Kevin

    • @jack00004
      @jack00004 3 ปีที่แล้ว

      @@videosbykevin2938 yes it makes more sense... so going clockwise or counterclockwise is not the goal

  • @karlvonpackal1402
    @karlvonpackal1402 4 ปีที่แล้ว +1

    Sometimes you go clockwise and other times you go counterclockwise when doing boxes (is it simply back and forth between the two every time you come across it?).

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว

      Greetings Carl,
      No, you go clockwise when you are encoding, counter clockwise when you decode. Thank for watching.

  • @twanyajoseph4391
    @twanyajoseph4391 4 ปีที่แล้ว +3

    what happens if you have to use the missing letter do u include it ?

    • @009Fahim
      @009Fahim 4 ปีที่แล้ว +2

      The letters I and J can be counted as the same so instead of writing I in the box we write I/J

  • @lisahorgan8183
    @lisahorgan8183 3 ปีที่แล้ว +1

    Can I ask you question? Can I find another languages the this code ? For example :in turkish

    • @videosbykevin2938
      @videosbykevin2938  3 ปีที่แล้ว +1

      Greetings Lisa,
      I don't see why not. Because the Turkish alphabet contains 29 letters, I would suggest using a 7 x 4 grid and leaving off a little-used letter as I did here in choosing to leave off J.

  • @muhamadhaydar8419
    @muhamadhaydar8419 3 ปีที่แล้ว

    Saved my time, thanks
    Great explanation 💖❤️

  • @kichq248
    @kichq248 4 ปีที่แล้ว +1

    You deserve a subscribe,Thank you so much man!!!

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว

      You're most welcome, kichq. Thank you for watching.

  • @nihil_0x
    @nihil_0x 4 ปีที่แล้ว +1

    What if i add 4 imaginary meaningless character or numbers and make it 6x6, to solve the missing character problem.. I think it should work! 🤔 what do you think?

  • @ashleypursell9702
    @ashleypursell9702 4 ปีที่แล้ว

    great video with simple explanation, thanks so much!

  • @anthonygitonga4526
    @anthonygitonga4526 4 ปีที่แล้ว

    What if you have a key word that has similar letters? (Example)

  • @AavyanTiwari
    @AavyanTiwari หลายเดือนก่อน

    But I have a problem, what if my sentence is something like *the quick brown fox jumps over the lazy dog*?

  • @SomeBrainiacRBLX
    @SomeBrainiacRBLX 5 หลายเดือนก่อน

    What if there is an alone x at the end? I'm trying to encode "Orange Box" But have a leftover x at the end.

    • @terrydarhk
      @terrydarhk 2 หลายเดือนก่อน

      Decoding this would yield “ORANGEBOXX” which is still understandably “Orange Box.” The lone ‘x’ changes nothing.

    • @SomeBrainiacRBLX
      @SomeBrainiacRBLX 2 หลายเดือนก่อน +1

      @@terrydarhk Thanks!

    • @terrydarhk
      @terrydarhk 2 หลายเดือนก่อน

      @@SomeBrainiacRBLX 😁

  • @sinisterblades7609
    @sinisterblades7609 2 ปีที่แล้ว

    This is so fun damn i started this class at the uni and iam so hyped to learn all of this

  • @jonathanpascual5353
    @jonathanpascual5353 4 ปีที่แล้ว +2

    Thank you so much! I was able to decrypt the code from the beginning of National Treasure: Book of Secrets just for fun. Also, I've heard of people having the letter 'J' occupy the same square as 'I' instead of fully omitting it , do you think that's acceptable?

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว +1

      You're quite welcome. I'm delighted you found it useful.
      Certainly you could do that, but I don't think you will find it unnecessary. No one would mistake ionathan, ianuary, or iuniper for anything other than Jonathan, January, of Juniper

  • @notquitehim
    @notquitehim 3 ปีที่แล้ว +5

    wouldn't it be clever to use the letter you skipped in the grid and use it for double letters, or strings that end with a single letter?

    • @heavyglassglass
      @heavyglassglass 11 หลายเดือนก่อน

      but it's not on the grid so you don't have a letter to swap it with

  • @d.f.1409
    @d.f.1409 3 ปีที่แล้ว

    Great explanation! But what happens if the letter j shows up in our plaintext.. do we subsitute it with an x maybe?

    • @videosbykevin2938
      @videosbykevin2938  3 ปีที่แล้ว +1

      Thank you D. S. Personally, I use an i. No one would mistake ianuary, iury, or iaguar for anything but January, jury, or jaguar. But of course, you can use an X or any agreed upon letter. Another option would be to instead omit the letter Q, and use kw whenever it is needed as in kwick, kwit, or kwiet.

  • @annalizamesina3512
    @annalizamesina3512 5 ปีที่แล้ว +1

    Hi kevin. I just want to share what i was thought in school, with regard to your "balloon" example.. From what i was thought, repeated letters should be placed with a null (X) in the middle. So balloon should be : ba lx lo on? just sharing... Thanks

    • @videosbykevin2938
      @videosbykevin2938  5 ปีที่แล้ว

      You are quite right, Annaliza. Some people do as I have shown, others break apart all double letters as you were taught, and still others break only double letters that appear as a pair. Thank you for your comment.

    • @Shadow017M
      @Shadow017M 4 ปีที่แล้ว

      @@videosbykevin2938 Potentially similar question, but what is to safeguard from palindrome words? Like noon, boob, etc. Say it was the word 'noon'. Could you put an x after the first n then do the double letter together then do the final N with the 5th letter and continue like that? I have my own workaround but I want to get the right system down first

  • @Stargirl2urStarboy
    @Stargirl2urStarboy ปีที่แล้ว

    What if you had a word with a j? Would u put for e.g. x?

  • @walidhouse
    @walidhouse 4 ปีที่แล้ว

    can we use numbers grid to code message?

  • @franksinclair544
    @franksinclair544 3 ปีที่แล้ว

    Can you have a code word like Tibia? Or does it have to be single letters that don't repeat

    • @videosbykevin2938
      @videosbykevin2938  3 ปีที่แล้ว

      Hi Frank,
      It must be a word that contains no repeated letters, PENCIL, BIRTHDAY, etc.

    • @grzegorzbrzeczyszczykiewic279
      @grzegorzbrzeczyszczykiewic279 3 ปีที่แล้ว +1

      @@videosbykevin2938 You actually CAN use double letter words like BEEKEEPER, but you skip the letters, so the alphabet starts with B E K P R A C D...

  • @shoetanphilip6050
    @shoetanphilip6050 4 ปีที่แล้ว

    Best explanation ever

  • @samykhouazem1180
    @samykhouazem1180 ปีที่แล้ว

    what if we have double xx ?

  • @noone_8402
    @noone_8402 3 ปีที่แล้ว

    what to do if you encouter the letter you skipped

  • @San-li9ml
    @San-li9ml 4 ปีที่แล้ว

    Hello good sir, I was wondering if I got this correct, I was doing the thing you did with lizard but instead used the word zodiac and removed the letter k, and for the balloon I used Y an example being LY OY NY. So what I got for doing that was GO NW AV MX I was wondering if I was correct on this or do I need to do it again

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว +1

      Good day Sansaboy,
      It looks like you've got a good handle on it, but if I understood your description right, I get GO NW AV TA. The last two letters, NY, are both in the fifth vertical column, so encode them using the letters directly below them. N goes to T and Y wraps around to the top to become A.
      Hope that helps. Do let me know if I have misunderstood your question in any way.
      Thank you for watching, Kevin

  • @neOnPinguinlps
    @neOnPinguinlps 6 ปีที่แล้ว

    Thank you so much! I really need that for school but there was no German speaking video. Great job :)

  • @civilvolcano4492
    @civilvolcano4492 4 ปีที่แล้ว

    What would happen I you put all the letters (in the grid ) in a random order ?

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว +1

      That would be perfectly fine as long as your recipient knows what order you used.

  • @celineguler
    @celineguler 3 ปีที่แล้ว

    I love your channel sir

  • @dunkelheit8594
    @dunkelheit8594 4 ปีที่แล้ว

    Thanks for the video! This is gonna help me a lot.

  • @geethchadalawada6055
    @geethchadalawada6055 5 ปีที่แล้ว

    What if the letter I skipped occurs in my text? Suppose that I was using the second grid you explained with and I want to encrypt January. So what will be the substitution for J? We don't have J in the grid. So what shall we replace it with? Or shall we just leave it as J?

    • @videosbykevin2938
      @videosbykevin2938  5 ปีที่แล้ว +2

      Greetings Geeth,
      Typically one would use i; no one would mistake ianuary for anything other than January. Also, presumably the receiver of your coded message would be aware of the particular limitation with the letter J and decode accordingly. I might also recommend skipping Q and encode qu as kw if needed: kwit, kwiet, kwalify, etc.
      Thank you for watching,
      Kevin

  • @deeptivaze4383
    @deeptivaze4383 3 ปีที่แล้ว

    Very well explained, thank you.

  • @sengyongtan2317
    @sengyongtan2317 5 ปีที่แล้ว +1

    Thanks alot......It really help me to do mine school project

  • @alyadel6172
    @alyadel6172 5 ปีที่แล้ว

    I have a question.. Could MY in the first example be WO instead of OW?

    • @videosbykevin2938
      @videosbykevin2938  5 ปีที่แล้ว +1

      Hello Aly,
      Technically, no. It is understood that we always work horizontally in boxes, so M would map to O and Y would map to W, and when deciphering, O would map back to M and W back to Y. That being said, of course you and your fellow code writers could agree beforehand that you will work vertically in boxes, but the Playfair code as designed works horizontally.

    • @alyadel6172
      @alyadel6172 5 ปีที่แล้ว

      @@videosbykevin2938 Ok thank you so much

  • @lukab8963
    @lukab8963 6 หลายเดือนก่อน

    Pretty sure this is a bit wrong but it just may be another version of the playfair cipher, however the way i learned is that you divide balloon into ba lx lo on not replacing letters just adding an x

  • @lunalikemoon8541
    @lunalikemoon8541 4 ปีที่แล้ว

    What abut words with J?

  • @blink6280
    @blink6280 5 ปีที่แล้ว

    how will you decode word containing the letter you discarded? in your case any word with J in it

    • @videosbykevin2938
      @videosbykevin2938  5 ปีที่แล้ว

      Greetings Blink,
      Typically one would use i; no one would mistake ianuary for anything other than January. Also, presumably the receiver of your coded message would be aware of the particular limitation with the letter J and decode accordingly. One could also skip Q instead and encode qu as kw if needed: kwit, kwiet, kwalify, etc.
      Thank you for watching,
      Kevin

    • @blink6280
      @blink6280 5 ปีที่แล้ว

      @@videosbykevin2938 thanks tilte....dep3

  • @justmejhbmed9778
    @justmejhbmed9778 4 ปีที่แล้ว

    Great video and well explained. Thanks a lot ! However, as you deliberately left out the “J”, I would like to know how I would send a “J” if I wanted to send a coded word like “ JUST “ or “ JUMP “ etc. I hope you will reply. Thanks again.

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว +2

      Greetings JustMe,
      Typically one would substitute I for J when needed. Few people would confuse IUST, IUMP, or IANuARY for anything but JUST, JUMP, or JANUARY. However, as long as you and your recipient agree beforehand, you can leave out any letter you wish. I chose J because that's what the original crafter of the cipher did and because it has an easy substitution in the letter I.
      Thank you for you kind praise, Kevin

    • @justmejhbmed9778
      @justmejhbmed9778 4 ปีที่แล้ว

      @@videosbykevin2938 thanks for your answer and taking time to reply. it's really a good way to keep private information for oneself, like passwords or bank details. thanks again.

  • @thelight9865
    @thelight9865 4 ปีที่แล้ว

    Why should we skip J? My name is Suraj how could I write the letter J? Please answer me

  • @karinemiranda3551
    @karinemiranda3551 3 ปีที่แล้ว

    Great explanation! Helped me a lot! Thank you! ;)

    • @videosbykevin2938
      @videosbykevin2938  3 ปีที่แล้ว +1

      You are most welcome. Thank you for watching.

  • @kaivanmehta5771
    @kaivanmehta5771 5 ปีที่แล้ว

    If the encrypted message is a sentence.. then how can a space be identified at decryption side?

    • @videosbykevin2938
      @videosbykevin2938  5 ปีที่แล้ว +1

      Greetings Kaivan, Typically one does not include spaces in the encrypted message in order to make any attempts at unauthorized decryption more difficult. However, if you needed a space, you and the recipient would agree beforehand on a letter, usually X, to represent a space.

  • @ivanostermann7644
    @ivanostermann7644 4 ปีที่แล้ว

    Hello. Great video. Could you recommend a cipher book? thanks

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว +1

      Good day Ivan,
      There are many fine books on ciphers, but for the most in depth understanding, I would recommend you find a math textbook on Number Theory. It will be quite math-heavy and contain gads of information on many other topics, but the chapters on ciphers will be quite detailed with plenty of examples on both encoding and decoding.
      Thank you for watching, Kevin

  • @magicalhazzard6672
    @magicalhazzard6672 3 ปีที่แล้ว

    Sir, if we have removed the letter J, then how should we encrypt a word with J ?

    • @yogitajain8003
      @yogitajain8003 3 ปีที่แล้ว

      th-cam.com/video/2HWAqoDttU4/w-d-xo.html

  • @ranaai9990
    @ranaai9990 4 ปีที่แล้ว

    Such good explanation 💯

  • @deathcaesar1035
    @deathcaesar1035 3 ปีที่แล้ว

    You're so underrated.

  • @nataliewalde5429
    @nataliewalde5429 4 ปีที่แล้ว +1

    This is awesome. I've watched many videos but this is so well explained.... I think I finally got it. But... I may be daft... In the example HK, move to the right becomes IF. And in the reply of the spy NP, move to the left becomes MO and not OL. What did I miss? I'm sorry for asking. Can anybody explain it to me? 😟 Thank you!

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว

      Greetings Natalie,
      Your reasoning is spot on. As you say, HK becomes IF because we move to the right when encoding, but when the spy sends a response we decode the message by moving to the left, so NP becomes MO.
      If we were encoding NP instead of decoding, it would be encoded as OL because we move to the right.
      Do please let me know if that clears up any confusion.
      Thank you for your kind praise.
      Kevin

  • @exoticcats6119
    @exoticcats6119 5 ปีที่แล้ว +1

    Thanks needed this for school.

    • @animepabu5526
      @animepabu5526 4 ปีที่แล้ว

      I like your profile picture lol

    • @exoticcats6119
      @exoticcats6119 4 ปีที่แล้ว

      AnimePabu Thanks I like yours

  • @NothingMaster
    @NothingMaster 10 หลายเดือนก่อน +2

    The Playfair cipher is one of the easiest to break.

  • @samueljackson6188
    @samueljackson6188 ปีที่แล้ว

    Why not skip e?

  • @felixfortuna1302
    @felixfortuna1302 3 ปีที่แล้ว +1

    Thanks for the explanation…give a clear idea how to make a simple program in C,,, how I can manipulate los arrays for (i,j).. It’s very simple..thanks

    • @felixfortuna1302
      @felixfortuna1302 3 ปีที่แล้ว

      It’s a nice example that give me a clear idea how I can do it in C or assembler program..chao

  • @adrian7796
    @adrian7796 3 ปีที่แล้ว

    Awezome Explanation !! =)

  • @subisfree5390
    @subisfree5390 4 ปีที่แล้ว +4

    What about "this"

  • @lauzia6098
    @lauzia6098 4 ปีที่แล้ว

    this is really helpful thank you so much

  • @NoteyouraveRage
    @NoteyouraveRage 5 ปีที่แล้ว +2

    Wow! very helpful.

  • @indraramadhan_
    @indraramadhan_ 4 ปีที่แล้ว

    Excuse me, I want ask. Where is "J" in your box ? Thanks. Correction me if I'm wrong...

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว +1

      Greetings Indra,
      Because the grid can only hold 25 letters, a letter has to be sacrificed. You can choose any letter you like, but I choose to omit J and replace it in any messages with the letter I. No one would confuse Ianuary, Ioseph or iungle for anything but January, Joseph, and jungle.
      I discuss the need for skipping a letter in the video here: th-cam.com/video/-KjFbTK1IIw/w-d-xo.html
      Thanks for watching, Kevin

    • @indraramadhan_
      @indraramadhan_ 4 ปีที่แล้ว

      Thank you very much for explained the answer sir 😊👍

  • @MrVishalarwade
    @MrVishalarwade 5 ปีที่แล้ว +2

    Thank you soooooooo much 🙏

  • @gimaakoh2610
    @gimaakoh2610 ปีที่แล้ว

    Please help me understand why You missed out your Alphabet letter after I we have J not K

  • @svenkatasaikumar6698
    @svenkatasaikumar6698 3 ปีที่แล้ว

    Good one dude.. Well said ❤

  • @t_ok3n
    @t_ok3n 2 ปีที่แล้ว

    Hey can you help me with a coded message i'm trying to solve now for weeks? I'm desperate, and close to losing my mind lol

  • @didiebassist3435
    @didiebassist3435 ปีที่แล้ว

    How about J?

  • @yogokhan7108
    @yogokhan7108 2 ปีที่แล้ว

    THANKS MAN! LOVE U!!!!!!!!!!

  • @JustARandomGuy-m7v
    @JustARandomGuy-m7v 10 วันที่ผ่านมา

    Why is j missing

  • @angelazubal9341
    @angelazubal9341 3 ปีที่แล้ว

    Does anyone have experience with a 16x16 Fairplay by chance

  • @The_Shank
    @The_Shank 4 ปีที่แล้ว

    Great explanation!

  • @terrydaniels2998
    @terrydaniels2998 2 ปีที่แล้ว

    so good would fly to the moon for this

  • @prof.tahseen6104
    @prof.tahseen6104 3 ปีที่แล้ว +1

    0:08 I waited for Vsauce music...

  • @fluffypinkpandas
    @fluffypinkpandas 3 ปีที่แล้ว +2

    Ah ok.
    Ardent Alien Power Lizard Mourn Planet Viper Range Laser Laso Idaho
    Its like one of those super special passphrase chains that are generated for you when something is super encrypted.

  • @rohithsarvasudhi9603
    @rohithsarvasudhi9603 4 ปีที่แล้ว +1

    If we have to send a Massage with letter of 'J' Then what

    • @xladylupa9199
      @xladylupa9199 4 ปีที่แล้ว

      Yes, that's what I'm worried about too

    • @videosbykevin2938
      @videosbykevin2938  4 ปีที่แล้ว +1

      Greetings Rohith and xLady,
      Typically one would use i; for example, no one would mistake ianuary for anything other than January. Also, presumably the receiver of your coded message would be aware of the particular limitation with the letter J and decode accordingly. If J is especially dear to you, you might instead skip Q and encode qu as kw if needed: kwit, kwiet, kwalify, etc.
      Kevin

    • @Lichinha87
      @Lichinha87 4 ปีที่แล้ว

      or you can get fancy and use another language that spells their word with different letters, but has the same meaning

  • @pearltears8039
    @pearltears8039 4 ปีที่แล้ว

    For the person decoding it would have a very hard time....
    Im talking about the person the message is ment for....
    If they dont know what letter to use
    The letter next to it or under it or a big box or a square?
    I DONT GET IT?

    • @animepabu5526
      @animepabu5526 4 ปีที่แล้ว

      Depends on the pair. If the two letters create a box or if they are on the same line. If they are on the same line vertically or horizontally then they use the one next to it (horizontally) or under it (vertically) But if they are diagonal (like not on the same line at all) then it’s a square and you go to the opposite side. It’s explained well at the beginning try rewatching it you may understand it if you rewatch it

  • @wwredgrl1515
    @wwredgrl1515 4 ปีที่แล้ว

    Man oh man. This is some John Nash shit. Beautiful Mind.