-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generation in ranges #6
Comments
If you want to generate private keys within a specific range, you can modify the custom_private_key_generator function to accept a range parameter and use that range to extract a subset of bytes from the random number generator pool. Here's an example modification:
Now, you can call custom_private_key_generator with a range parameter, for example:
|
please tell me in which column to write this code? If it’s not difficult, write down the finished code, indicate the link, I’ll upload it myself. and also, in the previous discussion, they said that key generation takes place in a few days, key generation is in a countdown, what’s the problem? that is, -1,636,737,993 decreases |
In this example, generate_random_string creates a random private key, and extract_key_range extracts a specific range of bytes from that key based on the specified key range. However, Bitcoin private keys are typically generated randomly, and their values are not chosen based on numerical order or ranges.
Example usagegenerated_string = generate_random_string() key_range = (16, 32) # Example key range Output:Generated Key: cd8dd143c43d55c0dda546a3a13664a562f9a61e3ce7c33d801ec38ce2d24328 |
Thanks for the update, is it possible to choose your own seed of time you want to search like say 13/1/13 13.45 and does it need converting to epoch time? Thanks |
Yes for your example this generates all 60 private keys, 1 for each second for the time: Date: January 13, 2013
Output: ... |
Nice work that does generate the keys but is it possible you can choose the epoch time to start at and then search sequentially from there? Thanks really enjoy your script! |
I could not get. Gives an error message. Can you please send me the finished script by email? I will be very grateful 🙏🏻 |
Unfortunately, after two days it again generates a countdown. |
Thank you for such a project. The question is, is it possible to change it so that you can search for keys by ranges, for example, specify 65-66
The text was updated successfully, but these errors were encountered: