YODL on Nostr: That's a lot of reading, and it only specifies that two are _recommended_ (will look ...
That's a lot of reading, and it only specifies that two are _recommended_ (will look it over more though, as seems interesting). ChatGPT informs me there are close to 2^512 of them (see attached gpt detail output if you're interested), but I think it's wrong in that it only considered counting for a single choice of p; there are several (many?) candidates for primes yielding 256-bit curves I would think. Anyway... TLDR, many many exist out there, and I guess many considerations go into choosing one.
You always have to wonder though, in a world with so many choices, why we end up with the ones we do... Recently read that it's an argument for choosing as many "nice" properties a curve could have (e.g. ED25519 has additional nice properties, allegedly), because requiring that would make it harder for a bad actor to pick a curve they have a backdoor to.
Sorry for rant
>>>>>>>>>>>>>>>>>>> GPT output >>>>>>>>>>>>>>>>>>>
The number of distinct 256-bit elliptic curves depends on the specific parameters and the field over which the curve is defined. For a prime field of size p, which is approximately 2^{256} for a 256-bit curve, the number of distinct elliptic curves is roughly the number of pairs (a, b) that satisfy the curve equation y^2 = x^3 + ax + b over that field, with the condition that 4a^3 + 27b^2 \neq 0 to avoid singularities.
Since a and b can each take any value in the field F_p, and the field has p elements, the total number of pairs (a, b) is p^2. Excluding the pairs that make the curve singular removes a negligible fraction, so the number of distinct curves is approximately p^2, which is about 2^{512} distinct curves.
So, the number of distinct 256-bit elliptic curves is on the order of 2^{512}, which is an astronomically large number.
Published at
2025-05-08 22:05:19Event JSON
{
"id": "effb6c690094e11938f8450ee5bb6d123c3905fc1b4099a8d192cf7d24f9ae93",
"pubkey": "d28413712171c33e117d4bd0930ac05b2c51b30eb3021ef8d4f1233f02c90a2b",
"created_at": 1746741919,
"kind": 1,
"tags": [
[
"client",
"Damus Notedeck"
],
[
"e",
"89904a6f142cbb2cea8a093f9da96905b6deeb9ba817fd965041c2f21f327f0d",
"",
"root"
],
[
"e",
"212a1529374e1a1d4b4f2687601b0453ebfa17bb9c1c046e11b0aaa4b344f5bf",
"",
"reply"
],
[
"p",
"0f28196ced1024be7ceb3d7b194337bf8f21e7ad0a8be803b1ec0a7c52e926de"
],
[
"p",
"d28413712171c33e117d4bd0930ac05b2c51b30eb3021ef8d4f1233f02c90a2b"
]
],
"content": "That's a lot of reading, and it only specifies that two are _recommended_ (will look it over more though, as seems interesting). ChatGPT informs me there are close to 2^512 of them (see attached gpt detail output if you're interested), but I think it's wrong in that it only considered counting for a single choice of p; there are several (many?) candidates for primes yielding 256-bit curves I would think. Anyway... TLDR, many many exist out there, and I guess many considerations go into choosing one. \n\nYou always have to wonder though, in a world with so many choices, why we end up with the ones we do... Recently read that it's an argument for choosing as many \"nice\" properties a curve could have (e.g. ED25519 has additional nice properties, allegedly), because requiring that would make it harder for a bad actor to pick a curve they have a backdoor to. \n\nSorry for rant\n\n\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e GPT output \u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\u003e\nThe number of distinct 256-bit elliptic curves depends on the specific parameters and the field over which the curve is defined. For a prime field of size p, which is approximately 2^{256} for a 256-bit curve, the number of distinct elliptic curves is roughly the number of pairs (a, b) that satisfy the curve equation y^2 = x^3 + ax + b over that field, with the condition that 4a^3 + 27b^2 \\neq 0 to avoid singularities.\n\nSince a and b can each take any value in the field F_p, and the field has p elements, the total number of pairs (a, b) is p^2. Excluding the pairs that make the curve singular removes a negligible fraction, so the number of distinct curves is approximately p^2, which is about 2^{512} distinct curves.\n\nSo, the number of distinct 256-bit elliptic curves is on the order of 2^{512}, which is an astronomically large number.",
"sig": "21be05fddd8f7083e4dcc053f7c9e02e4e389c5763ae73235a5654579e657df355f3a800ad6723aa20743ac0e4bbc61db6176df9006d4fe7d22466d7e5eb2e12"
}