1 2017-06-01 06:36:30 <SopaXorzTaker> hey guys!
2 2017-06-01 06:36:45 <SopaXorzTaker> still playing with ECDSA, need a complete toy curve
3 2017-06-01 06:37:01 <SopaXorzTaker> maybe 10 bits or so
4 2017-06-01 06:37:09 <SopaXorzTaker> I'd stick with 9 though
5 2017-06-01 07:24:03 <SopaXorzTaker> arubi, I generated it!
6 2017-06-01 07:24:17 <SopaXorzTaker> Let me introduce the new elliptic curve which I called Kurwa9
7 2017-06-01 07:24:39 <SopaXorzTaker> y^2 = x^3 + 7
8 2017-06-01 07:24:42 <SopaXorzTaker> p = 967
9 2017-06-01 07:24:45 <SopaXorzTaker> n = 907
10 2017-06-01 07:24:54 <SopaXorzTaker> G = (0x3c4, 0x24e)
11 2017-06-01 07:25:21 <SopaXorzTaker> s/Kurwa9/Kurwa10/g
12 2017-06-01 14:06:33 <arubi> nice SopaXorzTaker :)
13 2017-06-01 14:11:12 <instagibbs> SopaXorzTaker, lol at name.
14 2017-06-01 15:15:55 <arubi> there's something weird about that curve, that the number 5E * G == (333, 32) (base 16), but the "negative" point doesn't exist. 5E % 907 == 5E :)
15 2017-06-01 15:16:31 <arubi> (I was guessing that 'n' and 'p' are in base 10 above ^ )
16 2017-06-01 15:17:17 <arubi> so actually 5E == 5E % 38B
17 2017-06-01 15:17:52 <arubi> ohh sorry, the 5E = % is wrong
18 2017-06-01 15:18:25 <arubi> obviously. it's 32D, and /that/ doesn't generate a valid point on the curve
19 2017-06-01 15:19:39 <arubi> it should have a Y value of 395, weird how I can't multiply..
20 2017-06-01 15:21:54 <poutine> Seems really silly to me that you need reindex=1 when doing txindex=1 even if you've never previously ran bitcoind, is this intentional behavior for some reason? I haven't done this recently, but I remember starting a bitcoind after rebooting and having to wait for the chain to sync again
21 2017-06-01 15:23:45 <arubi> I always start testnet\regtest nodes with txindex=1, but never reindex=1
22 2017-06-01 15:25:29 <arubi> (I mean new runs from scratch, only needed txindex=1 thus far)
23 2017-06-01 17:35:34 <arubi> so SopaXorzTaker , are you able to get a point by multiplying the generator by 0x32D ? on my end, the last addition is between (14C, 178) and (36A, 24F), but I can't add these two points because: 24F = 178 % p
24 2017-06-01 17:35:56 <arubi> err, 24F = -178 % p
25 2017-06-01 18:38:14 <arubi> so really what's going on is that 0x200 and 0x18B give the same point, if multiplied by G
26 2017-06-01 18:38:59 <arubi> err no
27 2017-06-01 18:39:30 <arubi> 0x12D and 0x18B have the same y coordinate
28 2017-06-01 18:40:35 <arubi> and eventually we get 0x200 + 0x12D, and that cancels the y coordinate
29 2017-06-01 18:43:22 <arubi> 12D * G = (14C, 178), 200 * G = (36A, 24F). I try to add these two points, but can't because y becomes zero. I also can't do 32D * G for the same reasons.
30 2017-06-01 18:44:33 <arubi> SopaXorzTaker, how do you pick p ? :)
31 2017-06-01 18:49:47 <arubi> also, if you care, I get 0x8E for beta and 0x180 for lambda :)
32 2017-06-01 18:56:16 <SopaXorzTaker> arubi, brute force
33 2017-06-01 18:56:32 <SopaXorzTaker> Can you generate Kurwa8 for me, lol?
34 2017-06-01 18:56:40 <SopaXorzTaker> I need a basic basic 8-bit elliptic curve
35 2017-06-01 18:57:12 <arubi> not yet, I have all the tools but never got around to generating one. there's an example with a small curve on wiki
36 2017-06-01 18:57:57 <arubi> like, really small : https://en.wikipedia.org/wiki/Counting_points_on_elliptic_curves#Example