Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: brainless on February 08, 2023, 07:46:14 PM



Title: elliptic curve division
Post by: brainless on February 08, 2023, 07:46:14 PM
lets play new idea

dec 1 (1)
pubkey 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798

dec -1 (FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364140)
pubkey 0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798

both pubkey half

0200000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
0300000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63

both pubkey half

02a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c
03a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c

both pubkey half

0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247
0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247

now Question
example when pubkey 02 is odd, 03 same x will be even

and last you see both same pubkey return even or odd, but one direction only....

but alternate if you 0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247 * 2
result 02a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c

03a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c div 2
result 0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247

so finally we learn, 02/03 same x have odd and even , they is no option 2 different pubkeys direction have 1 return point

share your knowledge ....


Title: Re: elliptic curve division
Post by: digaran on February 08, 2023, 09:21:54 PM
You just multiplied and divided the same values which will always return as same, 1 and -1, do you think you could play my game now? What is the smallest public key and largest public key? And could we somehow organize them alpha numerically? That way you'll have a map to the entire public key database and then represent them with decimal even hexadecimal values. Mind blowing I know, maybe your username could be used as a reference to me.🤣

lets play new idea

dec 1 (1)
pubkey 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798

dec -1 (FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364140)
pubkey 0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798

both pubkey half

0200000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
0300000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63

both pubkey half

02a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c
03a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c

both pubkey half

0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247
0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247

now Question
example when pubkey 02 is odd, 03 same x will be even

and last you see both same pubkey return even or odd, but one direction only....

but alternate if you 0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247 * 2
result 02a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c

03a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c div 2
result 0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247

so finally we learn, 02/03 same x have odd and even , they is no option 2 different pubkeys direction have 1 return point

share your knowledge ....
   


Title: Re: elliptic curve division
Post by: ecdsa123 on February 08, 2023, 09:36:22 PM


it is bulshit:)

Code:

i 1 023b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
i 1 033b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
i 2 02a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c
i 2 03a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c
[b]i 3 0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247
i 3 0316f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247[/b]
i 4 03f978b7a80b10554c847ef8b259857af1cd5060fe394894f17a5cd815f896d363
i 4 02f978b7a80b10554c847ef8b259857af1cd5060fe394894f17a5cd815f896d363
i 5 03bb2228d3ea32cb3c1eb160cc824a4ba8115f9a7f415d18ddcaac8193defc2c47
i 5 02bb2228d3ea32cb3c1eb160cc824a4ba8115f9a7f415d18ddcaac8193defc2c47
i 6 03f4f5086c4adf5d72f97848e135ebea1f7c3231ad2827e12b61b38a0ab54af9d3
i 6 02f4f5086c4adf5d72f97848e135ebea1f7c3231ad2827e12b61b38a0ab54af9d3
i 7 02581cdc82c4083d47fdc8d9e449da2ee08358a4cc5927efb647b5919c11cbc185
i 7 03581cdc82c4083d47fdc8d9e449da2ee08358a4cc5927efb647b5919c11cbc185
i 8 03802a89939c1392055b33d5f68e5e805dc8f4b5c0c08904583d11db64f67ff32e
i 8 02802a89939c1392055b33d5f68e5e805dc8f4b5c0c08904583d11db64f67ff32e
i 9 038e06cd1765c2e5c1346f27090ee0b395289632bcc046e062785c0ba98983f87c
i 9 028e06cd1765c2e5c1346f27090ee0b395289632bcc046e062785c0ba98983f87c


Title: Re: elliptic curve division
Post by: digaran on February 08, 2023, 10:25:07 PM

it is bulshit:)
...snip...
Are you talking to me or to OP? It is worth mentioning that you can't use tags inside the code tag. e.g. ["b"].
Could you also clarify what is BS?


Title: Re: elliptic curve division
Post by: COBRAS on February 09, 2023, 12:13:36 AM
02 03 is Y odd even, not X etc etc bull shit

sibstract is same as divide, and without float


