secp256k1 Parameter Forensics: Findings & Handoff
​
Nov 9, 2026
 · 
​
@[researcher]
Summary
One non-chance coincidence survived: secp256k1's generator is G = 2·G′, where x(G′) has only 166 of 256 bits (odds about 2⁻⁹⁰ by chance). Everything else we tested was either explained by the parameter templates or consistent with chance.
• Survived: the structured G′, and its shape x′ = 59·2¹⁶⁰ + t (a 160-bit block with 6 bits above it).
• Proven, not assumed: p and n are prime (ECPP certificates), #E = n, cofactor 1, no small embedding degree, not anomalous.
• Ruled out: the 0x03 compressed-prefix reading, the 0x3b byte shared with secp160k1's Gx, and hidden meaning in p256 mod p160.
• Security impact: none found. A structured G′ only renames the base of a single-generator group, and no reinterpretation into other fields preserves the group law.

Non-chance findings
The point ½·G on secp256k1 has an x-coordinate about 90 bits shorter than expected, and no other small rational multiple of G does.

x(G′) = x(½·G) = 0x3b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63   (166 bits)
y(G′)          = 0xc0c686408d517dfd67c2367651380d00d126e4229631fd03f8ff35eef1a61e3c
2·G′ = G  ✓
Scan
Range
Result
G/m
m = 2 … 20,000
Only m = 2 is short (166 bits); all others ≥ 240 bits
G′ + j·G
j ≤ 15,000
No structure
G′ − j·G
j ≤ 3,000
Only −G′ (same x, expected)
G′/2, G′/4 (= G/4, G/8)
—
256 and 253 bits, random
β·x′, β²·x′, ±y (six-point orbit of G′)
—
Only x′ itself is short
secp160k1 G/m
m = 2 … 20,000
Nothing; its G was not made the same way
Reading: the designer picked a point by its coordinate and published its double as G. The structure exists at exactly one point, which is the point that was chosen.
Sub-structure of x′: x′ = 59·2¹⁶⁰ + t, with t = 0x78ce563f89a0ed9414f5aa28ad0d96d6795f9c63 filling a 160-bit slot. 160 bits matches SHA-1 output; this is a hypothesis, not a finding.
In its own field the structure disappears. Over q = nextprime-on-curve(x′), x′ and its relatives are ordinary full-size elements (G/2 there is 165 of 166 bits).

Verified facts
secp256k1's group is proven prime-order, so every non-identity point (G, G′, every public key) has order exactly n.
Property
Result
How
p prime
Yes
ECPP certificate (PARI primecert)
n prime
Yes
ECPP certificate
#E = n, cofactor 1
Yes
SEA point count (ellcard); also n·G = O plus Hasse bound with 2n > p + 1 + 2√p
Anomalous (n = p)
No
Direct comparison
Small embedding degree (MOV)
None for k ≤ 10,000
pᵏ mod n
Trace t
0x14551231950b75fc4402da1722fc9baef (129 bits)
t = p + 1 − n
Order of G′
n
n·G′ = O
n's leading run of f's is forced by Hasse (|t| ≤ 2√p) and p's near-power-of-two form, not chosen.

