|
June 08, 2021, 09:09:40 PM Merited by NotATether (2) |
|
There cannot be integer arithmetic for secp256k1 curve, since it has no solutions in integer or rational numbers. The integer solutions of any elliptic curve are limited number, usually quite low one. There is no upper bound of that number, since you could multiply the coordinates and d by very very large numbers, thus removing denominators.
There are isomorphic curves, in which you could go with rational numbers, curves in the form of y2 = x3 + d, which can be obtained by multiplying by t: (y*t3)2 = (x*t2)3 + 7*t6. The smallest positive integer d for curve of rank 1 is 12, the smallest in absolute value is -2. Of course the coordinates grow very very big, very very fast. As an exercise you could find out (x,y) mod p coordinates for d=12 by moving the point to (x*t2, y*t3), t=1806032470229063221237645096224748984265920240071041634471134158090974399836, one of the six possible values for sixthroot(12/7) mod p. Then the smallest x numerator of rational coordinate producing it has maximum number of bits ~2512, y numerator ~2768, and both have a denominator in the form of z2 for x, and z3 for y, z having max ~2256 bits.
If you use y2 = x3 + 12, with generator (-2,2) then you'd get the following coordinates: 1: (-2 2) 2: (13 -47) 3: (-74/225 11674/3375) 5: (14932678/8994001 109819305542/26973008999) 11: (261861850180472271248849532094782118/4756672475309420795224474860473521 -134005914121975045481665034854476269198005341316588858/328061202989677115836137338038693498061075340702569)
|