Title: Generation of priv/pub in given range.. Post by: MikeJ_NpC on July 22, 2021, 06:07:46 AM Hey guys i know to some this is "easy" but i merely want to get it correct. Can someone assist with this perhaps?
I need to generate pubkey/privkey only ... i dont need address i dont need balances etc... only those 2 results to a given range which is below. Also to save the results into 100GB files.. If someone wants lunch i dont mind sending a tip for helping.. the purpose is for a correlation study... Start of range: 04000000005ef4a74721e864761ea977768e5f518bb6891be80000000000000000 End of range: 0400000002fe7f16c00762b915532410f81fa9220d30e5f8a6c38751c7c58df5d4 i can run this on multi-gpu or cpu doesn't matter to me .. just want to get it over with as i have had some disappointments hence why i am requesting for some help on the matter. As i said dont need the other stuff.. just as stated above. py might be too slow.. im not sure.. Thank you Kind Regards.. Title: Re: Generation of priv/pub in given range.. Post by: Minase on July 22, 2021, 06:34:26 AM First of, what you posted are public keys ranges (at least they look like this, even if they start with 04 and contain only the "X" value). They are 66 chars long.
And second.... even if i remove the 04 from the beginning the difference is bigger than 2^225 which translates to = not enough time/space to generate/store all those points, not even with a mini farm. //edit Even with a speed of 1.000.000.000.000 keys/s you will still need 1709788601417468277185883757421336293355983284027 YEARS to complete this task. Title: Re: Generation of priv/pub in given range.. Post by: odolvlobo on July 22, 2021, 07:00:10 AM I need to generate pubkey/privkey only ... i dont need address i dont need balances etc... only those 2 results to a given range which is below. Also to save the results into 100GB files.. If someone wants lunch i dont mind sending a tip for helping.. the purpose is for a correlation study... Start of range: 04000000005ef4a74721e864761ea977768e5f518bb6891be80000000000000000 End of range: 0400000002fe7f16c00762b915532410f81fa9220d30e5f8a6c38751c7c58df5d4 It's not clear what you are looking for. Do you want the private keys of all public keys in that range or just one? If you want only one, it should be easy to do. If you want all, then you will find that it is infeasible just because of the number of keys in that range. Title: Re: Generation of priv/pub in given range.. Post by: TheArchaeologist on July 22, 2021, 09:51:30 AM It's not clear what you are looking for. Do you want the private keys of all public keys in that range or just one? If you want only one, it should be easy to do. If you want all, then you will find that it is infeasible just because of the number of keys in that range. Since OP states he want the results saved in 100GB files he clearly means all pirvate/public keys in range.Title: Re: Generation of priv/pub in given range.. Post by: ABCbits on July 22, 2021, 10:20:03 AM Assuming you actually mean range of private key, here's a dumb Python script created by myself which generate compressed public key and using all CPU cores.
Code: from fastecdsa import keys, curve I tried it with Python 3.8 and fastecdsa 2.1.5, here's the result Code: 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 Title: Re: Generation of priv/pub in given range.. Post by: Sterbens on July 22, 2021, 07:47:05 PM i can run this on multi-gpu or cpu doesn't matter to me .. just want to get it over with as i have had some disappointments hence why i am requesting for some help on the matter. As i said dont need the other stuff.. just as stated above. if using Multi GPU you are trying to use there may be some like using Split/Tile method or by using alternative Frame method. That is if you keep a sizable workload. As for I would suggest you better use the Alternative method, because this can simplify the work and will also be practical in every step you go through. But again, to finish everything from scratch, you'll have a hard time if you don't have the other elements. https://i.gyazo.com/0de1825d4bcb21cb4b2b6e7963c696d9.png As an example of a fairly simple Multi GPU configuration, namely GIGABYTE GV-N970WF2OC-2GD + GIGABYTE GV-XXXXXXX-2XD then proceed with several additional configurations, namely GIGABYTE GV-R449G1 GA-4GD + GIGABYTE GV-R4545GX. Title: Re: Generation of priv/pub in given range.. Post by: NotATether on July 23, 2021, 11:02:16 AM Since OP states he want the results saved in 100GB files he clearly means all pirvate/public keys in range. Here's the thing about getting all pubkeys in a range. We still don't know whether he wants the X part or the Y part (or both) in the specified range. If *most* keys in the range is sufficient, we could optimize the run time by inspecting only those pubkeys that are also a multiple or 2 or 4 or 8... depending on granularity required. Obviously the algorithm will be different depending on which parts of pubkey should be in range. Edit: spelling fudge Title: Re: Generation of priv/pub in given range.. Post by: MikeJ_NpC on July 23, 2021, 02:45:02 PM Hey guys sorry about my delay on posting,.. wife is sick...
Well to clarify, i only need keys pub/priv with-in the start and end points. A 1:1 output meaning all of them within that segment. I tested a few other things out and i think in PY its going to be way too slow.. granted it wasnt on the 192cpu.. i do know someone with 400gpu so i could have him run it i think thats a maybe... other than that most i can do is 8x to 16x gpu.. Well the premise is however you want to arrange it is fine with me as long as the output is " pivkey_hex/pubkey_hex " for the points in-between start and end range Im not expecting something for free as everyone needs to eat and takes time so.. if there is something that works im all ears. Title: Re: Generation of priv/pub in given range.. Post by: WanderingPhilospher on July 23, 2021, 04:50:26 PM Hey guys sorry about my delay on posting,.. wife is sick... Can you clarify the range? The range you posted in OP, doesn't really make sense.Well to clarify, i only need keys pub/priv with-in the start and end points. A 1:1 output meaning all of them within that segment. I tested a few other things out and i think in PY its going to be way too slow.. granted it wasnt on the 192cpu.. i do know someone with 400gpu so i could have him run it i think thats a maybe... other than that most i can do is 8x to 16x gpu.. Well the premise is however you want to arrange it is fine with me as long as the output is " pivkey_hex/pubkey_hex " for the points in-between start and end range Im not expecting something for free as everyone needs to eat and takes time so.. if there is something that works im all ears. Title: Re: Generation of priv/pub in given range.. Post by: BitcoinADAB on July 23, 2021, 07:13:23 PM Hey guys i know to some this is "easy" but i merely want to get it correct. Can someone assist with this perhaps? ... Start of range: 04000000005ef4a74721e864761ea977768e5f518bb6891be80000000000000000 End of range: 0400000002fe7f16c00762b915532410f81fa9220d30e5f8a6c38751c7c58df5d4 ... If you need it for this... Hey all, Im just wondering if there is a list of all wallets which are Satoshi Nakamoto related? ... Perhaps from block 0 to 32688 ?.... Would help for a project im doing, ... havent been able to find any list so figured i would ask here .... Thank you! Kind Regards it is impossible: https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FMnBkXUo.jpg&t=627&c=re9oA9y8iKpp7g Title: Re: Generation of priv/pub in given range.. Post by: WanderingPhilospher on July 23, 2021, 08:22:28 PM I already have a program that would do this, but would need to know the specific range you wanted in order to code it in and show you a test run.
Just know, printing to a file, slows even GPUs down to a snails pace. I'll have to rerun it again to see what speeds it gets. Title: Re: Generation of priv/pub in given range.. Post by: MikeJ_NpC on July 24, 2021, 01:38:57 PM Well to clarify, i only need keys pub/priv with-in the start and end points. Now we know you need both private and public key, but you haven't clarify what kind of range you're talking about. Are you talking about range of private key or range of public key? Just know, printing to a file, slows even GPUs down to a snails pace. I'll have to rerun it again to see what speeds it gets. Just wondering, are you talking about writing priv/pub pair as soon as it's generated (random write) or big batch of priv/pub pair (sequential write)? i had said at the start i need the pub/priv key and wanted to look at correlations with in that range... in hex ... lol.. dont know else i should say it :) Also its not even close to the entire key space , if its easier to do it by even integers then okay ... just would like to be able to generate something to base things on ... Title: Re: Generation of priv/pub in given range.. Post by: MikeJ_NpC on July 24, 2021, 01:41:57 PM I already have a program that would do this, but would need to know the specific range you wanted in order to code it in and show you a test run. Just know, printing to a file, slows even GPUs down to a snails pace. I'll have to rerun it again to see what speeds it gets. I need to record the data somehow.. saving it off is the only way... or should it be written to sql for instance? the range is noted in the 1st post.. that is the range i want to segment and pull.. in 200gb files.. whatever works, just again only need the start / end range and covering pub/priv keys. no compression no address no bal .. just the data in hex... do not need wif either. Title: Re: Generation of priv/pub in given range.. Post by: MikeJ_NpC on July 24, 2021, 01:43:54 PM IF someone already has this stuff comprised ... i dont mind tipping for it.. saves me the headache anyways. ;D ;)
Title: Re: Generation of priv/pub in given range.. Post by: MikeJ_NpC on July 24, 2021, 03:17:59 PM Thanks but doesn't support / work with long hex apparently
Assuming you actually mean range of private key, here's a dumb Python script created by myself which generate compressed public key and using all CPU cores. Code: from fastecdsa import keys, curve I tried it with Python 3.8 and fastecdsa 2.1.5, here's the result Code: 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 Title: Re: Generation of priv/pub in given range.. Post by: MikeJ_NpC on July 25, 2021, 04:51:02 AM I have to start my dissertation so this inst a complex thing to request; its in multiple utilities.
That being said ill pay 250. I still have to parse the data or if someone has it ill settle for that too. Title: Re: Generation of priv/pub in given range.. Post by: odolvlobo on July 25, 2021, 08:32:33 AM i had said at the start i need the pub/priv key and wanted to look at correlations with in that range... in hex ... lol.. dont know else i should say it :) Also its not even close to the entire key space , if its easier to do it by even integers then okay ... just would like to be able to generate something to base things on ... It appears that you are asking someone to find 2225 key pairs. Not only will it take longer than the age of the universe to generate those pairs, but storing that information in 200 gb files is not possible as 2225 is more than the number of atoms on the entire planet. You prefix the numbers with in the range with 0x04, which indicates an uncompressed public key, but it looks like you are asking for a range of compressed public keys. Actually, it is not even clear if the range applies to the public keys or the private keys. Either way, it doesn't matter because you are asking for 2225 key pairs. Title: Re: Generation of priv/pub in given range.. Post by: PrimeNumber7 on July 25, 2021, 08:02:08 PM Well to clarify, i only need keys pub/priv with-in the start and end points. Now we know you need both private and public key, but you haven't clarify what kind of range you're talking about. Are you talking about range of private key or range of public key? OP, you need to have a shorter range of private keys that you want the associated public keys to. You may also want to choose a different dissertation topic. Title: Re: Generation of priv/pub in given range.. Post by: MikeJ_NpC on July 26, 2021, 06:40:56 AM Well to clarify, i only need keys pub/priv with-in the start and end points. Now we know you need both private and public key, but you haven't clarify what kind of range you're talking about. Are you talking about range of private key or range of public key? OP, you need to have a shorter range of private keys that you want the associated public keys to. You may also want to choose a different dissertation topic. okay well how about a smaller more applicable range then.. its not written in stone... lol . Title: Re: Generation of priv/pub in given range.. Post by: WanderingPhilospher on August 01, 2021, 12:37:55 AM Well to clarify, i only need keys pub/priv with-in the start and end points. Now we know you need both private and public key, but you haven't clarify what kind of range you're talking about. Are you talking about range of private key or range of public key? Just know, printing to a file, slows even GPUs down to a snails pace. I'll have to rerun it again to see what speeds it gets. Just wondering, are you talking about writing priv/pub pair as soon as it's generated (random write) or big batch of priv/pub pair (sequential write)? You could do random as well (in a given range) and then sort to put the pairs in order. Title: Re: Generation of priv/pub in given range.. Post by: WanderingPhilospher on August 01, 2021, 02:21:39 PM Quote the range is noted in the 1st post.. that is the range i want to segment and pull.. in 200gb files.. So start private key range = 4000000005ef4a74721e864761ea977768e5f518bb6891be80000000000000000and end private key range = 400000002fe7f16c00762b915532410f81fa9220d30e5f8a6c38751c7c58df5d4 with output of this: Code: 10A6B1DA05AD8A694BB1E91CE6939FE68EBEB8B781DD90B18FD72950DC56BC4D 4000000005EF4A74721E864761EA977768E5F518BB6891BE8000000000000001 Title: Re: Generation of priv/pub in given range.. Post by: PrimeNumber7 on August 01, 2021, 04:58:46 PM Well to clarify, i only need keys pub/priv with-in the start and end points. Now we know you need both private and public key, but you haven't clarify what kind of range you're talking about. Are you talking about range of private key or range of public key? OP, you need to have a shorter range of private keys that you want the associated public keys to. You may also want to choose a different dissertation topic. okay well how about a smaller more applicable range then.. its not written in stone... lol . There are approximately 2^160 possible bitcoin addresses. There are an estimated approximately 2^63 grains of sand on Earth. The relationship between a private key and a public key is not linear, if you want an explanation regarding the relationship between private keys and public keys, you can watch the video at the bottom of this webpage (https://asecuritysite.com/encryption/bit_keys). I can also assure you that a lot of resources has been devoted into trying to find a way to calculate a private key based on a public key, not only for ecdsa but other encryption methods as well. |