Lattice-based cryptography: The tricky math of dots

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

КОМЕНТАРІ • 88

  • @bemo6434
    @bemo6434 10 місяців тому +40

    This channel is wildly underrated!

  • @mikecaetano
    @mikecaetano Рік тому +49

    So good to see you back on UA-cam talking math again, Kelsey!

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

      Oh I wonder why her voice sounds familiar!

    • @shresthamishra
      @shresthamishra 9 місяців тому

      I'm so happy to find you again😢😢😊😊

  • @DarrellCarbajal
    @DarrellCarbajal Рік тому +22

    this may be the most accessible explanation of lattice crypto on the Internet

  • @Anders01
    @Anders01 10 місяців тому +2

    Great presentation! The basic concept of lattice-based cryptography looks simple which I think is good for analyzing it in terms of security.

  • @General-jp5gf
    @General-jp5gf Рік тому +4

    I just found your channel from the PBS Infinite Series. It made my day to learn that you still make videos! I hope you keep uploading!

  • @florianp1318
    @florianp1318 19 днів тому

    Great quality content: very well structured and articulated, I hope you do more videos, you have a gift!

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

    Thanks for this video, I could finally got the concept of the Shortest Vector Problem and Closest Vector Problem. I really appreciate your explanation.

  • @christianadler1297
    @christianadler1297 21 день тому +1

    Fabulous! (could have done with a little more info about the congruity of the good/bad bases choice but- hey, I'm happy). Also- I had a dream once where I felt I may have invented (some parts of) a novel scheme for asymmetric crypto - take a point (the message) and perform any (reasonable) number of geometric transformations of the point (e.g. mirror in the X-axis, translate by vector V etc etc), the resulting point is the encrypted message- it is infeasible to recover the original message from this point and I expect there is a way to partition the transformations into public/private halves. After thinking more, I thought that I had only probably reinvented an inefficient implementation of ECC but now I think that I had only probably reinvented an inefficient implementation of Lattice-based crypto!. True story!!! ;))

  • @benbonnell1930
    @benbonnell1930 10 днів тому

    this video helped me so much with my discrete mathematics exam! thank you!

  • @aspidistrax_x2722
    @aspidistrax_x2722 10 місяців тому +1

    This video saved me a lot of time and confusion. Thank you so much for your great videos ♡♡♡

  • @Bronzite
    @Bronzite Рік тому +2

    I think there was an interesting problem we just blew past in this video around 6:05, where Alice sets up two bases with the same lattice. Is there an easy algorithm that allows someone to generate the "bad" basis from the "good" basis in a non-reversible way? Or was the fact that there's a way to reverse that the algorithm the "sneakiness" you allude to around 7:50?

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

      I am not an expert on this, but I found the papers and the answer appears to be:
      1) yes, several
      2) no.
      GGH (1996) generate their bad basis by multiplying the good basis by some randomly generated unimodular (determinant ±1) matrix and picking a result in which the basis vectors are sufficiently parallel (the threshold value is a parameter to their scheme and is called "dual orthogonality defect" of the unreduced basis). They discuss a few ways to generate these unimodular matrices - for example you can put 1's along the diagonal, random numbers along the middle row or column, and zeros everywhere else.
      Nguyen's (1999) sneakiness is to solve the closest vector problem modulo "some well chosen integer".
      In addition to the bad basis, Alice needs to share a maximal error e, so that Bob knows how far from his lattice point the encrypted point can be. Nguyen then solves the problem modulo 2e which is much easier, and uses this to recover information with high probability.

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

      @@TheAqissiaq I appreciate you doing the legwork on the actual papers. The unimodular matrix transformation seems reasonable, although I still have a nagging feeling that it would be tractable reversible if Eve knew the implementation they were using.
      Knowing that the maximal error is part of the public key also makes me feel a little better; I was thinking the "closest point" problem could be arbitrary under most lattices across a rational coordinate system given mutually prime bases, but having a fixed maximal error solves that issue. I was wondering if there was some principle of linear algebra that allowed for conclusive confirmation of the closest possible point I wasn't privy to.

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

      The problem is hard to solve in the general case, because there _is_ no "good" basis. Given two vectors that are near-parallel, it is possible to reduce one with respect to the other so they are more orthogonal. In higher dimensions, it can be a bit trickier.

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

    This is a phenomenal video. Thank you so much for take the time to clearly explain a complex topic. I'm very grateful for your work!

  • @erhounisoufian5439
    @erhounisoufian5439 6 місяців тому +1

    the best explanation of lattice in youtube 🔥

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

    Stunningly great video. Super clear.

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

    such a beautifully well done video. Thank you for taking an intimidating concept and making it accessible.

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

    Very good video, glad this is the first video that showed up when I searched for this topic

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

    Well-articulated! Thank you.

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

    Fascinating and well explained. Thank you

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

    Brilliant

  • @jgreen2048
    @jgreen2048 23 дні тому

    This is a great video

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

    Amazing video, really really good. Thanks so much!!!

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

    Thank you so much. It's so simple and understandable

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

    very pleasant to watch.

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

    Great video

  • @MisterSamchun
    @MisterSamchun 9 місяців тому

    c'est si clair et si bien expliqué. merci beaucoup !

  • @SphereofTime
    @SphereofTime 9 місяців тому +1

    5:02

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

    Great video!

  • @リンゴ酢-b8g
    @リンゴ酢-b8g Рік тому

    finally. an educational video without ear-splitting intros, pointless soundbites and effects and people speaking broken english. keep up the simple and good work

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

    This video really helped, thanks!

  • @UserName-gu3nv
    @UserName-gu3nv Рік тому

    You videos are amazing and I recommended it to every person interested in cryptography, keep up the great work

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

    I was really disappointed at the lack of visual representation of 17-dimentional lattice at 4:53 :(

    • @Daniel-ng8fi
      @Daniel-ng8fi Рік тому

      you should be grateful she didn't show it. It would have caused anyones head who viewed it to explode.

    • @paulchaperon2207
      @paulchaperon2207 Місяць тому +1

      Horrors beyond human comprehension.

  • @ngocmanprocoder
    @ngocmanprocoder 26 днів тому

    Hi, I'd like to ask you is the green point is target point and the point that is closest to green point represents the secret information, right? Many thanks.

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

    Thanks for video

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

    Awesome!

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

    I just was getting notifications from PBS Infinite Series. And there you are.
    Plan to restart those? Or production pace is too exausting?

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

    this was amazing!

  • @fsecofficial
    @fsecofficial 4 місяці тому +1

    she just broke my brain and my encryption 😂

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

    Thanks for the follow up on PQC standardization procedure. Maths part is always interesting?

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

    I love your videos .keep up the good work.

  • @harrytaylor2479
    @harrytaylor2479 2 дні тому

    What's to stop me taking choice linear combinations of the public basis so that it spans the space more efficiently? I understand it would be a large set of vectors, but it doesn't seem like a problem whose complexity grows fast

  • @deekshith_kp
    @deekshith_kp Рік тому +2

    Very informative.. thanks for putting together the insane math concepts in an easy to understand capsule!! I have one question though, which could be dumb 🙃 The strength with the algorithm is on keeping the 'good' basis confidential, and am curious on how it could be shared between Alice & Bob, without compromising it 🤔

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

      It's not shared. As it was said, Alice would receive a bad basis from Bob as a public key for encryption. The point is, no matter how bad basis is, its easy to combine vectors and get the point. But to decompose that point to the combination is VERY hard, having only bad vectors. Decryption is run by the owner of good basis to receive messages. This is how asymmetrical keys work

  • @atimholt
    @atimholt 14 днів тому

    My brain keeps on wanting to try to work out an easy way to solve the shortest vector problem, because it feels like it should be simple. I guess I should nurture that kind of thinking, but it feels weird already knowing that it isn't before starting.
    I keep on thinking of possible steps to take, but I can also begin to imagine how they could be countered on purpose.

  • @mathematicsDiscrete
    @mathematicsDiscrete 6 місяців тому

    This video is so cool 😎 thx

  • @catbeatzzz5693
    @catbeatzzz5693 10 місяців тому

    Regular people: just another thing to look at.
    Mathematician: why can't I make a mathematical model of this

  • @amit2.o761
    @amit2.o761 Рік тому +1

    are you one from pbs infinite series i was waiting for your video

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

    Can you provide books and references to read more on this? Also I'm planning to take courses on this. Please do recommend. Thanks. :)

  • @alejandroreyleyva8318
    @alejandroreyleyva8318 9 місяців тому

    How do you create this kind of representation and animations of point lattices? I am writting a university project about post quantum cryptography, and I would like to introduce pictures and visualizations about lattices. Thanks :)

  • @MAP233224
    @MAP233224 Рік тому +2

    All lattice propositions have been dropped by NIST at round 4, what does this imply for those protocols?

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

      The thing is I was thinking of some “lattice” based encryption method a while ago. And then I got to thinking… it’s all just perceived as a lattice based on a data structure and algorithm. I mean… it’s a lattice in our heads because of how we think. But in a computer it’s literally just abstract bits lol.

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

      They already chose to standardize some algorithms, including lattice-based ones. The fourth round is being used to explore additional non-lattice algorithms. It's slightly different than the previous rounds.

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

    If you know the bad basis and the closest vector is it easy to verify?

  • @chris-st6sm
    @chris-st6sm Місяць тому

    lord i just found you again. i've missed you. where ya been?

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

    Could someone please share KYPER technique that perform the encryption and decryption?

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

    Why was I not notified you had this channel... bad youtube algorithm!

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

    How could Bob create the list of all lattice points using bad basis?
    If everyone having bad basis can create the lattice, what is stopping them from finding the closest lattice point just by visual inspection?

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

    You'd think going from a good basis to a bad basis would be easier! Like translating a vector! 🤔
    Otherwise very nicely explained, won't be for everyone but perfect level for me! Thanks

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

    * Two different looking basis vectors can generate same lattice.
    * Shortest Vector Problem: The point constructed by basis that is closest to origin, other than origin
    * Closest Vector Problem: Similar to SVP, but the point can be anything, not only origin.

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

    Wow!!

  • @sabyasachinayak24
    @sabyasachinayak24 3 місяці тому +1

    Why can't you use the bad basis to make another good basis and use that to solve the closest vector problem?

    • @fugoogle_was_already_taken
      @fugoogle_was_already_taken 9 днів тому

      I believe, because it would be also a solution to the closest vector problem. If you knew how to "normalize" the bad basis, it should drastically reduce the search space. Also, I believe you would be able to induce to the "goodest basis" which I think would be the easiest one to solve the problem with

  • @SphereofTime
    @SphereofTime 9 місяців тому

    0:41

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

    Anybody here heard about fourier trans in crystalography? Or about voronoi triangulation?

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

      Yes, and I also know about the infamous Phase Problem in crystallography. That is integral to the inverse Fourier Transform, and not having it is huge

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

      @@MusingsAndIdeas i havent heard about phase problem - must look it up - thanks :)

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

    I love you ❤

  • @DaxSudo
    @DaxSudo 3 місяці тому

    Hold on there my math senses tingling by the very definition of the whole number lattice that you’ve described in these examples doesn’t that mean that while it may take infinite steps to reach somewhere every whole number point on the plane or in the quote unquote probability phase space is reachable so any whole number coordinate is a valid solution. Therefore, the closest or shortest vector is one whole number unit away and thiswould hold true for n dimensions.

  • @sdsgfhgthjj
    @sdsgfhgthjj Рік тому +5

    Why is it always Alice & Bob

    • @Kyoz
      @Kyoz 11 місяців тому +4

      Because the alphabet goes, A, B, C...

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

      Because ladies come first ;)

  • @izitmepattavina8651
    @izitmepattavina8651 3 місяці тому +1

    What happened? Where are youu?

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

    Why can't the bad basis simply be orthonormalized?

    • @Adrian-me4qz
      @Adrian-me4qz День тому

      You could use Gram-Schmidt but the orthogonal vectors aren't guaranteed to be short, so the basis is still "bad" in a sense

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

    wawawewa, it's a very nice!

  • @betabenja
    @betabenja 6 місяців тому +1

    noooooooooooo why are you gone again?!? why did I not find the channel earlier? whhhhhy
    edit: oh, I am so sad

  • @mrtienphysics666
    @mrtienphysics666 15 днів тому

    Bravias lttice

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

    It would be great to see more Americans involved in the tech industry. Imagine the same presentation from someone from India!

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

    good one, thanks.