Title: Re: elliptic curve division
Post by: ymgve2 on February 09, 2023, 03:03:19 AM
ecdsa123's point is you did the math wrong, one will always be 02 and one will always be 03, when you get two equals you messed up the math.


Title: Re: elliptic curve division
Post by: brainless on February 09, 2023, 03:45:30 PM
here is dec math for pubkeys when div 2 at dec levels

1
115792089237316195423570985008687907852837564279074904382605163141518161494336
0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798

half
57896044618658097711785492504343953926418782139537452191302581570759080747169
57896044618658097711785492504343953926418782139537452191302581570759080747168
0200000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
0300000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63

half
86844066927987146567678238756515930889628173209306178286953872356138621120753
28948022309329048855892746252171976963209391069768726095651290785379540373584
02a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c
03a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c

half
101318078082651670995624611882601919371232868744190541334779517748828391307545
14474011154664524427946373126085988481604695534884363047825645392689770186792
0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247
0316f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247

------------

when half these in add/sub/mul scripts for elliptic curve division useing fastecdsa python modul

02a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c
03a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c
results are
0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247
0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247

actual should be 0216... and 0316...



Title: Re: elliptic curve division
Post by: COBRAS on February 09, 2023, 05:33:58 PM
just this


0200000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
0300000000000000000000003b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63

possible can be used


Title: Re: elliptic curve division
Post by: brainless on February 09, 2023, 06:01:14 PM
tested all version of fastecdsa
were doubt if sub bug inside fastecdsa, but all ver says save 0216... 0216...

someone have other python or c scripts for div, can test and verify

as i mention math formula for div EC, at decimal result is different


Title: Re: elliptic curve division
Post by: hexan123 on February 11, 2023, 11:10:12 PM
i'm check this dividing with bitaddress.org and always one is even and one is odd uncopressed:
1/8 is: 0416F9A89D6DA61F39BDBD7AA1D99D6C4FE7D35C91AE777DF739678098DCDF2247C673D580E0A09 32D00BD9DDE2B44A738A240E3D5386EF35903E7A4E9886D522C
-1/8 is: 0416F9A89D6DA61F39BDBD7AA1D99D6C4FE7D35C91AE777DF739678098DCDF2247398C2A7F1F5F6 CD2FF426221D4BB58C75DBF1C2AC7910CA6FC185B157792AA03
ps.hi to all i'm new (special regards to COBRAS my english is worst than yours and i'm more would like break bitcoin than you :) )


Title: Re: elliptic curve division
Post by: WanderingPhilospher on February 12, 2023, 01:53:24 AM
tested all version of fastecdsa
were doubt if sub bug inside fastecdsa, but all ver says save 0216... 0216...

someone have other python or c scripts for div, can test and verify

as i mention math formula for div EC, at decimal result is different


I ran test, I get same answer as below using two different programs (other than fastecdsa):

Code:

ecctools-main>keymath 03a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c / 2
Result: 0316f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247


ecctools-main>keymath 02a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c / 2
Result: 0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247



Title: Re: elliptic curve division
Post by: brainless on February 12, 2023, 06:27:47 PM
tested all version of fastecdsa
were doubt if sub bug inside fastecdsa, but all ver says save 0216... 0216...

someone have other python or c scripts for div, can test and verify

as i mention math formula for div EC, at decimal result is different


I ran test, I get same answer as below using two different programs (other than fastecdsa):

Code:

ecctools-main>keymath 03a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c / 2
Result: 0316f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247


ecctools-main>keymath 02a6b594b38fb3e77c6edf78161fade2041f4e09fd8497db776e546c41567feb3c / 2
Result: 0216f9a89d6da61f39bdbd7aa1d99d6c4fe7d35c91ae777df739678098dcdf2247


yes i tested ecctools and python ecdsa lib and some other lib, and found mistakes in my scripts useing fastecds lib in python

i think this thread is useless, pls advice to MOD for delete this or archive it, for save others time to read and test uselss topic