Navigate Select ESC Close

"a$$word" LITERALLY SAVED PayPal | Prime Reacts

2023-08-05 Science & Technology
467.7k
8.6k
356
ThePrimeTime
ThePrimeTime
1.1m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Recorded live on twitch, GET IN https://twitch.tv/ThePrimeagen Article link: https://max.levch.in/post/724289457144070144/shamir-secret-sharing By: Max Levchin MY MAIN YT CHANNEL: Has well edited engineering videos https://youtube.com/ThePrimeagen Discord https://discord.gg/ThePrimeagen Have something for me to read or react to?: https://www.reddit.com/r/ThePrimeagenReact/ Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other)) https://turso.tech/deeznuts

Top Comments (10)

@eyondev 2023-08-05

So, literally "It works on my machine"

802 5 replies
@demolazer 2023-08-05

Great article, what a writer that dude is. Even better having it read to me as a bedtime story.

746 4 replies
@kyay10 2023-08-05

Ik the math looks very complicated, but basically it uses the cool fact that a polymomial of degree N is uniquely defined by N+1 points. In other words, if you give me N + 1 points on an N polynomial, I can reconstruct the whole polynomial and evaluate it for *any* value I want. For instance, a line is uniquely defined by 2 points. Similary, there's only 1 unique quadratic that goes through any 3 points you choose. So what the secret sharing thing does is it gives all 8 people their own unique points on a quadratic function (degree 2 polynomial), and basically any 3 of them can then completely recreate the function and find the key (which is, by construction, f(0)) Edit: the original explanation in the article is good in the sense that it tells you exactly *how* to generate such a shared secret, but it doesn't explain well as to *why* it works

618 26 replies
@batatanna 2023-08-05

3am at a darkened cubicle is never how you want to start a story ngl

356 2 replies
@dromedda6810 2023-08-05

The guy that wrote this deserves a fucken award for that article, the storytelling, the twists, the characters, a$$word, everything was top tier

290
@RobinTheFabDev 2023-08-05

Probably one of the best articles you've reacted to! Well written and a damn good story!

133
@gownerjones 2024-02-23

Nobody in the world would ever expect password inputs to be SECRETLY truncated. This is insane. Who programmed that?

100 6 replies
@AdrianBawn 2023-09-10

To answer the question at 14:55 "what would happen if 6 out of your 8 people were on the same plane" When you implement systems like this, you make sure that never happens. If you need to send more than 5 people from that group to the same place, at the same time, you send them via different airlines, trains, cars, whatever, spaced far enough apart that the chances of a crash involving all of them is essentially zero. If you are implementing a system THIS secure, chances are you have the budget to deal with this kind of invonvenience.

98 3 replies
@timothycallahan7956 2024-01-26

There needs be a website dedicated to “bringing production down” stories. They hit you in the feels. SO HARD.

82
@sharpfang 2024-02-24

Silently trim the password to 8 characters. What an amazing security feature!

33 1 replies

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot