Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Mizogg/Curve-secp256k1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Curve-secp256k1

modular elliptic curve

Total of all the wallets n is the last number. n= 115792089237316195423570985008687907852837564279074904382605163141518161494337 (In Dec)

n = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141 (In HEX)

Half way of n n//2 = 57896044618658097711785492504343953926418782139537452191302581570759080747169

57896044618658097711785492504343953926418782139537452191302581570759080747169 Lenght Bits = 255

So we know half way is 255 Bit so 50% of wallets in 255-256 Bits and the other 50% in 1-255 Bits.

What if we could divide by bits the range all the way to 1 bit? All keys are the modular inverse of the first key start point.

Thanks to Quite the Contrary for teaching me how to do this https://youtu.be/Vlqy1zB-QkE ecdsa secp256k1 algorithm explained.

Try some different start points to understand how the curve consists of all points whose coordinates (x, y).

Start points to check : ('2', '4', '8', '16', '32', '64', '128', '256', '512', '1024', '2048', '4096', '8192', '16384', '32768', '65536', '131072', '262144', '524288', '1048576', '2097152', '4194304', '8388608', '16777216', '33554432', '67108864', '134217728', '268435456', '536870912', '1073741824', '2147483648', '4294967296', '8589934592', '17179869184', '34359738368', '68719476736', '137438953472', '274877906944', '549755813888', '1099511627776', '2199023255552', '4398046511104', '8796093022208', '17592186044416', '35184372088832', '70368744177664', '140737488355328', '281474976710656', '562949953421312', '1125899906842624', '2251799813685248', '4503599627370496', '9007199254740992', '18014398509481984', '36028797018963970', '72057594037927940', '144115188075855870', '288230376151711740', '576460752303423500', '1152921504606847000', '2305843009213694000', '4611686018427388000', '9223372036854776000', '18446744073709552000', '36893488147419103000', '73786976294838210000', '147573952589676410000')

start range Min 1-115679011025170378826477653968640361067825027595208620296294025286887772664753 ->  1
Pick Display 1 Full 2 Less2
(dec)STOP:  115792089237316195423570985008687907852837564279074904382605163141518161494336 Length Bits =  256
(dec)1048576INV:  115791978809374646774550386052594111420430325473719566214552124920956999005246 Length Bits =  256
(dec)524288INV:  115791868381433098125529787096500314988023086668364228046499086700395836516155 Length Bits =  256
(dec)262144INV:  115791647525550000827488589184312722123208609057653551710393010259273511537972 Length Bits =  256
(dec)131072INV:  115791205813783806231406193359937536393579653836232199038180857377028861581606 Length Bits =  256
(dec)65536INV:  115790322390251417039241401711187164934321743393389493693756551612539561668875 Length Bits =  256
(dec)32768INV:  115788555543186638654911818413686422015805922507704083004907940083560961843413 Length Bits =  256
(dec)16384INV:  115785021849057081886252651818684936178774280736333261627210717025603762192488 Length Bits =  256
(dec)8192INV:  115777954460797968348934318628681964504710997193591618871816270909689362890639 Length Bits =  256
(dec)4096INV:  115763819684279741274297652248676021156584430108108333361027378677860564286941 Length Bits =  256
(dec)2048INV:  115735550131243287125024319488664134460331295937141762339449594214202967079545 Length Bits =  256
(dec)1024INV:  115679011025170378826477653968640361067825027595208620296294025286887772664753 Length Bits =  256
(dec)512INV :  115565932813024562229384322928592814282812490911342336209982887432257383835169 Length Bits =  256
(dec)256INV :  115339776388732929035197660848497720712787417543609768037360611722996606176000 Length Bits =  256
(dec)128INV :  114887463540149662646824336688307533572737270808144631692116060304475050857663 Length Bits =  256
(dec)64INV  :  113982837842983129870077688367927159292636977337214359001626957467431940220988 Length Bits =  256
(dec)32INV  :  112173586448650064316584391727166410732436390395353813620648751793345718947639 Length Bits =  256
(dec)16INV  :  108555083659983933209597798445644913612035216511632722858692340445173276400941 Length Bits =  256
(dec)8INV   :  101318078082651670995624611882601919371232868744190541334779517748828391307545 Length Bits =  256
(dec)4INV   :  86844066927987146567678238756515930889628173209306178286953872356138621120753 Length Bits =  256
(dec)HALFINV:  57896044618658097711785492504343953926418782139537452191302581570759080747169 Length Bits =  255
(dec)HALF   :  57896044618658097711785492504343953926418782139537452191302581570759080747168 Length Bits =  255
(dec)4      :  28948022309329048855892746252171976963209391069768726095651290785379540373584 Length Bits =  254
(dec)8      :  14474011154664524427946373126085988481604695534884363047825645392689770186792 Length Bits =  253
(dec)16     :  7237005577332262213973186563042994240802347767442181523912822696344885093396 Length Bits =  252
(dec)32     :  3618502788666131106986593281521497120401173883721090761956411348172442546698 Length Bits =  251
(dec)64     :  1809251394333065553493296640760748560200586941860545380978205674086221273349 Length Bits =  250
(dec)128    :  904625697166532776746648320380374280100293470930272690489102837043110636674 Length Bits =  249
(dec)256    :  452312848583266388373324160190187140050146735465136345244551418521555318337 Length Bits =  248
(dec)512    :  226156424291633194186662080095093570025073367732568172622275709260777659168 Length Bits =  247
(dec)1024   :  113078212145816597093331040047546785012536683866284086311137854630388829584 Length Bits =  246
(dec)2048   :  56539106072908298546665520023773392506268341933142043155568927315194414792 Length Bits =  245
(dec)4096   :  28269553036454149273332760011886696253134170966571021577784463657597207396 Length Bits =  244
(dec)8192   :  14134776518227074636666380005943348126567085483285510788892231828798603698 Length Bits =  243
(dec)16384   :  7067388259113537318333190002971674063283542741642755394446115914399301849 Length Bits =  242
(dec)32768   :  3533694129556768659166595001485837031641771370821377697223057957199650924 Length Bits =  241
(dec)65536   :  1766847064778384329583297500742918515820885685410688848611528978599825462 Length Bits =  240
(dec)131072   :  883423532389192164791648750371459257910442842705344424305764489299912731 Length Bits =  239
(dec)262144   :  441711766194596082395824375185729628955221421352672212152882244649956365 Length Bits =  238
(dec)524288   :  220855883097298041197912187592864814477610710676336106076441122324978182 Length Bits =  237
(dec)1048576   :  110427941548649020598956093796432407238805355338168053038220561162489091 Length Bits =  236
(dec)START  :  1 Length Bits =  1

Full Diplay

Privatekey (dec)k1:  1 Length Bits =  1
Privatekey (hex)k1:  0000000000000000000000000000000000000000000000000000000000000001

k1 X:  55066263022277343669578718895168534326250603453777594175500187360389116729240
k1 Y:  32670510020758816978083085130507043184471273380659243275938904335757337482424
Binary k1:  00000001

Privatekey (dec)k2:  115792089237316195423570985008687907852837564279074904382605163141518161494336 Length Bits =  256
Privatekey (hex)k2:  fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140

k2 X:  55066263022277343669578718895168534326250603453777594175500187360389116729240
k2 Y:  83121579216557378445487899878180864668798711284981320763518679672151497189239
Binary k2:  1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010111010101011101101110011100110101011110100100010100000001110111011111111010010010111101000110011010000001101100100000101000000

Privatekey (dec)k3:  57896044618658097711785492504343953926418782139537452191302581570759080747168 Length Bits =  255
Privatekey (hex)k3:  7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0

k3 X:  86918276961810349294276103416548851884759982251107
k3 Y:  28597260016173315074988046521176122746119865902901063272803125467328307387891
Binary k3:  111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011101010101110110111001110011010101111010010001010000000111011101111111101001001011110100011001101000000110110010000010100000

Privatekey (dec)k3h:  57896044618658097711785492504343953926418782139537452191302581570759080747169 Length Bits =  255
Privatekey (hex)k3h:  7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1

k3h X:  86918276961810349294276103416548851884759982251107
k3 Y:  87194829221142880348582938487511785107150118762739500766654458540580527283772
Binary k3h:  111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011101010101110110111001110011010101111010010001010000000111011101111111101001001011110100011001101000000110110010000010100001

About

Modular elliptic curve

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages