80 points futurecat 2 hours ago 23 comments
rootsudo 1 hour ago | parent
"secp256k1, Satoshi Nakamoto, and the NSA backdoors I chose to plot secp256k1 because this elliptic curve is even more curious than the others.
Almost everybody used the officially recommended curve, P-256. One of its constants comes from a seed that the NSA supplied without explanation, and cryptographers had questioned that in public since 1999. In 2007, two Microsoft researchers showed that another NIST standard built on elliptic curves could hide an NSA backdoor.
Two years later, Satoshi Nakamoto picked secp256k1, a curve almost nobody used, with no unexplained constant in it.
They never said that this was the reason. Asked about it in 2011, they wrote: "I didn't find anything to recommend a curve type so I just... picked one.""
gruez 1 hour ago | parent
For people who actually care about the plot, you can't actually plot it because part of what makes the curve work for cryptography is that it's unpredictable. You can plot it for real numbers, but that wouldn't be representative of how it's actually used, and if you plot the field instead, you'd get a bunch of random dots:
https://bitcoin.stackexchange.com/questions/21907/what-does-...
rustyhancock 1 hour ago | parent
I was prepared for him to say this is what the curve looks like over the reals (mod p) but I have no idea what this is.
futurecat 58 minutes ago | parent
As for the methodology, please read the original paper at https://elliptic-curves.art/
This is what I directed Claude to implement.
e28eta 43 minutes ago | parent
I believe the rebuttal to your stack exchange link is the paper that OP links to: https://arxiv.org/abs/2505.09627
Unfortunately, that paper doesn’t actually explain how they’re generated, finishing with:
> A Gallery of Elliptic Curves over Finite Fields
> At this point in the story, our training as mathematicians compels us to explain precisely how we’re using Galois theory to make our pictures, and how we know our method always works. We will answer these questions in a later work, and for now, content ourselves with sharing the end result of our labor: new illustrations of elliptic curves over finite fields, living inside the ghost of the complex elliptic curve that once gave birth to it.
cowlevel 37 minutes ago | parent
tptacek 1 hour ago | parent
ZiiS 58 minutes ago | parent
gopalv 35 minutes ago | parent
Even if it was a random choice, secp256k1 was built for 64 bit & P-256 was made for a 32 bit world.
32 bit numbers feels off, when a register can fit two of them.
Purely at the word boundary positions, you can see that the carry entropy for secp256k1 is way higher than P-256 had.
SV_BubbleTime 17 minutes ago | parent
I’m in embedded. A register is 32bits wide. What are you talking about? Excuse me for a moment while I stuff my 8bit demons back under the floorboards where they belong.
leodavi 1 hour ago | parent
I like the visual representations, and the way they make me feel, a lot.
futurecat 1 hour ago | parent
cowlevel 39 minutes ago | parent
hturan 29 minutes ago | parent
I was also taken by Hajouji and Trettel's work (https://elliptic-curves.art) when it came out last year, and ended up creating a pair of sterling silver pins from it (without the spheres for finite representation) — https://storage.hturan.com/site/elliptic-spirals/1.1761.b5df....
Took a little work (models weren't great back then) and a few trips down rabbit holes exploring Hopf tori, but I ended up using Python in Grasshopper/Rhino for the implementation.
futurecat 27 minutes ago | parent