The reinterpret trick
Take a coordinate from one field, read it as an integer, and place it on the same equation y² = x³ + 7 over a different prime field. This always gives a valid point in a new, independent group.
1. Take x′ = x(G′) as an integer.
2. Choose a prime q where x′³ + 7 is a square mod q. About half of all primes qualify (49,686 of 99,996 up to 1.3M), excluding the singular characteristics 2, 3 and 7.
3. Solve for y over F_q to get a point G_q.
Toy field used here: q = 0x3b78ce563f89a0ed9414f5aa28ad0d96d6795f9e17 = x′ + 436, the first prime above x′ that works.
Toy group property
Value
q mod 12
7 (same as secp256k1 and secp160k1 p)
#E(F_q)
0x3b78ce563f89a0ed9414f2b423c66d6ee04004d88f
Factorization
223 × 0x4445cde02434617ef12b904e392414034d33ae51 (159-bit prime, ECPP-certified)
Cofactor
223
Order of G_q
Full group (223 · n_q)
Generic DLP cost
about 2⁷⁹·⁵
Strength across nearby fields varies widely. Over the first 20 qualifying primes above x′, the largest prime subgroup ranged from 47 bits (~2²³·⁵) to 163 bits (~2⁸¹·⁵). This holds for any integer x, not just x′.
What transfers: x-coordinates of multiples, as exact rationals. x(k·P) = φ_k(x)/ψ_k(x)² (division polynomials), and that one rational reduces correctly into every field.
What does not transfer: the group law. Reusing coordinates as a map failed 36 of 36 addition tests and failed on a single doubling. Lagrange's theorem rules out any non-trivial homomorphism between a group of prime order n and one whose order isn't a multiple of n.

Ruled-out coincidences
Each of these looked like a link at first and was explained by chance or by the parameter templates.
Lead
Test
Result
x(G′) starts 0x3b; secp160k1 Gx also starts 0x3b
Byte comparison
One shared byte (~1/256). Rest differs in 75 of 168 bits, about what random strings give
0x3 in x′ is a SEC1 compressed prefix (03)
Byte alignment; 20-byte remainder as secp160k1 x
First byte is 0x3b, not 0x03. Nibble-shifted remainder is not a valid secp160k1 x; no match to k·G or G/m
−G on secp160k1 compresses with 03
Compare 03‖3b4c… to 3b78…
Alignment differs; only 0x3b in common
p256 mod p160 = 0x10000538cfffffffffffffffefffffc2f
Exact derivation
Equals (2³² + 21389)·2⁹⁶ − 2³² − 977: both primes' constants, forced by the shared 2ᵏ − 2³² − c form
Prime factors of that remainder as fields
Curve y² = x³ + 7 over each
3⁵ and 7 are the curve's singular primes; 57-bit factor gives a supersingular smooth-order curve hosting x′; 62-bit factor does not host x′. None connects to secp256k1
One item remains unexplained: why the remainder is divisible by 3⁵ and 7, the curve's bad primes. Chance is about 1/243 for 3⁵; it may follow from the prime forms.

Fable results (round 1)
All four SECG Koblitz curves built their generator the same way: x(G/2) shares one 156-bit core C, and secp224k1's x(G/2) is exactly x′. Verified independently.
C = 0x8ce563f89a0ed9414f5aa28ad0d96d6795f9c63 (low 156 bits of x′)
Curve
b
x(G/2)
Form
secp160k1
7
0x48ce563f89a0ed9414f5aa28ad0d96d6795f9c62
0x4·2¹⁵⁶ + C − 1
secp192k1
3
0x554123b78ce563f89a0ed9414f5aa28ad0d96d6795f9c66
0x554123b7·2¹⁵⁶ + C + 3
secp224k1
5
0x3b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
0x3b7·2¹⁵⁶ + C
secp256k1
7
0x3b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
0x3b7·2¹⁵⁶ + C
• Deliberate, origin unknown: the shared core, prefixes 0x4 / 0x3b7 / 0x554123b7, and offsets −1 / +3 / 0 / 0. Simple first-valid-x rules (up or down from a base) are falsified.
• Our earlier secp160k1 miss: its x(G/2) is 159 bits, so a shortness test could not see it.
• NIST P-192/224/256/384: no structure in G/m for m ≤ 5,000.
• Seed search: 2.37M digests (MD5, SHA-1, SHA-2, RIPEMD-160, double hashes) over 263,655 seeds; zero hits on any 64-bit window of x′ or its siblings.
• 3⁵·7 in p256 mod p160: factor 3 is forced (p ≡ 1 mod 3 on both); 3⁵ is chance (~0.07 across pairs); 7 follows from all four k-curve primes being ≡ 1 mod 7, which is itself unexplained (corrected p ≈ 0.01–0.03).
• Template: for k = 192, 224, 256 the published c is the first qualifying prime; for k = 160, four earlier candidates were skipped (all ≢ 1 mod 7). secp224k1 uses b = 5 where b = 2 gives the same prime order.
• Toy field vs controls: x′'s reinterpreted fields are statistically indistinguishable from random 166-bit integers (Mann–Whitney |z| ≤ 1.3).
Scripts: scratchpad/fable/ (t1_scan.py, t1c_core.py, t23_congr.py, t3c_cands.py, t4_stats.py, t5_seed.py).

The H hypothesis: a secret linearizer
Working assumption: a backdoor would be an efficient map ψ with ψ(k·G) = k·ψ(G) into a group where logs are easy, so k = ψ(Q)/ψ(G). Every known kind of ψ is either public and ruled out for secp256k1, or cannot hide in a prime field.
Kind of ψ
Status for secp256k1
Isogeny to a weak curve (Teske-style)
Prime-field weaknesses depend on n, t and embedding degree, which isogenies preserve. Teske's trapdoor relies on Weil descent, which needs a binary extension field.
Pairing (MOV / Frey–Rück)
Needs small embedding degree; none for k ≤ 10,000
p-adic log (Smart)
Needs #E = p; #E = n ≠ p
Degenerate curve (cusp maps to (F_p, +))
Only at the singular primes 2, 3, 7
Unknown non-algebraic ψ
Depends only on the group, not on G; would be a public break of all such curves, not a designer secret
Consequences:
• G cannot be ψ's fingerprint: any log trapdoor relative to G is a trapdoor for every generator.
• A designer-specific ψ must live in (p, b), the most rigid parameters (first qualifying c, b = 7).
• Trapdoors need unexplained freedom. The remaining unexplained choices are p ≡ 1 mod 7 on all four k-curves, the four skipped 160-bit candidates, and b = 5 (not 2) on secp224k1.
Visual: the "Finite fields" tab of the Shapes of y² = x³ + 7 page shows the same points scattered by coordinates, and on a clean winding line when placed by k. The second picture is exactly what ψ would compute.

Probe p ≡ 1 mod 7. Check whether p ≡ 1 mod 7 relates to any linearizer: the curve's behavior at 7 (where y² = x³ + 7 is singular), 7-torsion of the twists, the 7th cyclotomic field, or the four skipped 160-bit candidates. Compare against a null model of random template primes.

Test the skipped candidates. For c = 3929, 16919, 18293, 20309 at k = 160, record why each was skipped (p mod 7, smallest b, twist orders) and whether any design rule consistent with all four k-curves explains it.

secp224k1 b = 5 vs 2. Compare the two curves (orders, twist orders, x(G/2) structure) to find what rule picked b = 5.

Handoff tasks for Fable
Scope: where the parameters came from, and number-theoretic coincidences. Every claimed coincidence needs a stated null model and the number of patterns searched (look-elsewhere correction). Out of scope: invalid-curve and twist attack tooling.

SECG and NIST family halving scan. Run the G/m scan (m ≤ 20,000) and the G′ ± j·G scan on secp192k1, secp224k1, P-192, P-224, P-256, P-384. Report any point with x or y more than 15 bits short.

Seed search for x′. Test whether t (low 160 bits) or x′ matches SHA-1 or SHA-256 of plausible seeds: SECG and Certicom strings, curve names, the 2ᵏ − 2³² − c constants, and secp160k1/secp192k1 parameters.

Explain the 3⁵ · 7 divisibility. Determine whether p256 mod p160 ≡ 0 mod 3⁵·7 follows from p ≡ 7 mod 12 and the template forms, or is chance.

Prime decomposition in reinterpreted fields. For the first N qualifying primes q above x′, record q mod small primes, the factorization of #E(F_q), the trace, and the class of the curve (ordinary vs supersingular). Compare against a control set using random 166-bit x. The question: does x′ behave differently from a random integer?

Template congruences. For secp160k1/192k1/224k1/256k1, tabulate p, n, t mod 2–100 and gcds of p−1 and n−1 across the family. Flag any shared structure not implied by the design criteria (p ≡ 1 mod 3, p ≡ 3 mod 4, n prime).

Rational height growth. Measure the bit size of x(2ᵏ·G′) as an exact rational for k ≤ 6 to quantify the lift blowup (an 8-doubling run did not finish in 4 minutes).
Open questions:
• What 160-bit value, if any, underlies x′?
• Was secp256k1's G made by a different method than secp160k1's?

Reproduction
All results came from pure-Python affine arithmetic plus PARI/GP (via cypari2, stack raised to 2 GB for ECPP).

# secp256k1
p  = 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f   # 2^256 - 2^32 - 977
n  = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141
Gx = 0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
Gy = 0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8
x' = 0x3b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63                         # x(G/2)

# secp160k1 (y^2 = x^3 + 7)
p  = 0xfffffffffffffffffffffffffffffffeffffac73                         # 2^160 - 2^32 - 21389
n  = 0x0100000000000000000001b8fa16dfab9aca16b6b3
Gx = 0x3b4c382ce37aa192a4019e763036f4f5dd4d7ebb
Gy = 0x938cf935318fdced6bc28286531733c3f03c4fee

# toy field
q   = 0x3b78ce563f89a0ed9414f5aa28ad0d96d6795f9e17                    # x' + 436
#E  = 0x3b78ce563f89a0ed9414f2b423c66d6ee04004d88f                    # 223 * n_q
n_q = 0x4445cde02434617ef12b904e392414034d33ae51
Key PARI calls: primecert / primecertisvalid (proofs), ellcard (point counts), ellordinate (lift x to a point), ellorder, ellmul, factor. A cube root of unity mod p is pow(g, (p-1)/3, p) for any g giving a value ≠ 1.

Exhibits: interactive demonstrations
Two published pages, built from live computation (all keys recovered and verified, not mocked).
Shapes of y² = x³ + 7 — the curve seen as geometry: the complex torus with the winding orbit and six-fold symmetry; the two sheets over ℂ with branch points and the real curve as a slice; the whole curve rotating through 4D (ℝ⁴); and the reductions mod small primes, including a toggle that snaps the scattered F_p points onto a clean winding line once each point's k is known (what a secret linearizer would compute).
Three ways a key falls — the same discrete log on three same-size curves, plus the FFT view:
Panel
Curve
Shortcut
Result (toy size)
Secure
y²=x³+7 / F_1000003, prime order 999,007
none; BSGS must walk
1,644 ops
Backdoor
same field, b=1, order 2²·3·7·109²
Pohlig–Hellman (CRT)
118 ops
One step
y²=x³+4x+2 / F_1031, anomalous (#E = p)
Smart's p-adic log
1 p-multiply
Torus as I/Q + Shor. Reading k·G as a complex sample: on the torus the multiples are a pure tone (FFT spike at the key frequency, zero sidelobes); over F_p they are broadband noise (tallest bin only 1.0× the next). Classically the tone can't be formed over F_p without already walking the group. A quantum computer forms all samples in superposition and runs the FFT as the QFT: a 2-D transform of f(a,b) = a·G − b·Q peaked at (1, 656) and read off d = 437 on the toy curve. That is Shor's algorithm, and it is why secp256k1 — classically ~2¹²⁸ — still needs a post-quantum successor.
All three classical weaknesses live in the order n (set by p and b); the generator G never enters. Smart (anomalous) implemented via projective p-multiplication over Z/p^K and a formal-parameter ratio; verified against the known key. Scripts: scratchpad/smart_demo (smart_demo.json), scratchpad/fft_demo.json, scratchpad/dlp_demo.json, and the page sources attacks.html, curve-shapes.html.
