TRANSCRIPT 🔗
WEBVTT
NOTE
Transcription provided by Podhome.fm
Created: 6/29/2026 3:28:19 PM
Duration: 4226.534
Channels: 1
1
00:00:00.880 --> 00:00:05.520
Okay. We're back. We are back at the Magic Internet Math podcast.
2
00:00:06.080 --> 00:00:08.320
I am your cohost,
3
00:00:08.400 --> 00:00:11.120
Brian Hirschfield, and I have Rob Hamilton.
4
00:00:11.120 --> 00:00:12.799
And we have a guest
5
00:00:13.440 --> 00:00:14.240
today
6
00:00:14.320 --> 00:00:15.200
named,
7
00:00:15.759 --> 00:00:17.815
you may know from the last episode.
8
00:00:18.615 --> 00:00:22.055
It is, Kayla. Kayla, say hello. Hi.
9
00:00:22.775 --> 00:00:23.575
Alright.
10
00:00:23.735 --> 00:00:25.895
We're all here. We're all here.
11
00:00:26.135 --> 00:00:34.160
We're all here. I'm introducing us now every time. Get it. The clankers have to get things right. Yeah. You have to set the context up.
12
00:00:35.520 --> 00:00:36.240
Exactly.
13
00:00:38.160 --> 00:00:40.880
We're here, and it's a very special
14
00:00:40.960 --> 00:00:46.485
day today. And there's a reason we're rolling definitely today, and there's a reason Kayla's here.
15
00:00:48.085 --> 00:00:49.845
And the reason is today
16
00:00:49.925 --> 00:00:50.565
is,
17
00:00:50.965 --> 00:00:58.199
today is the true math day on the calendar to me. Like, pie day is the one that exposes all the larks of, like, oh, I love numbers
18
00:00:58.280 --> 00:00:59.480
and all that. Right?
19
00:01:00.040 --> 00:01:01.239
Like, that's the day
20
00:01:01.879 --> 00:01:07.400
you know, I thought it would be funny. I don't if I'm the only one on Earth who thought this was funny, but, like, I thought that,
21
00:01:09.035 --> 00:01:11.595
what was it, that July 22
22
00:01:11.675 --> 00:01:12.875
in Europe
23
00:01:13.355 --> 00:01:16.315
would be a good day for Pi Day because
24
00:01:16.955 --> 00:01:20.475
they do the day first and then the month. So it's twenty two sevenths.
25
00:01:21.400 --> 00:01:22.840
Twenty two slash seven.
26
00:01:23.320 --> 00:01:25.960
Oh, yeah. For the prime approximation. Yeah. Yeah. Yeah.
27
00:01:26.360 --> 00:01:32.600
Would be more of, an if you know, you know kind of pie day. Yeah. That was always the inside baseball pine pie
28
00:01:32.920 --> 00:01:33.479
approximator.
29
00:01:33.725 --> 00:01:41.725
22 divided seven. 22 divided by seven. Yes. That's like yeah. And whenever I was doing a math test in high school, I can do that on my calculator.
30
00:01:42.765 --> 00:01:43.645
I'm old.
31
00:01:44.045 --> 00:01:45.485
Mhmm. Just have pi buttons.
32
00:01:47.920 --> 00:01:51.200
But the real math day on the calendar to me is today,
33
00:01:51.200 --> 00:01:53.000
this day, June
34
00:01:53.000 --> 00:01:53.920
28.
35
00:01:54.000 --> 00:01:57.920
And what makes June 28 the special math day
36
00:01:58.160 --> 00:02:01.280
is that, six and twenty eight are
37
00:02:02.225 --> 00:02:04.945
referred to as perfect numbers.
38
00:02:06.625 --> 00:02:07.985
Are we aware of this?
39
00:02:09.025 --> 00:02:09.905
I
40
00:02:10.225 --> 00:02:19.120
never thought of six twenty eight as a perfect I knew what perfect numbers were, but I never associated those two together to make it a calendar day.
41
00:02:20.480 --> 00:02:22.960
Yeah. So Kayla and I have a history for this.
42
00:02:23.520 --> 00:02:24.960
We have a historical
43
00:02:25.200 --> 00:02:26.000
precedence,
44
00:02:26.000 --> 00:02:28.240
and it just happens that
45
00:02:29.775 --> 00:02:32.815
I took her to one of her first fish concerts
46
00:02:33.135 --> 00:02:40.415
on June 28. On this day. On this day. Kayla, was it your first show ever, or was it just one of your first shows?
47
00:02:41.055 --> 00:02:42.015
I don't remember.
48
00:02:42.890 --> 00:02:48.570
You were young though. On this particular day, you were probably seven years old or something like that. Am I right?
49
00:02:52.250 --> 00:02:55.849
Particular day we're talking about? But it was a pretty long time ago.
50
00:02:56.595 --> 00:03:04.195
It was I wanted to say I mean, I have to go look on the Phish archives, but or for when they did this, but it was I think 2014,
51
00:03:04.355 --> 00:03:05.555
something like that. So
52
00:03:06.275 --> 00:03:10.515
Yeah. That checks out. Right? That would have made that would make you nine
53
00:03:11.390 --> 00:03:12.990
if that's accurate.
54
00:03:12.990 --> 00:03:16.110
K. So that would make you nine on this particular day. And,
55
00:03:17.070 --> 00:03:23.070
you know, the way it goes when you go by the way, Phish is I have to tell people on this podcast, Phish is a band.
56
00:03:26.075 --> 00:03:27.675
A very special band
57
00:03:28.155 --> 00:03:28.715
that,
58
00:03:30.715 --> 00:03:32.955
I started taking Kayla to go see
59
00:03:33.355 --> 00:03:35.515
roughly when she was eight or nine years old.
60
00:03:37.915 --> 00:03:48.120
And on this particular day in Philly, the way it usually goes is you go, you take your you take your child to a show, maybe you leave a couple songs early, you don't stay for the whole show,
61
00:03:48.360 --> 00:03:52.520
you know, so they ruin your show a little bit, but you take them home.
62
00:03:53.305 --> 00:03:57.545
And if they're awake, you know, you maybe talk about the show or not.
63
00:03:57.865 --> 00:03:58.505
Right?
64
00:03:58.825 --> 00:04:01.545
Usually, kids are fast asleep,
65
00:04:01.625 --> 00:04:05.225
you know, and you just drive home and that's that's that's that.
66
00:04:05.465 --> 00:04:06.745
But on this particular night,
67
00:04:07.790 --> 00:04:08.430
we
68
00:04:09.310 --> 00:04:15.710
I just brought up to you at nine years old. I said, you know what's a fun thing about today? It's June 28.
69
00:04:16.350 --> 00:04:22.990
Is that the number six and the number 28 are both I I had just read this, like, on Twitter. I'm pretty sure you frame this as
70
00:04:23.235 --> 00:04:25.235
today is a perfect day.
71
00:04:26.354 --> 00:04:32.914
Yes. Well, I felt really good
Load full transcript
about taking you to official and you not totally ruining it. You actually had a good time.
72
00:04:33.715 --> 00:04:34.354
Right?
73
00:04:34.594 --> 00:04:38.514
Yeah. And I'm like, yeah. It's a perfect day. Let's talk about these numbers.
74
00:04:39.410 --> 00:04:41.410
Right? So this was like our drive home.
75
00:04:42.130 --> 00:04:43.250
Our drive home was
76
00:04:45.250 --> 00:04:45.890
so
77
00:04:46.050 --> 00:04:51.650
six is sick so what's a perfect number? Let's just, like, explain what it is. Right? It's basically the factors.
78
00:04:53.035 --> 00:04:54.795
The factors add up
79
00:04:55.275 --> 00:04:56.315
to the number.
80
00:04:56.875 --> 00:04:59.675
So what does that mean? So if we take six,
81
00:05:00.475 --> 00:05:04.475
if you take one, two, and three, you exclude six obviously
82
00:05:04.794 --> 00:05:07.675
because if you add six, you're you ruin it.
83
00:05:08.370 --> 00:05:13.330
So if you take the factors not including the number one, two, and three, you add them together,
84
00:05:13.890 --> 00:05:15.010
you get six.
85
00:05:15.170 --> 00:05:16.690
Okay. That's kinda cool.
86
00:05:17.570 --> 00:05:19.010
Okay. Right?
87
00:05:19.890 --> 00:05:22.610
And then we did the same thing for 28.
88
00:05:23.254 --> 00:05:25.014
You get one, two, four,
89
00:05:26.134 --> 00:05:31.895
which is 7. So 124714.
90
00:05:32.694 --> 00:05:34.055
124714.
91
00:05:35.750 --> 00:05:37.590
127.
92
00:05:38.790 --> 00:05:43.830
Sorry. 1 2 plus 4 plus 7 plus 14. That equals 28. Right?
93
00:05:44.710 --> 00:05:45.430
It's
94
00:05:46.230 --> 00:05:48.310
kinda neat too, but, like, who cares?
95
00:05:48.815 --> 00:05:57.855
Right? It's cool but who really cares that much? Right. What was fun about the drive home and what was meaningful to me and why I'm kind of like
96
00:05:58.495 --> 00:06:05.350
miffed that we didn't talk about this last week in your when we talked about your origin story was that we spent the entire ride
97
00:06:05.990 --> 00:06:07.190
trial and erroring
98
00:06:07.350 --> 00:06:09.830
figuring out the next perfect number might be.
99
00:06:10.390 --> 00:06:12.790
Do you remember this? Yeah. I do.
100
00:06:13.270 --> 00:06:15.430
Right? We got into we got well in
101
00:06:16.435 --> 00:06:16.995
Good.
102
00:06:17.475 --> 00:06:27.315
We went through all the numbers and we're, like, trying to add up their factors. And then we were, like, circling back to, like, six and twenty eight. We were looking, like, what makes these numbers perfect?
103
00:06:27.955 --> 00:06:30.995
And then I think you went home
104
00:06:31.300 --> 00:06:35.540
and tried to create perfect numbers of the computer program.
105
00:06:35.860 --> 00:06:48.185
Well, so this is what ended up happening. By the way, this is like one in the morning on the way home from the McFish show. Perfect. Where I would have expected her to be asleep. And she's like, no. Let's try the next one. One zero two. What do we got?
106
00:06:48.664 --> 00:06:49.305
One
107
00:06:49.625 --> 00:06:57.785
fifty one. Okay. That's not it. Like, we were it it it woke something up in me that made me realize that Kayla had
108
00:06:58.104 --> 00:06:58.905
energy,
109
00:06:59.224 --> 00:07:00.985
you know, she had energy for this
110
00:07:01.830 --> 00:07:02.390
And
111
00:07:02.870 --> 00:07:09.430
what we decided to do when we got home and again, this is like 2014 where, like, Raspberry Pis were kinda big.
112
00:07:09.830 --> 00:07:10.390
Like,
113
00:07:11.270 --> 00:07:13.030
turning them into actual computers
114
00:07:13.430 --> 00:07:14.150
was
115
00:07:14.310 --> 00:07:15.110
a big thing.
116
00:07:15.915 --> 00:07:18.555
So we went and ordered a Raspberry Pi,
117
00:07:18.795 --> 00:07:20.715
and we decided we were gonna use
118
00:07:21.035 --> 00:07:22.155
its native
119
00:07:22.235 --> 00:07:26.075
its native operating system and its built in Python
120
00:07:26.635 --> 00:07:31.355
to, try to search for the next perfect number. Kayla, you recall this now? Yeah.
121
00:07:31.355 --> 00:07:31.755
Right?
122
00:07:32.610 --> 00:07:33.170
And
123
00:07:33.890 --> 00:07:36.850
we started writing a program to do it,
124
00:07:37.970 --> 00:07:41.250
and, you you know, we were it's like four I
125
00:07:41.410 --> 00:07:42.610
in range.
126
00:07:44.104 --> 00:07:51.865
You know? I don't remember how far out we decided we had to go, but at some point, the program blew up because we were looking for factors.
127
00:07:52.264 --> 00:08:00.690
We were doing all kinds of memory intensive things that this little Raspberry Pi couldn't couldn't handle. Right? I'm surprised this thing didn't catch on fire.
128
00:08:01.169 --> 00:08:02.050
Right?
129
00:08:02.930 --> 00:08:05.970
And I think after a couple of days of,
130
00:08:06.289 --> 00:08:09.570
like, waiting for it to run and think and all of this,
131
00:08:09.970 --> 00:08:11.250
I think we capitulated
132
00:08:11.355 --> 00:08:17.915
and looked it up on Wikipedia. Kayla, is this not right? Did we or did This is the correct story. Yeah. Right?
133
00:08:18.635 --> 00:08:20.235
But, like, this particular
134
00:08:20.715 --> 00:08:21.435
episode,
135
00:08:21.915 --> 00:08:24.395
I don't know. It woke something up for me about you,
136
00:08:24.795 --> 00:08:29.620
about, like, what we like, that this was unusual. We looked it up on Wikipedia,
137
00:08:29.620 --> 00:08:33.060
and it was, like, the next one was, like, a thousand something,
138
00:08:33.380 --> 00:08:36.980
something in the thousands. And then the number after that was, like,
139
00:08:37.860 --> 00:08:42.765
the one of the biggest numbers I've seen, and I was like, oh my god. We would have never figured out
140
00:08:43.325 --> 00:08:48.365
what the perfect number was. Like, was in the hundreds of thousands, I think. Yeah. Well Yeah.
141
00:08:49.325 --> 00:08:49.885
So
142
00:08:50.204 --> 00:08:50.845
the
143
00:08:51.964 --> 00:08:54.605
one that's after '28 is
April.
144
00:08:55.440 --> 00:08:59.200
Oh, that's right. Yeah. And then after April,
145
00:08:59.200 --> 00:09:01.520
it's 8128.
146
00:09:02.880 --> 00:09:07.520
And those were the only four that were known in the pre computer era, basically.
147
00:09:08.240 --> 00:09:08.800
Really?
148
00:09:09.985 --> 00:09:14.145
Is there something with Mersenne primes here? There is something with Mersenne primes. Sorry. I I would say Yeah.
149
00:09:15.985 --> 00:09:26.839
It's not pre computer, but, like, in the early days, I've I pulled up a little history, and these are the ones that the Pythagoreans knew of. Oh, the Pythagoreans. You talking to And the Pythagoreans
150
00:09:26.920 --> 00:09:43.505
whose motto was all those number thought that six was literally perfect, not a metaphor, but a metaphysical claim on reality to the point where they say six is a perfect number in of itself and not because God created all things in six days. Rather, the converse is true. God created all things in six days because the number is perfect.
151
00:09:44.465 --> 00:09:48.945
Now we know Like, they went they went deep to, the theological metaphysical claims on reality. Yeah.
152
00:09:49.745 --> 00:09:53.510
They were they were a bit of a testy bunch. Yes. They were.
153
00:09:54.230 --> 00:09:54.950
Right.
154
00:09:55.910 --> 00:09:58.470
We've talked a lot about the Pythagoreans.
155
00:09:58.709 --> 00:10:02.070
You know, that somehow the spirit of the Pythagoreans never dies either.
156
00:10:02.709 --> 00:10:09.985
Yeah. And so yeah. And then, a bit later on, Euclid proved that if two to the p minus one in prime,
157
00:10:10.625 --> 00:10:15.425
then two to the p minus one times two to the p minus one is a perfect number.
158
00:10:16.464 --> 00:10:24.660
He proved that. So he proved that. So for p two, three, four, five, six, seven, but I don't think it goes on forever
159
00:10:24.660 --> 00:10:29.060
though. Because as of right, like to jump forward to today, I think there's only,
160
00:10:30.580 --> 00:10:34.340
like six fifty or 60 so perfect numbers that exist,
161
00:10:36.014 --> 00:10:41.535
that that are known to exist. But there's not really a proof one way or another if that's it or not. The largest known
162
00:10:43.615 --> 00:10:44.334
prime,
163
00:10:44.495 --> 00:10:45.774
I think it's a perfect number.
164
00:10:48.980 --> 00:10:52.660
It's somewhere in the ballpark of two to the 136,000,000.
165
00:10:52.660 --> 00:10:54.180
Two to the How it be and 30 prime if
166
00:10:55.860 --> 00:11:09.565
it has factors that if it has factors? Sorry. Yeah. Yeah. Yeah. It's if you have a I'm I'm looking at it right here. So you Oh, using the Mersenne primes. Using the Mersenne prime is a way to figure out which one would be the next, like, perfect. Got Got But
167
00:11:09.965 --> 00:11:12.365
it's not, like, an explicit formula
168
00:11:12.365 --> 00:11:13.165
yet.
169
00:11:14.605 --> 00:11:17.485
No. We do you think we can ever generate,
170
00:11:18.100 --> 00:11:20.020
like, all the perfect numbers?
171
00:11:23.540 --> 00:11:27.140
That's an interesting yeah. I don't know if we
172
00:11:27.460 --> 00:11:28.340
could.
173
00:11:28.420 --> 00:11:32.580
I mean, maybe we'll give it a couple more years with AI. I'm not sure if you've seen all of these
174
00:11:32.825 --> 00:11:39.145
proofs that have been in the past month or so that have been coming out using GPT 5.5.
175
00:11:39.145 --> 00:11:39.705
Maybe
176
00:11:40.425 --> 00:11:42.105
we'll learn a lot more soon enough.
177
00:11:43.145 --> 00:11:46.185
I mean, even a theorem like
178
00:11:46.665 --> 00:11:53.800
there are infinitely many perfect numbers. The way that we can say there are infinitely many primes, which I think Euclid
179
00:11:54.440 --> 00:11:56.040
proved that as well. Right?
180
00:11:57.640 --> 00:11:58.440
Yes.
181
00:11:59.800 --> 00:12:04.815
Yeah. Euclid's perfect number recipe requires a a Mersenne prime to produce a perfect number.
182
00:12:05.695 --> 00:12:11.455
And are there infinitely many Mersenne primes, or do we not know that? I don't I don't think it's proven.
183
00:12:12.015 --> 00:12:12.415
Yeah.
184
00:12:16.040 --> 00:12:19.880
Very cool stuff. I wanted to I wanted to tell that story.
185
00:12:20.040 --> 00:12:27.400
And Yeah. You know, just again, like, the the journey of Magic Internet Math is, you
186
00:12:27.720 --> 00:12:33.605
know, it didn't just start last December. Like, we've been we really have been building the lore around this for
187
00:12:34.005 --> 00:12:35.205
for a long time.
188
00:12:36.085 --> 00:12:37.045
Absolutely.
189
00:12:37.605 --> 00:12:38.565
I'm
190
00:12:38.565 --> 00:12:43.125
pretty sure I've celebrated Perfect Number Day on other podcasts in the past three years.
191
00:12:43.605 --> 00:12:44.485
Really?
192
00:12:44.645 --> 00:12:45.605
Yes. But this is,
193
00:12:46.380 --> 00:12:48.940
yeah, special to be able to do it here
194
00:12:49.420 --> 00:12:53.020
on the Magic Internet Math podcast with you guys, especially with
195
00:12:53.740 --> 00:12:55.500
you here, Kayla. Right?
196
00:12:56.220 --> 00:12:56.620
Yeah.
197
00:12:58.545 --> 00:13:04.865
And Rob's kids are discovering perfect numbers right now as of this week. Isn't that amazing? That's right. That's right. Yeah.
198
00:13:05.985 --> 00:13:07.584
That's gonna be a Sunday.
199
00:13:07.904 --> 00:13:09.425
That was like the origin
200
00:13:09.665 --> 00:13:19.050
of perfect number day. It really was. Right, Kayla? That was like the first time we really started taking math seriously as a fun as like a fun family activity.
201
00:13:20.250 --> 00:13:22.890
Where it felt like exciting and like
202
00:13:23.685 --> 00:13:33.285
Yeah. It wasn't forced it wasn't forced out of some one of your classes you were forced to take. It wasn't you know what I mean? It wasn't, like Yeah. One of those things. Just natural. Yeah.
203
00:13:34.965 --> 00:13:38.085
That's
where it really gets fun where it's like it's this is not for a class.
204
00:13:40.220 --> 00:13:42.940
This is this is just me being curious.
205
00:13:45.260 --> 00:13:49.740
Yeah. For sure. I have a book. I have a number theory book written by Shanks.
206
00:13:49.980 --> 00:13:54.540
Do do you know Shanks? Like, of, like, Shanks algorithm? Shanks algorithm is, I think, what
207
00:13:55.255 --> 00:13:56.295
is the,
208
00:13:57.014 --> 00:13:59.815
is the one that says you only need two to the January,
209
00:14:00.535 --> 00:14:02.295
like, with the birthday paradox
210
00:14:02.295 --> 00:14:03.495
to Mhmm.
211
00:14:04.055 --> 00:14:12.100
Cover shot two fifty six. But Shank, I have a book by Shank's, and the first chapter is about perfect numbers. I haven't I haven't cracked it open. It's one of these like,
212
00:14:12.660 --> 00:14:17.540
this book is so old. I feel like the pages are gonna disintegrate if I engage too hard.
213
00:14:19.795 --> 00:14:20.195
But,
214
00:14:21.074 --> 00:14:24.355
it's been on my list. It's one of those on my list.
215
00:14:25.634 --> 00:14:29.555
Anytime you get a book by, like, one of these guys, you gotta you have to get it.
216
00:14:33.199 --> 00:14:33.839
Yeah.
217
00:14:34.959 --> 00:14:35.760
Alright.
218
00:14:36.000 --> 00:14:36.880
Alright.
219
00:14:37.279 --> 00:14:40.079
So now I think we can move on
220
00:14:40.800 --> 00:14:43.120
with our little, perfect number
221
00:14:43.279 --> 00:14:44.240
preamble
222
00:14:44.319 --> 00:14:46.160
for celebrating the day,
223
00:14:47.524 --> 00:14:51.925
and we can start taking this to closing out the Elliptic Curve
224
00:14:52.644 --> 00:14:53.524
guide
225
00:14:54.165 --> 00:15:01.685
that I'm sure all of our listeners at home have been closely following along every step of the way. What chapter were we up to now, Brian?
226
00:15:04.250 --> 00:15:05.050
I
227
00:15:05.210 --> 00:15:06.250
wanna say
228
00:15:06.730 --> 00:15:08.170
chapter 11.
229
00:15:08.650 --> 00:15:14.330
Don't read too much into chapter 11. None of us are bankrupt yet. But Yeah.
230
00:15:15.130 --> 00:15:16.250
I think chapter 11
231
00:15:16.545 --> 00:15:19.825
is kind of, like, the last bit of new information
232
00:15:19.985 --> 00:15:21.505
as it relates to,
233
00:15:22.225 --> 00:15:25.904
everything. The previous ones were kind of just summarizing the parameters again.
234
00:15:28.464 --> 00:15:31.105
You know, I think Schnoor is also kind of where the real
235
00:15:31.460 --> 00:15:34.340
meat and potatoes are as it relates to
236
00:15:35.780 --> 00:15:40.900
the last, like, meaningful mathematical context as we care about for elliptic curve cryptography.
237
00:15:40.900 --> 00:15:43.060
And to reset the stage,
238
00:15:43.300 --> 00:15:45.460
not only for those at home, but also for Kayla,
239
00:15:46.245 --> 00:15:47.845
Elliptic curve cryptography
240
00:15:47.845 --> 00:15:57.045
is the field of cryptography that basically Bitcoin relies on as
it relates to the public private key link and the provability of ownership
241
00:15:57.365 --> 00:16:00.100
and being able to provide signatures
242
00:16:00.100 --> 00:16:03.220
in such a way that you can prove that you
243
00:16:03.380 --> 00:16:06.420
basically know a number that no one else knows.
244
00:16:06.820 --> 00:16:10.020
People, they use Bitcoin, they pay to public keys.
245
00:16:10.755 --> 00:16:13.475
And when they go to spend, they reveal private keys.
246
00:16:13.715 --> 00:16:18.115
And those private keys are what shows the link of I have the
247
00:16:18.595 --> 00:16:21.555
associated of private key with the public key that you paid.
248
00:16:21.875 --> 00:16:28.889
And as another just refresh setup, I always refer to as if you walked into a post office and you see a wall PO boxes,
249
00:16:29.290 --> 00:16:40.245
all of those PO box numbers are basically public keys. And then the person with the private key is the one who can actually anyone in the world can send to a public key. You can send mail to any PO box address.
250
00:16:40.245 --> 00:16:44.885
But to be able to take the letters out, you have to have a mailbox key. Right?
251
00:16:45.524 --> 00:16:48.004
And instead of using fungible
252
00:16:48.004 --> 00:16:50.565
things like physics and lock mechanisms,
253
00:16:50.565 --> 00:16:58.810
we use cryptography and math to show this asymmetry of knowing a number that no one else knows to be able to prove that ownership link.
254
00:16:59.370 --> 00:17:03.290
And everything we've gone up to up to this point has been about
255
00:17:04.995 --> 00:17:05.955
ECDSA,
256
00:17:05.955 --> 00:17:08.355
Elliptic Curve Digital Signature Algorithm.
257
00:17:11.155 --> 00:17:13.075
In an interesting bit of history,
258
00:17:13.635 --> 00:17:14.434
there are
259
00:17:14.675 --> 00:17:22.049
ways you can use the same kind of core mathematical principles in a more efficient way. When Bitcoin came out in 2008,
260
00:17:22.050 --> 00:17:23.250
the competing
261
00:17:23.490 --> 00:17:24.130
and
262
00:17:24.370 --> 00:17:25.650
across the board
263
00:17:25.810 --> 00:17:28.049
objectively superior method
264
00:17:28.290 --> 00:17:30.850
of doing this is a snore signature,
265
00:17:30.850 --> 00:17:32.290
but it was patented.
266
00:17:32.905 --> 00:17:37.625
And the patent expired in 2010, but Satoshi came out with Bitcoin in 2008.
267
00:17:37.945 --> 00:17:41.144
So for the initial inception and launch of Bitcoin,
268
00:17:41.465 --> 00:17:43.065
we used ECDSA
269
00:17:43.065 --> 00:17:44.665
and probably one of the most famous,
270
00:17:45.225 --> 00:17:51.019
tech debt situations ever. We did not get around to upgrading to support Schnorr signatures
271
00:17:51.260 --> 00:17:52.139
until,
272
00:17:52.780 --> 00:17:55.100
2021,
273
00:17:55.100 --> 00:17:57.899
which is when we did the Taproot upgrade. Taproot,
274
00:17:58.539 --> 00:18:00.539
as a very brief tangent,
275
00:18:00.940 --> 00:18:02.460
did multiple things,
276
00:18:03.715 --> 00:18:06.354
of which snore signatures
277
00:18:06.514 --> 00:18:10.594
were one of them. And if you're a Bitcoin BIP aficionado
278
00:18:10.835 --> 00:18:11.874
at home,
279
00:18:12.595 --> 00:18:15.635
this is BIP three forty, three forty one, three forty two,
280
00:18:16.559 --> 00:18:19.999
And BIP three forty is the actual snore
281
00:18:20.159 --> 00:18:21.039
algorithm
282
00:18:21.039 --> 00:18:23.200
piece, whereas BIP three forty two
283
00:18:23.600 --> 00:18:26.079
is the new script type,
284
00:18:26.480 --> 00:18:27.440
moving to
285
00:18:28.934 --> 00:18:33.414
SegWit v one as opposed to v zero because we're computer people. We index on zero,
286
00:18:33.575 --> 00:18:36.054
which gave you the new address type of Taproot addresses.
287
00:18:36.615 --> 00:18:43.174
And It's because we're Python. We're Python people. I mean, right there are there are some languages that start on one. Correct?
288
00:18:43.735 --> 00:18:46.829
R, I noticed. There you go. R index is on one.
289
00:18:48.269 --> 00:18:49.789
And there's a couple other ones.
290
00:18:50.429 --> 00:18:54.669
And then three forty two is the actual validation of Tapscripts, the actual logic of them. But,
291
00:18:55.309 --> 00:18:59.964
the other piece of what Taproot is known for are masked Merkle abstract
292
00:19:00.284 --> 00:19:02.684
syntax trees, which are basically,
293
00:19:03.485 --> 00:19:07.004
you can have a Merkle tree, which I think we've briefly talked about previously,
294
00:19:07.325 --> 00:19:22.140
where you can have many possible outcomes and you actually use a Merkle tree and you actually post the Merkle root to the blockchain. And that Merkle root allows you to unfurl up to two to the one twenty eight possible spending conditions. This allows you to have one single Bitcoin address
295
00:19:22.515 --> 00:19:28.995
and you can have up to 200, two to the 128 possible ways you can spend that Bitcoin address. And you only have to reveal,
296
00:19:29.715 --> 00:19:33.635
the spending information necessary and relevant to your
297
00:19:33.795 --> 00:19:34.275
address.
298
00:19:36.800 --> 00:19:40.559
Yeah. Like the needle in the haystack analogy.
299
00:19:40.640 --> 00:19:41.679
You know, like,
300
00:19:42.320 --> 00:19:46.160
you the Miracle tree is the haystack, but you get to post you get to show the needle. Yes.
301
00:19:47.404 --> 00:19:48.205
Right.
302
00:19:48.205 --> 00:20:01.325
And all you have to reveal to go down into the haystack, so to speak, are the tree of going down the Merkle tree. And you this is what's One called path. Right. The one path. And this is what's called the control block because you're controlling where within this
303
00:20:01.800 --> 00:20:05.080
plausibly in, two to the one twenty eight size haystack
304
00:20:05.240 --> 00:20:08.280
what exact sequence you're going to to get your exact condition.
305
00:20:08.440 --> 00:20:15.400
And you commit to what your
spending rules are ahead of time by hashing it. And this is what's called, like, a a tap leaf. Right? An individual
306
00:20:16.065 --> 00:20:27.504
leaf is the one given spending condition, and that gets hashed up into a Merkle tree where the Merkle root, the parent, the hashing of all the hashes that come together is the one that gets committed to on chain,
307
00:20:28.385 --> 00:20:34.700
which is a very clever yeah. Would you say so, like, would you say Taproot was probably the the breakthrough
308
00:20:35.260 --> 00:20:36.139
in making
309
00:20:37.019 --> 00:20:38.220
Bitcoin programmable
310
00:20:38.220 --> 00:20:38.859
money?
311
00:20:39.659 --> 00:20:48.235
I think it's scalable programmable money is what it got to. Like like in a scalable sense because you can you can with prior to Taproot,
312
00:20:48.315 --> 00:21:00.080
you are able to have programmable money. Right? You can use lightning in a pre Taproot context, which uses up if to basically say either this condition or this condition. But it's inherently gated across
313
00:21:00.320 --> 00:21:01.039
many
314
00:21:01.280 --> 00:21:06.960
reasons. And what Taproot allows you to do is one, they allow you to have up to a four megabyte
315
00:21:07.200 --> 00:21:11.840
actual size transaction. So if you wanna have an incredibly intricately involved UTXO
316
00:21:11.840 --> 00:21:21.965
that has many, many, many, many rules that can take up to four megabytes of opcodes and and pushing of data, you can do that now with Taproot, whereas you were constrained before
317
00:21:22.445 --> 00:21:23.245
with SegWit.
318
00:21:24.960 --> 00:21:26.320
And also,
319
00:21:26.480 --> 00:21:31.119
would say the other thing I think we're gonna get into now is specifically the Shneur signatures
320
00:21:31.200 --> 00:21:32.159
are just
321
00:21:32.799 --> 00:21:33.840
in superior
322
00:21:33.840 --> 00:21:35.520
across every dimension. Right?
323
00:21:38.035 --> 00:21:40.355
Particularly from privacy standpoint.
324
00:21:40.355 --> 00:21:40.914
Yeah.
325
00:21:41.155 --> 00:21:42.275
Yeah. So
326
00:21:43.555 --> 00:21:49.555
you've probably if you're in the industry of Bitcoin at all, may have heard the term MPC, multi party computation,
327
00:21:49.555 --> 00:21:52.035
right, where you have multiple computers
328
00:21:52.210 --> 00:22:00.050
or kind of you you would take a shard you'd have a secret, you shard it out across many parties, and then you combine them together to provide a signature.
329
00:22:02.050 --> 00:22:05.650
This uses a lot of very advanced
330
00:22:06.404 --> 00:22:07.205
cryptography
331
00:22:07.205 --> 00:22:08.884
and applied cryptography.
332
00:22:09.284 --> 00:22:09.924
And
333
00:22:10.404 --> 00:22:12.244
from a security standpoint,
334
00:22:12.804 --> 00:22:20.085
it is a very common thing that those machine those systems get busted. Because there's multiple issues where you maybe have a theoretical
335
00:22:21.010 --> 00:22:23.169
abstract implementation that works,
336
00:22:23.410 --> 00:22:24.450
but in practice,
337
00:22:24.530 --> 00:23:01.699
you don't make it one to one to the theory. And then wherever those gaps are is where you can have money losing bugs or hacks or whatever have you. Right? And so Chnor in general, the way I like to say is, like, it's very easy to aggregate public keys in Chnor. It's such a trivial you just combine them together as opposed to having to do this crazy sharding scheme, which means you can have multiple parties in a multiparty computation system could each have their own public key. They each have their own public private key pair. And then all you have to do is just I give you my public key. You give me your public key. Kayla give me her public key, and we can just smush them all together and have one agreed upon public key, which is the combination of all of our keys,
338
00:23:01.860 --> 00:23:02.740
which is Now
339
00:23:03.505 --> 00:23:09.904
from an abstract theory standpoint, way more straightforward than trying to do the sharding thing in a ECDSA MPC.
340
00:23:10.304 --> 00:23:15.025
So what I was gonna ask was that is it I think that it's the properties of the group
341
00:23:15.660 --> 00:23:16.300
that
342
00:23:17.180 --> 00:23:18.220
give this
343
00:23:18.540 --> 00:23:23.580
you know, that that make that possible. Right? Yeah. It's it's the
344
00:23:24.380 --> 00:23:25.020
way
345
00:23:25.900 --> 00:23:28.060
basically, it's the way a Schnorr signature
346
00:23:29.335 --> 00:23:34.934
or at least the variables in the short in Schnoor signature are Mhmm. Are aggregated.
347
00:23:35.174 --> 00:23:35.734
And
348
00:23:36.135 --> 00:23:39.575
as we talked about before we started recording, there's no division in Schnoor.
349
00:23:39.735 --> 00:23:40.294
That's it.
350
00:23:41.290 --> 00:23:43.050
Yeah. Right. So a
351
00:23:43.050 --> 00:23:44.090
Schnorr signature,
352
00:23:45.370 --> 00:23:58.325
not having that makes it infinitely easier to and not only just for the combining to make the public key, but when I take my signature, you take your signature, and we all take our signatures and put them together to make one final signature doesn't have division, which makes it infinitely easier
353
00:23:58.565 --> 00:24:00.485
to be able to securely and
354
00:24:00.725 --> 00:24:04.004
security wise understand what you're doing when you're creating a signature.
355
00:24:04.725 --> 00:24:08.085
So what it all means though and so this it has closure
356
00:24:08.325 --> 00:24:15.950
it has closure as a signature, which means that a signature plus a signature becomes a signature. And that's not true in ECDSA.
357
00:24:15.950 --> 00:24:17.950
You can't that's it just doesn't
358
00:24:18.830 --> 00:24:21.150
it doesn't have that. In ECDSA,
359
00:24:21.150 --> 00:24:37.725
a point plus a point is a point on the curve, but this object called a signature doesn't have closure. And that's the power of Schnorr is that the
signature plus a signature becomes a signature. And what does that mean for people or what would that mean if people were using it is that, you know, a two of three multisig
360
00:24:38.445 --> 00:24:44.460
wouldn't have to have three signatures where it's obviously where it's obvious that's what it is. Yep.
361
00:24:44.860 --> 00:24:46.779
A two of two multisig
362
00:24:47.419 --> 00:24:50.940
makes it completely obvious that it's a opening of a Lightning channel.
363
00:24:51.100 --> 00:24:54.059
Mhmm. But under Schnorr, it would look like any other
364
00:24:54.315 --> 00:24:55.914
it would look like one signature.
365
00:24:56.154 --> 00:25:00.635
That's right. Yeah. And this is the privacy thing ultimately is that any threshold,
366
00:25:00.635 --> 00:25:10.429
which so the term we use in cryptography is a threshold signature where you have some sort of m of n, m required signatures for n possible keys.
367
00:25:11.870 --> 00:25:12.670
Any threshold
368
00:25:15.470 --> 00:25:17.389
that's frost. I'll get to that in a second.
369
00:25:17.950 --> 00:25:21.925
When you have a multi a proper multi signature in a cryptography cryptography
370
00:25:21.925 --> 00:25:27.764
sense, meaning a two of two, a three of three, an n of n. If everyone comes together, that's a multi signature.
371
00:25:28.165 --> 00:25:30.965
That can just look like a single signature on chain.
372
00:25:31.365 --> 00:25:36.059
And that's what we I think we've briefly talked about it here and there. That's what MUSIG does.
373
00:25:37.180 --> 00:25:45.419
And from a privacy standpoint, it's great because you're actually totally obfuscating the security of how your Bitcoin is being managed because all of that computation
374
00:25:45.420 --> 00:25:47.500
is a multi party computation
375
00:25:47.500 --> 00:25:49.020
done off chain.
376
00:25:49.355 --> 00:25:53.275
And this is from a scaling perspective, why it's important is because you're able to do this math
377
00:25:53.835 --> 00:25:54.875
off chain,
378
00:25:54.955 --> 00:25:58.794
and you only have to post the aggregated final signature on chain.
379
00:25:59.275 --> 00:26:08.890
Whereas if you were doing a two or three multi signature, you'd have to post two signatures to the chain every time. Right? And that's what's really by leveraging Schnorr, we're able to do this with MUSIG.
380
00:26:08.890 --> 00:26:10.570
The other one is Frost,
381
00:26:10.890 --> 00:26:23.184
which is for thresholds where you could have a m of n, a two of three, a five of, a three of five, a seven of 11, whatever threshold you want. And that could also just look like a single
382
00:26:23.505 --> 00:26:27.585
signature on chain. So you're totally able to make any plausible
383
00:26:27.745 --> 00:26:35.105
multi signature or threshold scheme for securing your Bitcoin look like just a single signature on chain, which is better for privacy,
384
00:26:35.610 --> 00:26:43.049
as well as less data for scaling. Yeah, talk about that
for a second. If you weren't here, I would talk about it, but you are the expert in wrench attacks.
385
00:26:44.010 --> 00:26:55.154
Right? Yeah. Anytime you Knowing spend Having which is saying from the perspective of, a wrench attacker knowing exactly what type of quorum your freaking keys are held in versus you
386
00:26:55.475 --> 00:26:59.554
know? Yeah. Speak to that for a second. Yeah. So anytime you spend Bitcoin,
387
00:26:59.554 --> 00:27:01.315
right, when you're spending Bitcoin,
388
00:27:01.395 --> 00:27:11.230
you have to do several things. One, when you pay earlier, said you pay to public keys. That's that's true, but it's not completely true. You also can pay to hashes.
389
00:27:12.110 --> 00:27:16.750
And so the moment you do anything more involved than a single signature,
390
00:27:17.185 --> 00:27:32.785
you pay to what's called a hash, a script hat. You pay to a script. But since you don't post the script on the blockchain, what you do is you post a hash to the script. So the first thing you do when you spend Bitcoin, if it's anything beyond a single signature, what you need to do is you need to take the script
391
00:27:33.130 --> 00:27:42.889
and hash it and show that, hey. This hash that I'm trying to withdraw Bitcoin from matches this script hash I have here. That's the first satisfying condition.
392
00:27:43.130 --> 00:27:46.169
Then you have to then execute a successful
393
00:27:46.685 --> 00:27:49.085
of the Bitcoin script stack. You have to successfully
394
00:27:49.165 --> 00:27:52.845
go through the stack and show it. And most times, I would say
395
00:27:53.165 --> 00:27:54.285
999
396
00:27:54.285 --> 00:27:57.164
out of a thousand, if not even higher percentage likelihood.
397
00:27:57.245 --> 00:28:16.835
You have a signature somewhere in there. The reason why you probably have a signature in there is because you don't want any person who knows the hash pre image of the script to be able to spend. You want something unique that only you know, which is a public private key pair. Right? And so when you go if someone from a surveillance standpoint knew who you were and let's say you didn't practice
398
00:28:16.835 --> 00:28:20.034
good privacy, say, Brian, I paid you for,
399
00:28:20.595 --> 00:28:22.034
dinner one night,
400
00:28:22.514 --> 00:28:30.595
and you have your hot wall and then you you you sweep it to your cold storage and you post post it. And I I watch it for a year or two and see actually you're combining it with all of your life savings.
401
00:28:31.210 --> 00:28:36.570
When you go to spending, you're like, oh, I know for a fact Brian uses a two of three multisig, or I know he uses,
402
00:28:37.290 --> 00:28:42.570
you know, a three of five or whatever have you. Right? And the beauty of this
403
00:28:42.810 --> 00:28:46.090
is that the attacker, if you're using Schnorr and MuseSig and Frost,
404
00:28:47.095 --> 00:28:52.934
all I know is that there's a signature operation's happening. I
cannot from as an external party evaluate
405
00:28:52.934 --> 00:29:01.700
what is that threshold, what are the circumstances around that. So from a private system You don't get an error message. You don't get an error message from Oh, two more signatures needed.
406
00:29:01.940 --> 00:29:09.219
Bingo. Right. Bingo. All I see is a pipe a public key, and then I see a private key. I see a signature for from those private keys.
407
00:29:09.460 --> 00:29:12.595
So it's great for plausible deniability for security,
408
00:29:12.995 --> 00:29:14.354
operational security,
409
00:29:14.835 --> 00:29:25.794
all of that stuff. And then so if I were to come with a $5 wrench to peek over the head, you could tell me like, oh, I have a seven of seven that's scattered all over the world, I can't prove you wrong.
410
00:29:26.760 --> 00:29:29.560
That's right. And you don't know if it's a passphrase
411
00:29:29.560 --> 00:29:33.240
or if it's a multi say. You don't know why it's not unlocking
412
00:29:33.960 --> 00:29:37.000
the key. Right. You don't have no idea why. Right.
413
00:29:37.400 --> 00:29:38.360
So, like,
414
00:29:38.680 --> 00:29:39.000
I mean,
415
00:29:40.095 --> 00:29:49.855
I think, like, it's not, like, gonna prevent this. There's always gonna be this first wave of wrench attacks, but Right. There's gonna be the I think in a world where in a world where snore was the standard,
416
00:29:50.735 --> 00:29:56.480
that that period of time would go go would go by very fast. The information of how futile
417
00:29:56.480 --> 00:30:00.080
those attacks are would get through pretty fast. Right.
418
00:30:00.320 --> 00:30:01.600
Yeah. Yeah.
419
00:30:02.240 --> 00:30:05.600
And then just some other just tail benefits of Schnewer.
420
00:30:06.000 --> 00:30:07.840
The verification is actually faster too.
421
00:30:08.735 --> 00:30:10.655
So when you're syncing the blockchain,
422
00:30:10.735 --> 00:30:11.215
like,
423
00:30:12.015 --> 00:30:16.415
this goes back to just, like, when you're looking at a signature, you're just looking at one signature. Right?
424
00:30:18.015 --> 00:30:18.735
And,
425
00:30:18.975 --> 00:30:19.295
you know,
426
00:30:20.610 --> 00:30:25.570
when you're like one that just, like, scales not just from the size on chain, the size to actually validate it.
427
00:30:26.290 --> 00:30:30.450
There's a couple small other quirks of there's no malleability
428
00:30:30.929 --> 00:30:31.649
in
429
00:30:32.210 --> 00:30:33.970
in the Schnorr signature itself.
430
00:30:35.505 --> 00:30:37.345
Yeah. This is, you know,
431
00:30:38.545 --> 00:30:42.304
it's less relevant in SegWit and Tapper because we basically
432
00:30:42.545 --> 00:30:45.664
don't count the witness elements.
433
00:30:45.905 --> 00:30:50.649
But when you We covered this we covered this when we talked about quadratic residues.
434
00:30:50.649 --> 00:30:56.409
Yes. But we didn't mention this one thing that there are there are two possible there's always two possible answers.
435
00:30:56.649 --> 00:30:59.210
Right. Right. There's always two possible answers.
436
00:30:59.690 --> 00:31:00.809
And for The the
437
00:31:01.289 --> 00:31:08.445
elliptic curve equation is y squared equals something. Right. So there's always two possible answers. Two solutions. Right?
438
00:31:08.685 --> 00:31:11.485
And we we we handle this nicely
439
00:31:12.605 --> 00:31:13.805
with the
440
00:31:14.940 --> 00:31:23.339
well, one with SegWit in Bitcoin where we don't actually count the elements in the witness as part of what can determine the transaction. This is old Bitcoin history where
441
00:31:23.659 --> 00:31:24.619
originally,
442
00:31:25.340 --> 00:31:26.539
Mount Gox
443
00:31:27.500 --> 00:31:29.500
blamed transaction malleability
444
00:31:29.765 --> 00:31:31.365
as to why they got hacked.
445
00:31:32.965 --> 00:31:33.525
And
446
00:31:33.845 --> 00:31:43.925
I would question if that's true or not. You'd have to take them at their word. I'm not sure if it was ever externally shown to be a reasonable way why they could have that. But the idea, though, is that you could actually have
447
00:31:44.570 --> 00:31:50.649
a given Bitcoin transaction in a pre SegWit world. You could get multiple transaction IDs.
448
00:31:52.010 --> 00:31:52.490
And
449
00:31:53.130 --> 00:31:55.450
this actually had to be fixed for Lightning
450
00:31:55.610 --> 00:31:58.890
because if Lightning is a series of pre signed transactions,
451
00:31:59.884 --> 00:32:01.324
a UTXO,
452
00:32:01.485 --> 00:32:09.804
like, where your Bitcoin actually lives on the blockchain. The whole point of the blockchain is that you have an unspent transaction output saying this is my money and I can spend it in the future. You need to have,
453
00:32:10.684 --> 00:32:11.484
stability
454
00:32:11.565 --> 00:32:12.684
in the
455
00:32:13.140 --> 00:32:14.740
in the transaction ID.
456
00:32:15.060 --> 00:32:18.980
Once it's confirmed, it can't change. But the idea is that in flight,
457
00:32:19.220 --> 00:32:20.500
you could in theory
458
00:32:20.580 --> 00:32:22.580
have transaction ID a,
459
00:32:23.060 --> 00:32:26.020
then malleate the transaction, then get transaction ID b,
460
00:32:26.665 --> 00:32:38.825
and you could have the and then transaction ID b only gets seen on chain. But if you were only looking at the unconfirmed transaction, you'd actually have a different one. But when you're doing this in Lightning, you're doing a bunch of off chain presigned transactions.
461
00:32:39.529 --> 00:32:48.409
And you need to have stability because if I have you and I have a Lightning channel, we keep paying each other back and forth, back and forth, back and forth. But then at, like, the second hop out of a thousand,
462
00:32:48.649 --> 00:32:57.534
I actually go up and I malleate the transaction, I go to close it, you would have no ability to contest that transaction because the chain is broken.
463
00:32:59.135 --> 00:33:00.094
And
so
464
00:33:00.495 --> 00:33:03.374
that's this was something that already needed to be solved for Lightning.
465
00:33:03.615 --> 00:33:03.855
And,
466
00:33:04.429 --> 00:33:11.230
you know, with in Shneur, this ties into like the I would say the last general point that we haven't touched upon is that,
467
00:33:11.950 --> 00:33:17.655
and we probably should just get reared in on to complain about this for two hours. Anytime.
468
00:33:18.775 --> 00:33:28.935
X Schnor, this was a this is not a requirement of Schnor, but Bitcoin's implementation of Schnor. We saved one byte on every key because we require that it's the x only key.
469
00:33:30.679 --> 00:33:33.879
So we're always assuming an even y value
470
00:33:34.360 --> 00:33:35.320
when we,
471
00:33:36.760 --> 00:33:40.759
when we use a Schnorr signature in general. And so we always assume
472
00:33:40.840 --> 00:33:42.679
it is an even valued
473
00:33:43.605 --> 00:33:44.965
y values,
474
00:33:45.365 --> 00:33:54.725
and that kind of removes the the possibility of the y squared point he made earlier. There's always two possible answers. We are hard code assuming that it's always going to be the even value line number.
475
00:33:55.710 --> 00:34:14.705
So you're triggering something that I remember learning in in Lightning via whole it's okay to be odd, and this is why we use signal you signal odd numbers. Is is it related? Is that is that related here? Well, it's okay to be odd is just a general, like, software protocol spec thing that we do. It doesn't directly it's not directly related to this. But the idea is that if you have a
476
00:34:15.185 --> 00:34:20.705
protocol that allows for users to kind of upgrade and have different variable fields,
477
00:34:21.105 --> 00:34:24.305
what you do is you try to do is you try to have even values in the protocol
478
00:34:24.730 --> 00:34:26.490
be ones that are
479
00:34:26.970 --> 00:34:37.770
ones that you really can't change and are really important. But then if I wanna peg some extra metadata or some extra information that the rest of the network doesn't have to care about, I I plug those in odd numbers. So it's a way to keep consensus across multiple actors.
480
00:34:38.475 --> 00:34:42.155
Not directly related to this, but it I I I see the parallel, though. Yeah.
481
00:34:43.035 --> 00:34:48.715
And then the I guess final thing is just cleaner security proofs, which we like. We we like having less assumptions,
482
00:34:48.715 --> 00:34:49.275
less,
483
00:34:50.315 --> 00:34:50.715
abstract
484
00:34:51.355 --> 00:34:54.300
math required to be able to prove that things are secure.
485
00:34:56.779 --> 00:34:58.060
Yeah. It's,
486
00:34:59.500 --> 00:35:01.820
I I think it's a little bit of a shame that
487
00:35:02.460 --> 00:35:04.619
what Taproot's sort of known for are,
488
00:35:05.465 --> 00:35:07.385
you know, quantum vulnerability
489
00:35:07.385 --> 00:35:08.265
and Mhmm.
490
00:35:09.625 --> 00:35:10.505
JPEGs.
491
00:35:10.505 --> 00:35:11.865
Right? Unfortunately,
492
00:35:12.025 --> 00:35:13.945
that seems to be that's like what
493
00:35:14.185 --> 00:35:15.625
the revisionist history
494
00:35:15.865 --> 00:35:24.160
would suggest that Taproot that what Taproot is meant to make us quantum vulnerable. Or maybe it was the quantum vulnerability is may is I've heard that as to why
495
00:35:24.480 --> 00:35:39.955
a lot of devs didn't build didn't really build on it. Yeah. I think, starting today, people would probably start saying that. I don't think quantum five, six years ago was really the relevant thing. There's just a certain stickiness with Bitcoin that, like, if you have code and and the code in Bitcoin,
496
00:35:39.955 --> 00:35:41.315
the code is the money.
497
00:35:42.115 --> 00:35:45.955
The code is the money. Right? So if you have a engine and a flywheel and it works,
498
00:35:47.619 --> 00:35:54.580
why touch it? Like, is why Coinbase didn't allow you to even send to a Taproot address. From from their wallet,
499
00:35:54.740 --> 00:36:00.260
they didn't even support sending to a Taproot wallet until maybe a year and a half ago. Yeah.
500
00:36:01.005 --> 00:36:17.450
That's And then they they only over the ETF. That was that was like embarrassing over the ETF. Yeah. And Bitwise basically beat them up to do both those things, which is great because now it's done. When I first started Anchor Watch, one of the reasons why I did not turn on Taproot is that if I had a customer who was at Coinbase
501
00:36:18.010 --> 00:36:21.610
and they were gonna move their funds over to me, they would not be able to,
502
00:36:22.090 --> 00:36:38.795
which is like, you could say what you want about, you know, poo pooing Coinbase and their product road map and what they focus on, but it's the largest exchange in the world. And if you're saying that I'm gonna be Taproot only, I am explicitly saying that the largest exchange in the world can't interface with my wallet. That's a rough break. Right? So
503
00:36:39.195 --> 00:36:42.475
those problems have now been solved. We're working on Taproot right now at Anchor Watch.
504
00:36:44.310 --> 00:36:50.710
It's one of these things, though, that was very relevant for being able to, like, get over that hump. And so
505
00:36:51.590 --> 00:36:59.270
we're this is why I talk about, like, the largest tech debt this you know, thing ever is that because of that patent, Satoshi couldn't start with Shneur out of the gate. Yeah.
506
00:37:00.295 --> 00:37:05.095
Yeah. And and but it's sort of now viewed because we still don't we still don't have Schnoor.
507
00:37:06.295 --> 00:37:10.615
Right? We have Taproot. We have these other externalities.
508
00:37:10.855 --> 00:37:17.500
We don't have Schnoor yet, really. We tech so you technically can. It's just not widely supported.
509
00:37:17.500 --> 00:37:23.500
It's not a standard. It's not we don't have it as a standard practice saving the world from bad privacy.
510
00:37:23.660 --> 00:37:24.700
Right? Yeah.
511
00:37:24.700 --> 00:37:27.339
So there's a music BIP now, BIP three twenty seven.
512
00:37:29.925 --> 00:37:32.405
It originally got a BIP number in 2022,
513
00:37:32.405 --> 00:37:34.005
so, like, a year after.
514
00:37:35.765 --> 00:37:38.085
I think it's actually an interesting thing. I'm gonna look it up right now.
515
00:37:43.460 --> 00:37:47.220
So there's something called RFC 60 RFC
516
00:37:47.220 --> 00:37:50.740
sixty nine sixty seven, or is it sixty seven sixty nine?
517
00:37:51.620 --> 00:37:55.645
It's sixty seven sixty nine. Sixty seven sixty nine, which is,
518
00:37:57.405 --> 00:37:58.685
wait. Deterministic
519
00:37:59.724 --> 00:38:01.485
nonce RFC.
520
00:38:01.964 --> 00:38:04.205
ECDSA sixty nine sixty seven
521
00:38:04.445 --> 00:38:05.645
is
522
00:38:05.960 --> 00:38:12.359
you wanna always so when you're doing it like a multiparty computation well, in general, when you're signing a Bitcoin, we've definitely talked about this before.
523
00:38:12.680 --> 00:38:14.280
If the nonce
524
00:38:15.000 --> 00:38:26.925
gets reused multiple times for a single public key, you actually leak the private key because you are actually able to trivially do the division and work your way backwards. Yes. Literally y equals m x plus b math
525
00:38:27.005 --> 00:38:41.480
can Yeah. Like, it's it's Yeah. Not Yeah. You basically you've you've you've filled in enough of the, variables where you trivially can just do some quick division and get the private key. So there's a spec for how you always have deterministic nonsense
526
00:38:41.480 --> 00:38:42.600
with ECDSA.
527
00:38:45.545 --> 00:38:49.545
I think last I checked, there actually isn't a formal spec.
528
00:38:50.105 --> 00:38:54.025
It's been what's kinda hacked together for deterministic balances for ECDSA.
529
00:38:54.585 --> 00:39:02.040
And that's, like, a little bit of that's not a complicated thing to solve, but it's a relevant thing to try and go figure out. Chapter 12,
530
00:39:02.280 --> 00:39:05.160
though, in the chapter 12 in the study guide
531
00:39:05.400 --> 00:39:06.120
does,
532
00:39:07.240 --> 00:39:08.840
you know, lay this out.
533
00:39:09.240 --> 00:39:09.960
Yes.
534
00:39:11.800 --> 00:39:12.520
Yes.
535
00:39:14.200 --> 00:39:16.200
I'm looking I definitely had a tweet about it.
536
00:39:17.055 --> 00:39:17.935
Snoring.
537
00:39:18.655 --> 00:39:23.455
Do you wanna drop your snore factoid?
538
00:39:24.815 --> 00:39:27.215
Drop my snore factoid? Oh, yeah.
539
00:39:27.935 --> 00:39:32.360
You mean the fact that snore there's a Yiddish term called snorer? Yes.
540
00:39:32.840 --> 00:39:34.440
It was brought to my attention
541
00:39:34.840 --> 00:39:35.320
by,
542
00:39:36.520 --> 00:39:38.040
by a friend that,
543
00:39:38.280 --> 00:39:42.040
schnoor there is there's a word there's a Yiddish term called schnoor,
544
00:39:43.000 --> 00:39:45.240
which is actually a, you know,
545
00:39:46.205 --> 00:39:51.005
an over it's funny that they had to create a Yiddish term for an overly transactional
546
00:39:51.165 --> 00:39:52.205
human being.
547
00:39:53.005 --> 00:39:58.525
But, so this whoever this was made for must have been just so over the top unbearable
548
00:39:59.325 --> 00:40:01.720
that they had to create this word called schnoor.
549
00:40:02.040 --> 00:40:06.040
And this person was asking me if if that was the origin of
550
00:40:06.280 --> 00:40:11.240
of the term schnoor signature. But, actually, no. It was a man named Klaus Schnoor
551
00:40:11.720 --> 00:40:13.560
Mhmm. A cryptographer,
552
00:40:13.560 --> 00:40:14.600
I think, who
553
00:40:15.000 --> 00:40:15.640
is a
554
00:40:16.635 --> 00:40:18.475
he lives in our time. Correct?
555
00:40:19.755 --> 00:40:21.995
I believe so. I mean, he had the patent
556
00:40:23.755 --> 00:40:26.155
he had the patent in Bitcoin back, you know,
557
00:40:28.235 --> 00:40:32.470
I'm looking to see I've seen it right here. Yeah. It's Pausch Nor. 1989.
558
00:40:32.470 --> 00:40:37.510
He filed He died he died last year. Oh my Wow. He died a year ago. June 8.
559
00:40:38.150 --> 00:40:38.790
Oh, man.
560
00:40:41.445 --> 00:40:44.965
Right before perfect number day. Right. He didn't make it.
561
00:40:45.605 --> 00:40:46.485
Oh, man.
562
00:40:46.885 --> 00:40:50.805
Yeah. So but it does so it says here he filed the patent in 1989,
563
00:40:50.805 --> 00:40:53.125
and it expired in February
564
00:40:53.125 --> 00:40:54.325
2008.
565
00:40:54.805 --> 00:40:56.405
But I guess it was still too raw.
566
00:40:56.970 --> 00:41:03.530
I think yeah. Like, was a little too raw. I mean, this is the other thing too is that you wanna battle test systems before you
567
00:41:04.010 --> 00:41:11.210
put the whole money on it. Yeah. Right? So Bitcoin used the following sixteen years to make sure it was totally good and then turned it on.
568
00:41:13.265 --> 00:41:15.025
Yeah. So, like, there's
569
00:41:15.025 --> 00:41:16.465
there's a whole ecosystem
570
00:41:16.465 --> 00:41:20.785
around Bitcoin to get this. Like, you technically can do it. There is a bit for music.
571
00:41:21.025 --> 00:41:21.665
Right?
572
00:41:23.985 --> 00:41:34.280
There the thing, though, is that you do want there to be a whole ecosystem. Right? So right now, like, our back end and Anchor Watch is built on Rust Bitcoin.
573
00:41:34.599 --> 00:41:47.895
There really isn't a great way to do music keys within Rust Bitcoin yet. It's something I I've I've kicked the tires around, and I think it's something that we're getting to a point where everything else is so rock solid stable. Like, the work can start being done on that.
574
00:41:49.655 --> 00:41:52.135
Music has now been added to the libsec p
575
00:41:52.615 --> 00:41:59.220
two fifty six k one library, which is a big milestone. So, like, we now have, like, the core foundational of the cryptographers
576
00:41:59.220 --> 00:42:01.140
have a
designated spec,
577
00:42:01.540 --> 00:42:07.540
which once you get that, you get a really big unlock is that you can actually have the hardware wallets, which all just import this code.
578
00:42:07.780 --> 00:42:15.265
Like, every hardware wallet is not writing their own let me take that back. No reputable hardware wallet is rolling their own cryptography.
579
00:42:15.585 --> 00:42:16.224
Right?
580
00:42:16.464 --> 00:42:33.750
They are taking the standardized spec library and then implementing it. So once it was added this past year to music was added, you now have, like, the cold card which supports it, and you have the ledger which supports it. Right? So, like, you start getting, like, the initial, like, green shoots of an ecosystem, but now you need to have wallet,
581
00:42:34.309 --> 00:42:39.190
providers to be able to have the infrastructure, be able to do this combining of the keys securely and everything. Right?
582
00:42:39.825 --> 00:42:40.465
So,
583
00:42:41.345 --> 00:42:43.905
that's all moving in the right direction.
584
00:42:44.224 --> 00:42:44.945
I
585
00:42:46.305 --> 00:42:50.945
think we're we're we're now starting to get there. There's now been enough groundwork laid out to make it worthwhile.
586
00:42:51.345 --> 00:42:52.865
Do we wanna cover
587
00:42:52.865 --> 00:42:54.224
the current events
588
00:42:55.020 --> 00:43:06.940
at all around If you'd like. I think we should since we're here. Right? So Yeah. I mean, also, just as we we've clear we've closed out the study guide now. Right? We could put a pin in the Elliptic Curve study guide. Have we finished that?
589
00:43:08.075 --> 00:43:14.875
I wanted I I I do tend to like to read out loud some of these Steiner blips.
590
00:43:15.194 --> 00:43:16.155
Sure. And
591
00:43:17.035 --> 00:43:18.075
I do Do wanna
592
00:43:18.635 --> 00:43:21.275
about about the Steiner stuff that was being said here.
593
00:43:21.920 --> 00:43:28.560
So there are these little boxes called Steiner lenses where my clanker did it. My clanker, I asked
594
00:43:28.800 --> 00:43:30.800
when he created these study guides to,
595
00:43:31.280 --> 00:43:35.920
you know, tell us what Steiner would actually think of a lot of these concepts.
596
00:43:36.000 --> 00:43:43.505
Totally wanna Do Do we wanna do that to close out the study guide or do you wanna like do that to close out the study guide next episode? Like,
597
00:43:44.065 --> 00:43:48.705
I just wanna make sure we've now gotten to the end of the study guide is kind of what I'm getting at. We have.
598
00:43:50.220 --> 00:43:51.900
We have. Congratulations
599
00:43:52.060 --> 00:43:57.260
everybody for sticking with us. Like 10 episodes, not too bad. Something like that. And there are exercises
600
00:43:57.260 --> 00:44:01.420
that you should all go to the end and do because they're
601
00:44:01.420 --> 00:44:02.700
fun. Yeah.
602
00:44:03.020 --> 00:44:05.180
And helpful. We can go right to
603
00:44:05.955 --> 00:44:08.035
topics of the day if you want and
604
00:44:08.435 --> 00:44:12.675
we can I think this, yeah, let's do that? Let's let's then let's acknowledge the
605
00:44:13.955 --> 00:44:14.755
study
606
00:44:14.755 --> 00:44:17.395
guide complete right now. Yeah.
607
00:44:18.435 --> 00:44:25.080
And let's let's but let's and let's, hit this current event because it's all kinda related. Right? I mean, almost everything
608
00:44:25.240 --> 00:44:26.680
that we just talked about
609
00:44:27.400 --> 00:44:30.360
happened because a single person was maintaining,
610
00:44:31.000 --> 00:44:36.895
you know, was largely main he was developing music and maintaining the LibSec library.
611
00:44:37.375 --> 00:44:38.095
Oh, yeah.
612
00:44:38.494 --> 00:44:39.455
Right?
613
00:44:39.535 --> 00:44:42.815
Yes. That's the current event I'm talking about. Yes. Yes.
614
00:44:43.214 --> 00:44:47.215
Yes. I don't know what you had in mind. So no. No. No. I wasn't sure where you were going.
615
00:44:47.615 --> 00:44:49.055
Yeah. So it looks like
616
00:44:49.530 --> 00:44:51.850
Jonas Nick was stepping down from the,
617
00:44:53.530 --> 00:45:00.010
I would maintain a role. I'm not sure if they formally have lead maintainers in the libsecp library, but Jonas is definitely,
618
00:45:00.730 --> 00:45:02.490
up there with the heavyweights
619
00:45:02.490 --> 00:45:02.730
of,
620
00:45:03.345 --> 00:45:10.865
you know, the actual work around the libsecp library and standardizing it. Brian and I have met him on several occasions,
621
00:45:10.945 --> 00:45:12.305
including at OpNext
622
00:45:12.305 --> 00:45:14.465
or back in April, was it?
623
00:45:14.945 --> 00:45:22.050
Got to chat with him a little bit. He's great. He's now the director of research at Blockstream, so he's managing and spinning many, many plates,
624
00:45:23.090 --> 00:45:24.450
and kind of maintaining
625
00:45:24.690 --> 00:45:27.010
all of the commercial work that Blockstream is doing.
626
00:45:27.410 --> 00:45:34.525
Future guest. For sure. Future guest. Yeah. He's he's he's in. He just wants us to know a time and a place and a topic.
627
00:45:36.125 --> 00:45:37.965
We need to delay all the scaffolding
628
00:45:38.125 --> 00:45:41.805
out though. Yeah. We needed to do all this. And I
629
00:45:43.645 --> 00:45:46.160
think that just again, if we talk about,
630
00:45:47.359 --> 00:45:49.760
one of the slides I had in my in my,
631
00:45:50.559 --> 00:45:56.079
keynote, you know, for, in Prague Mhmm. Around all of this was also that,
632
00:45:57.440 --> 00:45:59.359
like, don't overestimate
633
00:45:59.585 --> 00:46:05.744
don't overestimate Bitcoin Core and not see that it fits that it's in it's in a ecosystem
634
00:46:05.984 --> 00:46:12.545
Mhmm. That we need to worry about equally a lot of other things. Cool. This is a great point is that everyone thinks about Bitcoin,
635
00:46:12.990 --> 00:46:17.150
the Bitcoin core organization as Bitcoin slash Bitcoin on
GitHub.
636
00:46:17.470 --> 00:46:23.470
Yeah. But there's multiple libraries with it. Yeah. Like like, well, if you go to GitHub, right, .com/bitcoin,
637
00:46:23.790 --> 00:46:29.205
if you're looking at the code base, it's Bitcoin slash it's Bitcoin github.com/bitcoin/bitcoin.
638
00:46:29.205 --> 00:46:31.845
The reason why is the actual node implementation
639
00:46:32.085 --> 00:46:33.925
is part of the Bitcoin project
640
00:46:34.085 --> 00:46:35.605
and the Bitcoin repo,
641
00:46:35.685 --> 00:46:42.690
but there are other repositories that are really important for how Bitcoin works within there. Right? First, you could think of, like,
642
00:46:43.410 --> 00:46:44.610
the BIPs repo.
643
00:46:45.090 --> 00:46:47.250
Mhmm. You know? Then you also have,
644
00:46:48.130 --> 00:46:50.210
you you have you have libsec p,
645
00:46:51.570 --> 00:46:54.785
which is the cryptography one we're talking about, which, like,
646
00:46:55.265 --> 00:47:04.465
is, I would say, really the foundational library that everything on Bitcoin gets built on top of. If if there's a bug in the in the libs the sec p 256K1
647
00:47:04.465 --> 00:47:05.185
library,
648
00:47:05.745 --> 00:47:16.480
the rest of it doesn't really matter. Your node doesn't really matter if the cryptography breaks, which is kinda going to, like, the quantum discussion. Right? They're like all of the software around it doesn't really matter if you can't uniquely hold a private key to yourself.
649
00:47:17.040 --> 00:47:22.560
Yeah. And it's also like, you all know my story. Like, I I had a I had a great time looking at the Bitcoin repo.
650
00:47:23.265 --> 00:47:25.105
Formulas in English,
651
00:47:25.505 --> 00:47:31.825
everything I knew was supposed to be there was there, and it all made sense. But, like, that libsecp library,
652
00:47:31.825 --> 00:47:32.785
I think, is really
653
00:47:33.345 --> 00:47:40.140
hard. It's I'd I'd say for a layman, forget about it. You're not you're not gonna walk away from there with any good feelings.
654
00:47:41.180 --> 00:47:43.740
And if you've if you are somebody with
655
00:47:43.900 --> 00:47:47.340
some mathematical aptitude who's maybe had a career
656
00:47:47.820 --> 00:47:49.340
that's mathematically related,
657
00:47:49.825 --> 00:47:53.185
they're somebody like me is gonna also gonna walk away,
658
00:47:53.825 --> 00:47:55.745
like, actually really upset,
659
00:47:55.905 --> 00:47:57.665
not knowing what the hell to do.
660
00:47:58.465 --> 00:48:04.305
And it just make what what it does is it makes you realize that those people are far I think far more important
661
00:48:04.900 --> 00:48:08.740
to at least in the stage that we're in right now. Right? The
662
00:48:09.060 --> 00:48:10.340
2026
663
00:48:10.500 --> 00:48:13.619
status of things. I think they're more important to,
664
00:48:14.500 --> 00:48:21.535
to what that library does than the Bitcoin people are to what to what Bitcoiners need at a, like, to what we need at a Bitcoin.
665
00:48:22.095 --> 00:48:23.775
Yeah. Right?
666
00:48:23.775 --> 00:48:29.535
So I think that that's one of the reasons we do this podcast actually is to shine the light on the LipSec
667
00:48:29.695 --> 00:48:31.215
the LipSec p library
668
00:48:31.455 --> 00:48:37.590
Yeah. And get us a little bit more so that we're less dependent on them when some type of crisis happens.
669
00:48:38.470 --> 00:48:39.830
Yeah. Absolutely.
670
00:48:42.710 --> 00:48:46.950
And there are other people who work on that. I'm actually looking over the past year.
671
00:48:47.589 --> 00:48:50.470
The you know, you have Tim Ruffing, real random.
672
00:48:51.645 --> 00:48:52.525
You
673
00:48:52.525 --> 00:48:58.205
also have, Habosto, who's a Bitcoin core maintainer, who I've met this past year,
674
00:48:58.685 --> 00:49:02.685
you know, working on this stuff. Everyone wants to care about the little
675
00:49:03.660 --> 00:49:09.580
drama inflection points, but this is genuinely where the real work is being done. And and to really just observe
676
00:49:09.900 --> 00:49:12.700
how rock solid and how small and incremental,
677
00:49:14.299 --> 00:49:18.380
the code is in the libsec p library. I'm looking over the past year.
678
00:49:20.525 --> 00:49:22.525
Hibasto has the most commits.
679
00:49:22.925 --> 00:49:25.085
He added 484
680
00:49:25.085 --> 00:49:27.485
lines and removed 435
681
00:49:27.485 --> 00:49:36.100
lines. Wait. A year of work. Wait. Four eighty four was not one of the that wasn't the perfect number. Right? What what was the third? What was the three digit perfect number? 496.
682
00:49:36.100 --> 00:49:38.500
Was it 628 or hold on.
683
00:49:39.140 --> 00:49:40.260
I have it right here.
684
00:49:41.700 --> 00:49:42.820
One second.
685
00:49:43.140 --> 00:49:43.940
It was
686
00:49:44.660 --> 00:49:46.100
it wasn't 625,
687
00:49:46.100 --> 00:49:49.355
was it? No. No. Nope. It was it was 496.
688
00:49:49.595 --> 00:49:53.595
496. So close. Oh, he's, he's 12 commits away.
689
00:49:54.155 --> 00:49:58.395
Well, he's 40 scaring the shit out of us. Yeah. That's right. Right. Right. Right. Right.
690
00:49:58.875 --> 00:49:59.515
He,
691
00:49:59.835 --> 00:50:05.290
but, you know, over a year of work and on net, he added 40 lines of code.
692
00:50:06.010 --> 00:50:16.010
You know what I mean? Like, this is, like Right. The level of precision we're at. A year of work and you added 40 lines of code to the repo. Like, that is the level of, like, very tightly dialed in stuff here.
693
00:50:18.905 --> 00:50:23.145
And so, you know, it's it's critically important stuff, but that was just a little,
694
00:50:23.625 --> 00:50:30.825
I I messaged Brian when I saw that happening was kind of like a so the other two maintainers at the moment are
695
00:50:30.480 --> 00:50:35.360
Tim Ruffink, who I mentioned, and Peter Willa, who I think we've only mentioned a thousand times,
696
00:50:36.000 --> 00:50:37.200
on this podcast.
697
00:50:40.320 --> 00:50:41.840
Where's Andrew on that
698
00:50:42.495 --> 00:50:43.295
spectrum?
699
00:50:43.775 --> 00:50:46.975
Has I'm looking over the past year. So Andrew's definitely
700
00:50:47.775 --> 00:50:53.135
I don't think Andrew's done any contributions in the past year. I can look at all time and probably find him, though. Yeah.
701
00:50:54.015 --> 00:50:59.850
Yep. Polstra stopped committing to libsec in 2021, like, just after Taproot.
702
00:51:00.330 --> 00:51:01.130
So
703
00:51:01.210 --> 00:51:02.410
he wasn't on the
704
00:51:02.890 --> 00:51:04.250
the core stuff.
705
00:51:04.490 --> 00:51:06.650
I mean, I'm I'm now looking at the all time
706
00:51:07.210 --> 00:51:12.445
the all time greatest hits. And Sipa is the number one committer with 477
707
00:51:12.445 --> 00:51:13.245
commits.
708
00:51:13.325 --> 00:51:15.565
He added a 103,000
709
00:51:15.565 --> 00:51:17.725
lines and removed 86,000
710
00:51:17.725 --> 00:51:18.365
lines.
711
00:51:18.605 --> 00:51:20.925
Now mind you, his first commit
712
00:51:21.405 --> 00:51:22.765
was in March of
713
00:51:23.280 --> 00:51:26.960
in January 2023. Sorry, January 2013.
714
00:51:27.520 --> 00:51:28.640
Wow. So you're talking
715
00:51:29.040 --> 00:51:32.800
thirteen years of work and he added like
716
00:51:33.280 --> 00:51:35.040
20,000 lines of code over
717
00:51:35.855 --> 00:51:44.015
fifteen, sixteen years. Now the stakes are high. I would would you say Taproot raised the stakes on SecP two fifty six k one?
718
00:51:46.655 --> 00:51:48.974
Yes. And so far as when you start
719
00:51:51.310 --> 00:51:53.390
the reason why I would say raising
720
00:51:53.390 --> 00:51:55.230
the stakes as a yes is one,
721
00:51:55.550 --> 00:51:57.310
we had this, like, ECDSA
722
00:51:57.310 --> 00:52:01.230
algorithm that we were all, you know, we're all really happy with and using. So to
723
00:52:01.470 --> 00:52:07.225
whenever you're upgrading Bitcoin, you are changing the engine on the plane while it's 30,000 feet in the sky.
724
00:52:08.345 --> 00:52:11.625
So, like, you really can't mess that up. Right?
725
00:52:12.585 --> 00:52:16.985
So in that sense, yes. Also, the nature of the aggregation of signatures, I would say, are
726
00:52:18.010 --> 00:52:25.050
you're you you need to be really sure about that because you don't have this genuine this original assumption now where each signature
727
00:52:25.210 --> 00:52:29.290
could be self contained to a single key. You're combining all of these and making sure that's all done correctly.
728
00:52:30.095 --> 00:52:38.655
So I I can see that. Yeah. So if I'm gonna say, if we're explaining like, if we're explaining the state of things to the world, we might say that
729
00:52:39.295 --> 00:52:44.255
the important the most important aspects of Taproot should have been expected to move slowly,
730
00:52:44.870 --> 00:52:49.430
Mhmm. Very slowly. And Yep. It it's not surprising that the thing that no one likes
731
00:52:49.670 --> 00:52:56.390
that was exploited happened right away because it's it was a bunch of reckless people who didn't care how it turned out.
732
00:52:56.950 --> 00:52:57.590
Yep.
733
00:52:57.990 --> 00:53:06.455
And, you know, it came. That, you know, that came and went. But, like, the reality is the what we wanted at a taproot, which probably
734
00:53:07.335 --> 00:53:08.135
began
735
00:53:08.135 --> 00:53:09.255
with Segwit,
736
00:53:09.255 --> 00:53:14.470
right? This arc was always going to be very slow. Yeah. And maybe
737
00:53:14.710 --> 00:53:17.190
this fear of quantum also made
738
00:53:18.630 --> 00:53:19.670
it even slower
739
00:53:20.070 --> 00:53:20.630
potentially.
740
00:53:21.190 --> 00:53:22.630
But I think it's just people
741
00:53:23.110 --> 00:53:27.110
should have this context that there is a reason why this exists.
742
00:53:28.355 --> 00:53:30.835
Right? Taproot was not put in to
743
00:53:33.075 --> 00:53:37.635
strictly for people to abuse the segway discount and size limit.
744
00:53:38.035 --> 00:53:41.235
That's not the reason it was put in. It's just that you're not seeing
745
00:53:41.875 --> 00:53:44.710
it's gonna be a long time before we really see
746
00:53:45.750 --> 00:53:51.430
we before we really see it. And it's okay to have a low time preference for development. Right?
747
00:53:51.829 --> 00:53:53.990
Yes. I also do wanna call out,
748
00:53:54.470 --> 00:53:58.475
Jonas in his replacement for maintainer suggested the stack,
749
00:53:59.035 --> 00:54:03.435
Sebastian is his name, to become maintainer. And I just pulled up his Twitter profile,
750
00:54:03.674 --> 00:54:15.660
and he follows me. So we can get him on. Hell yeah. Yeah. We should grab him. And I'm also realizing yet, you haven't No. I haven't DMed him yet, but I can I can take that off? But I'm realizing who we should actually have on. We should we should try and get Peter Willa on,
751
00:54:16.300 --> 00:54:30.645
to just talk about libsec p because he is the one who really started that. And we've talked about it before, but the work of Satoshi having a couple 100 lines of code, which was the cryptography in the original thing, and slowly realizing, wait a second, this is really important. We should be
752
00:54:31.125 --> 00:54:35.365
digging way deeper and optimizing this. I think that that is probably our
753
00:54:35.960 --> 00:54:39.960
that would be the ultimate capstone magnum opus of the ECC
754
00:54:39.960 --> 00:54:57.095
work where we could also, it would be funny too because whenever anyone wants to have Peter on, they wanna talk about quantum. They wanna talk about a thousand other things. We'd be like, no, let's just talk about the past fifteen years of work you've done taking Satoshi's 300 lines of code and making it to the LibSec p library today, which is like fifty, sixty thousand lines of code.
755
00:54:57.734 --> 00:54:59.655
Yeah. And I I would
756
00:54:59.974 --> 00:55:01.975
love to ask these
guys if it
757
00:55:02.214 --> 00:55:04.055
burns if does it burn them out
758
00:55:04.790 --> 00:55:09.750
to work on this the way they do being the only ones that understand it. Yeah.
759
00:55:10.150 --> 00:55:13.270
I would imagine that they don't like being
760
00:55:13.589 --> 00:55:15.589
this priest class. I would imagine that.
761
00:55:17.175 --> 00:55:21.015
Basically a road to burnout, and they can't really do the things they wanna do.
762
00:55:23.015 --> 00:55:28.855
So Andrew's been working on his things, and he's not so he stopped contributing to the library. Right?
763
00:55:29.589 --> 00:55:38.470
And you just yeah. Like, I would love to hear that because that should concern people. Like, this to me, this is the kind of thing that should concern you as a Bitcoiner. Oh, Andrew not,
764
00:55:39.030 --> 00:55:46.285
contributing anymore? Not so much Andrew not contributing, but just the general fact that there's so few of these people, and they're so prone to burn out potentially
765
00:55:46.285 --> 00:55:47.325
from the
766
00:55:47.805 --> 00:55:51.165
pressure and being the only ones and how important it is and how,
767
00:55:51.405 --> 00:55:57.005
you know, maybe really what we're doing is like the thing that needs to be done because maybe what
768
00:55:57.565 --> 00:56:01.320
we do is we start creating some people that are capable of eventually
769
00:56:01.799 --> 00:56:14.520
lending it lending a hand on this. Yeah. I mean, that'd be a good thing to talk about the ecosystem of developing talent because if people say it takes five years of being a developer before you could really, like, cut your teeth on the Bitcoin software,
770
00:56:15.295 --> 00:56:17.535
That was that a decade for limsec p?
771
00:56:17.855 --> 00:56:27.055
Yeah. Jeez. When you say so that's just being general. If if you're I'm a developer. I'm a Bitcoin like, I'm I'm a developer who is able to write software. Mhmm.
772
00:56:27.980 --> 00:56:37.500
It's like a five year it's like a five year journey to go from I'm a generic developer to I am a developer who can push meaningful contributions forward in the Bitcoin code base.
773
00:56:37.900 --> 00:56:42.380
Was that how it works for you? Five years Well, I've never I'm I'm not a Bitcoin core contributor.
774
00:56:42.825 --> 00:56:43.545
Right?
775
00:56:44.025 --> 00:56:46.665
What about somebody like Evan? Somebody like Evan.
776
00:56:46.825 --> 00:56:52.105
Oh, Evan could. Yeah. Like and I I probably could now do small things because I'm so
777
00:56:52.505 --> 00:57:07.619
in steeped in how Bitcoin works on the application layer. I'm not walking in like a random developer who's never touched Bitcoin before. Right? Like, I've you could probably cut mine down to, like, two years or something. But if I'm working specifically on c plus plus code in the node software to try and do changes and do things,
778
00:57:09.005 --> 00:57:12.765
Maybe with AI, you could cut it down a little bit, but you don't wanna really be,
779
00:57:13.725 --> 00:57:24.640
slot you don't wanna be inconsiderate and start slopping up PRs to have a review. But I mean, yeah, you wonder if that's gonna be a thing. Maybe. And the most like, this is a common thing that's said in Bitcoin.
780
00:57:25.040 --> 00:57:26.720
The most constrained resource
781
00:57:26.960 --> 00:57:29.840
is actually just review hours. You have to court someone
782
00:57:30.400 --> 00:57:32.480
to take time out of their day unpaid
783
00:57:32.560 --> 00:57:35.360
to go sit down and review code that you wrote.
784
00:57:36.204 --> 00:57:36.684
Right?
785
00:57:37.005 --> 00:57:39.885
Yeah. And that is like because and you need reputable
786
00:57:40.605 --> 00:57:45.485
you need reputable people reviewing your code and changes before it can be seriously considered.
787
00:57:45.724 --> 00:57:48.845
So you need to kind of, like, build your own social capital
788
00:57:49.110 --> 00:57:52.630
in time. And what usually that starts with? You start doing your own review.
789
00:57:53.190 --> 00:58:00.470
Right? You start you start reviewing other PRs. You just start trying to, you know, value for value starts trying to contribute before you start taking.
790
00:58:01.190 --> 00:58:02.230
Right. That's
791
00:58:02.715 --> 00:58:07.915
it's a whole like, open source being in the open source ecosystem is its own
792
00:58:09.755 --> 00:58:11.755
its own thing. Absolutely.
793
00:58:14.075 --> 00:58:17.835
Yeah. So I I like I said, look, I think that I'm glad
794
00:58:18.330 --> 00:58:26.650
to put more attention on sec p two fifty six, and I think people should be at least viewing that on equal footing.
795
00:58:27.530 --> 00:58:34.115
If anything, I think it should be getting more attention because less people understand it and it's far more consequential.
796
00:58:34.115 --> 00:58:34.675
And
797
00:58:35.075 --> 00:58:42.115
to me, Bitcoin Core is just maintaining anyway something that it it like, you also have private industry
798
00:58:42.195 --> 00:58:45.235
that Mhmm. Will develop things that it wants.
799
00:58:45.395 --> 00:58:45.955
Right. Right?
800
00:58:46.850 --> 00:58:59.650
Again, it's gonna take a little time. Yeah. And I would even say that libsec p in its proper place should be a commons. You don't want Yes. Oh, you know, Acme Inc being the one who runs the security for the entire protocol.
801
00:59:01.135 --> 00:59:03.454
Yeah. I thought you were gonna say MicroStrategy.
802
00:59:03.454 --> 00:59:04.974
So Sure. But they would have to
803
00:59:05.694 --> 00:59:13.855
yeah. But they're they're pretty clear on not wanting to give money to developers, period. Right? But good news. BlackRock has agreed to take over the cryptography.
804
00:59:14.015 --> 00:59:25.370
Well, this is this is our our mutual friend, Shinobi, talks about a catastrophic end state where all of the important work in Bitcoin is done by a handful of companies who have a big Bitcoin bag.
805
00:59:25.770 --> 00:59:34.855
And then that is not a way to run an open protocol, especially talking about the security of these systems. It's true. I mean, I remember when the ETFs were coming out having a strong
806
00:59:35.575 --> 00:59:43.575
view. I don't I I if I review this, I don't know if I'm right about it anymore, but I remember having a strong view that I didn't like the virtue signaling
807
00:59:44.180 --> 00:59:45.860
of, like, a Van Eck
808
00:59:46.180 --> 00:59:47.780
saying I'm gonna contribute,
809
00:59:48.660 --> 00:59:56.900
you know, 2% of our our profits on the ETF to open source development. For some reason, I that rubbed me the wrong way
810
00:59:57.595 --> 01:00:07.755
at the time. I haven't really thought about it too deeply since. I just remember that rubbing me the wrong way, like, oh my god. Are we gonna end up, like, just having these ETF providers dominate
811
01:00:08.395 --> 01:00:22.380
the development ecosystem now because that's where the money's coming from? But then it I know. Maybe another part of me is like, well, anyone else is able to step up and fund these people too. So Right. Maybe we shouldn't be too uppity about where the money comes from.
812
01:00:23.180 --> 01:00:23.820
Yeah.
813
01:00:24.700 --> 01:00:25.500
Well,
814
01:00:26.620 --> 01:00:33.635
the there's I and I'm realizing yeah. This is this has been a good conversation. I'm just realizing now that we should definitely just have Peter on.
815
01:00:33.954 --> 01:00:40.675
Because he's the actual if there was a lead maintainer, he's the one who took it and started the initial repo and started pulling all these things. And I think that, like,
816
01:00:41.420 --> 01:00:46.940
I don't think I don't think we have to do it as the next episode. I think we can let this kind of marinade for a bit.
817
01:00:47.980 --> 01:00:48.460
We can
818
01:00:49.820 --> 01:00:53.740
have we decided what our next major topic is? Is it hashes based off Farrington's decree?
819
01:00:54.275 --> 01:01:00.995
It's I think so. At least we're gonna start there. I think I started making the document. Yeah. I started building the document.
820
01:01:02.355 --> 01:01:03.955
I've been editing a book
821
01:01:04.355 --> 01:01:05.955
called Every Byte Tells a Story.
822
01:01:06.530 --> 01:01:11.170
Okay. And that's gonna be available at Magic Internet Math, and that's gonna basically
823
01:01:11.170 --> 01:01:20.609
give you the ability to do everything Rob said you should be able to do during this episode, which is, you know, see how multi you know, you wanna know how op check multisig
824
01:01:20.609 --> 01:01:21.570
pushes
825
01:01:21.965 --> 01:01:24.205
op codes to the sack to validate
826
01:01:24.445 --> 01:01:27.725
you know, to actually validate a signature to throw a zero or one.
827
01:01:28.365 --> 01:01:37.085
This book will give you all of the tools to be able to do all of those things to know what he's talking about. Mhmm. What pay to pub key versus pay to pub key hash versus
828
01:01:37.380 --> 01:01:44.180
you know, where does OPIF happen in Lightning? And what is an HTLC? Like, this is gonna be like a complete encyclopedic.
829
01:01:45.059 --> 01:01:46.900
It's gonna be like an encyclopedia
830
01:01:46.900 --> 01:01:47.540
of
831
01:01:47.859 --> 01:01:48.660
essentially,
832
01:01:48.980 --> 01:01:59.835
hex bytes on chain Yep. For for all things. And so I'm basically done editing that, and I'm gonna actually move that to publishing. And now I can focus on the hash functions
833
01:02:00.234 --> 01:02:01.035
document,
834
01:02:01.035 --> 01:02:11.500
which I've made two or three chapters now. I think we could even even before that book is done, we could kind of, at a high level, just start the conversation on the hash functions. And genuinely after hashes
835
01:02:12.140 --> 01:02:21.245
and ease one, I think hashes are more contained of a system than elliptic curve. We definitely show we definitely we definitely started with our vegetables in this podcast.
836
01:02:21.485 --> 01:02:28.605
We started we went right to modular arithmetic, and we just went right down to the the You call those vegetables? If the the that's like,
837
01:02:29.645 --> 01:02:34.845
those are like brussels sprouts cooked in bacon fat. That's right. With honey drizzled on it. Right? Yeah. Yeah.
838
01:02:35.529 --> 01:02:48.569
And then from the sake of, like, the ground truth of Bitcoin, like, this is, like, this is the roughage. Like, you have to understand this stuff. And after that and hash functions, I think there's a whole universe of things we can start talking about. And we could probably kick off a hash conversation,
839
01:02:49.245 --> 01:02:56.125
pretty low stakes, and just starting to lay it out, figure out from there where we wanna take it, and while you get the rest of the study guide stood up.
840
01:02:56.525 --> 01:03:04.285
Yeah. I like the direction of going in there. No pun intended. I like the direction of going into hash functions mostly because I think that
841
01:03:04.930 --> 01:03:12.530
it's one of those it's just the journey there is like, do we we understand really what they are and can we
842
01:03:13.090 --> 01:03:15.810
figure out if others who we
843
01:03:15.810 --> 01:03:19.170
would hope understand it actually do? Like, that's really to me
844
01:03:20.135 --> 01:03:29.655
the interesting question of why to dive in. Yeah. Well, once a hash function is kind of like observed to be secure, everyone's like, oh, then you hash it. Right? And then like,
845
01:03:29.655 --> 01:03:32.950
there's a there's a huge leap there. And unlike,
846
01:03:33.750 --> 01:03:35.830
several things. One, because it's deterministic,
847
01:03:35.830 --> 01:03:44.550
I can run on my computer. You can run on your computer. We can make sure we get the same answer for alignment. It's not like I can't you and I can't run the same ECTSA signature because I'm not gonna give you my private
key.
848
01:03:45.345 --> 01:03:55.905
Right? So it's something that's easier to kinda, like, glaze over because, like, once you have the software and the implementation, you do all of the checks and it works, you're good. Might be fun to get into a little bit of the
849
01:03:56.625 --> 01:03:57.905
the
850
01:03:57.819 --> 01:04:02.700
theoretical principles around these more too for a better understanding of the system. Yeah. Absolutely.
851
01:04:03.180 --> 01:04:12.619
I I don't know if it's as clean as the group theory stuff. So it might be a little it might be I don't think it will be. I don't think it's gonna be as clean because it doesn't it necessarily doesn't have to be as clean.
852
01:04:13.665 --> 01:04:16.785
And it's kind of and maybe as a little teaser,
853
01:04:17.105 --> 01:04:33.450
you never wanna be you need to have very clean tight rules because you never wanna be able to have my private key and your private key result to the same public key. We never wanna have my private key signing something be able to sign for something in your transaction data. Right? You never want those things. So it has to be very, very black and white clear. Whereas
854
01:04:33.609 --> 01:04:37.290
security of a hash function just kinda talks about the search space where,
855
01:04:37.529 --> 01:04:41.369
okay, if I have a thing and you have a thing and then we get the same hash,
856
01:04:41.609 --> 01:04:42.810
it's called a collision.
857
01:04:43.210 --> 01:04:43.369
And,
858
01:04:44.424 --> 01:04:55.865
you know, like, it's hard to do that. We could start getting to I know Google, had a paper about the collisions for SHA-one. We could talk about Peter's hash pinatas, which I know we've mentioned before. Peter Todd's hash pinatas, we can talk about that a little bit.
859
01:04:57.865 --> 01:04:58.265
But
860
01:04:58.980 --> 01:05:09.140
everything doesn't immediately fall apart and break is the is the key point. That's right. So like it's a there's there's definitely a little bit more wiggle room for hash collisions compared to private keys breaking.
861
01:05:11.300 --> 01:05:14.425
Nice. So then the let the the final note,
862
01:05:15.145 --> 01:05:22.745
just because I wanna make the note. Yeah. It's something that Kail and I discussed last week, but if you're doing this series and you didn't you didn't catch that,
863
01:05:23.225 --> 01:05:24.985
I wanted to make one note for completion,
864
01:05:25.940 --> 01:05:26.820
which is that,
865
01:05:27.220 --> 01:05:31.220
we've never we're gonna finish this now, but we've never actually proven
866
01:05:31.380 --> 01:05:31.940
that
867
01:05:32.660 --> 01:05:40.980
the points on the elliptic curve are a group. We Yeah. We were talking about that last time. Oh. So we took it for granted. That's a lot more advanced.
868
01:05:41.545 --> 01:05:46.105
Thus right. So thus far, that's being taken for granted, and we're trusting math books
869
01:05:46.585 --> 01:05:52.345
Oh. On that. Fun. And so if you wanna know more about that, go listen to
870
01:05:52.665 --> 01:05:56.265
the episode that we just that I just published that Kayla and I did.
871
01:05:57.280 --> 01:06:00.720
Excellent. It was like we just just I I figured it out. I'm like, oh, no.
872
01:06:02.000 --> 01:06:04.480
We can go one layer deeper. Yeah.
873
01:06:04.800 --> 01:06:07.840
Thought we were done, and that's how that's how insidious
874
01:06:08.240 --> 01:06:16.065
this can all be. Yeah. If you really wanna make sure you're validating everything which Absolutely. Unfortunately, that's the agreement we all made.
875
01:06:16.545 --> 01:06:17.665
You know? Yeah.
876
01:06:18.145 --> 01:06:20.865
And so if we are gonna be true to that and not LARPs,
877
01:06:23.140 --> 01:06:27.940
Yeah. We kinda we're gonna have to we're gonna do that proof for you. At least, like, skim the paper
878
01:06:28.340 --> 01:06:36.660
and see. Yeah. So I basically assigned Kayla. I said, Kayla, this is your first assignment in the Magic Internet Math Academy is to do this proof for us.
879
01:06:37.835 --> 01:06:40.155
And at some point, walk us through it.
880
01:06:42.315 --> 01:06:52.950
That's a cool thing because I'm I'm thinking about because the project I'm doing right now is that I have to basically narrate a story about a mathematical breakthrough.
881
01:06:53.910 --> 01:06:57.750
And I have to trace back its origins to really understand
882
01:06:58.070 --> 01:06:59.350
the big picture.
883
01:06:59.510 --> 01:07:02.390
And maybe maybe that's what it takes for
884
01:07:02.915 --> 01:07:04.995
the elliptic curve being the group.
885
01:07:06.835 --> 01:07:07.475
Yeah.
886
01:07:07.955 --> 01:07:12.435
Are are you so you're do you wanna talk a little bit about your research before we close
887
01:07:12.755 --> 01:07:13.395
Oh, since you're
888
01:07:14.275 --> 01:07:14.835
okay.
889
01:07:15.955 --> 01:07:27.910
So I have to tell, basically all this story culminates and there's this topic in a number theory that has been studied since Gauss, so it's like a two hundred year train of thought.
890
01:07:28.390 --> 01:07:30.069
And in like 2014,
891
01:07:31.395 --> 01:07:32.755
this PhD
892
01:07:32.755 --> 01:07:38.675
came out with his thesis that basically says, we can visualize all of this with a cube.
893
01:07:40.035 --> 01:07:40.675
And
894
01:07:41.075 --> 01:07:43.475
so we have to trace back like,
895
01:07:43.635 --> 01:07:44.195
basically,
896
01:07:45.260 --> 01:07:48.300
we they were studying binary quadratic forms,
897
01:07:48.540 --> 01:07:49.900
which is like a special
898
01:07:50.300 --> 01:07:51.260
polynomial,
899
01:07:51.260 --> 01:07:53.180
like a homogeneous polynomial.
900
01:07:53.740 --> 01:07:54.380
And
901
01:07:55.099 --> 01:07:58.460
people found out that I think they found an isomorphism
902
01:07:58.460 --> 01:07:58.940
between
903
01:07:59.385 --> 01:08:04.025
binary quadratic forms and the class group. And the class group
904
01:08:04.345 --> 01:08:05.305
measures
905
01:08:05.305 --> 01:08:07.625
when unique factorization fails,
906
01:08:07.945 --> 01:08:09.945
which was created because
907
01:08:11.545 --> 01:08:11.945
studying,
908
01:08:12.660 --> 01:08:18.340
like, integer rings of quadratic fields, people found out that the golden rule of
909
01:08:18.500 --> 01:08:19.860
you can break every
910
01:08:20.020 --> 01:08:26.195
prime number down into smaller no. You can break every big number down smaller pieces uniquely.
911
01:08:26.195 --> 01:08:30.835
That actually breaks when you get, like, more advanced. You add, like, square roots in there.
912
01:08:31.395 --> 01:08:38.195
And for us, by the way, without We have to figure out, like, why did this fail? Why does unique factorization fail?
913
01:08:38.675 --> 01:08:39.155
And
914
01:08:39.920 --> 01:08:44.639
how far away is it from actually being a unique factorization domain?
915
01:08:44.960 --> 01:08:47.360
So, yeah, we talked about here for us.
916
01:08:47.840 --> 01:08:50.800
Without unique factorization, you don't have a finite field.
917
01:08:51.199 --> 01:08:58.375
And you can't trace back, like, what the number's origins are if there's, like, two or more different ways to break it down.
918
01:09:00.695 --> 01:09:01.815
So interesting.
919
01:09:01.815 --> 01:09:05.095
So you're gonna get to do that. And then as a template, you're gonna
920
01:09:06.375 --> 01:09:13.750
you're gonna prove you're gonna do this proof, and that's gonna be another potential discovery. Like, you know, that's I think that
921
01:09:16.230 --> 01:09:22.710
I think it's just as significant. When you when you go ahead and prove that the, points in the elliptic curve form a group,
922
01:09:23.190 --> 01:09:24.710
it's gonna be just as significant
923
01:09:25.245 --> 01:09:25.965
as
924
01:09:27.324 --> 01:09:28.364
tracing
925
01:09:29.725 --> 01:09:31.644
Tracing back, like, what does like,
926
01:09:32.844 --> 01:09:34.284
what is the actual study?
927
01:09:34.764 --> 01:09:36.445
What are we actually visualizing?
928
01:09:38.740 --> 01:09:47.540
Yes. And that's why also I stress math history a lot. I think you wanna understand the biographies of Gauss and Euler and all of these guys
929
01:09:47.780 --> 01:09:52.740
because you're now doing you're one of these people right now, and you don't have a good sense for that.
930
01:09:54.195 --> 01:10:01.475
Yeah. I think it's good to have these figures who, again, like, they they were just genuinely curious and wanted to solve these problems.
931
01:10:02.755 --> 01:10:05.074
Awesome. And they, like, went above and beyond
932
01:10:05.315 --> 01:10:07.475
and contributed to, like, every field.
933
01:10:11.800 --> 01:10:13.239
Nice. Anything else?
934
01:10:15.908 --> 01:10:16.549
No.
935
01:10:16.948 --> 01:10:18.948
Not that on my end. Alright.
936
01:10:19.669 --> 01:10:24.149
Magic Internet Math Elliptic Curves study guide is in the books.