no one in this podcast mentioned exactly how a 2-of-3 Shamir secret sharing works, which is a shame because it's super simple. Here is how:
First, the secret S is a number, or can be represented as such. Second, when you generate the shares for the secret S, you come up with a random line that pass throughout the point (0,S).
For example the line (a is random):
y = a*x + S
Then, you take three more points that are not the original point (0,S), for example:
P1 = (1, a+S)
P2 = (2,2a+S)
P3 = (3,3a+S)
(check this points are on the line)
How many lines go through 2 points? That's easy, only one. This means that with only two of these points, we can find the line, and then the secret.
For example, If we have the first two points P1 and P2, we can do:
2*P1 - P2 = (2-2, 2a+2S -2a -S)
= (0,S)
ta daaaa!
We've got the secret back. This is the basic for a 2-of-3 SSS.
To increase the second number, just generate more points at the shares creation.
To increase the number, you have to use polynomials of higher degrees, for example a parabola (3-of-whatever), a cubical (4-of-whatever), and so on.
Booster
Pip the WoT guy
First boost Sep 25, 2024 · Last boosted Apr 9, 2025
simplifying the social graph so you can focus on building great experiences
Nostr Boost Stats
- sats
- 3.1k
- boosts
- 9
- shows
- 6
Boosts Sent
Every boost this booster has sent, as published to Nostr, newest first.
-
-
your ads are the best 🤣
-
The analogy between grants and the war on drugs was pretty unexpected, and yet it has merit. I see too many projects that are solutions in search of a problem. Hopefully mine is not one of these 🤣
-
Hey, thanks for covering Vertex! It's very interesting your idea to consider analysing content and not just npubs. The problem imo is that it's going to be much much more computationally expensive, and it's hard to know if it's worth it.
-
Making relevant personalized algos is going to become much much easier with Vertex.
-
another idea that is interesting to consider for limiting access to a mint: Zero knowledge sets. With them, you can prove you are part of the public whitelisted set of npubs that can use the mint, without revealing who you are.
-
great pod! Web of Trust service is coming, I promise
-
stamp seed 🤣
-
Nothing better than Jon, Pablo and Banana talk shit 🤣



