kewa07
Newbie
Offline
Activity: 7
Merit: 5
|
|
July 17, 2023, 11:22:03 AM |
|
tell me, is it possible to use bitcrack for Ethereum?
|
|
|
|
nc50lc
Legendary
Online
Activity: 2464
Merit: 5744
Self-proclaimed Genius
|
|
July 17, 2023, 12:16:49 PM |
|
tell me, is it possible to use bitcrack for Ethereum? No. It's mainly developed for the puzzle transaction which is Bitcoin-exclusive. Example: Result: [Error] Invalid address '0x0123' What's your goal anyways, depending on it, I may know an alternative that'll work in Ethereum.
|
|
|
|
neirobobi
Newbie
Offline
Activity: 8
Merit: 0
|
|
July 18, 2023, 09:20:30 AM |
|
tell me, is it possible to use bitcrack for Ethereum? you need AltCrack
|
|
|
|
neirobobi
Newbie
Offline
Activity: 8
Merit: 0
|
|
July 18, 2023, 09:38:53 AM |
|
Hey people! I'm using BitCrack/AltCrack to find 66, but it only searches consecutively through 1 or some other number. Tell me if there is a program that can search for 66 puzzles by sorting through all the range options by mask.
for example this mask (decimal): XXXXXX123456XXXXXXXX
Now I have to run Altcrack 368,935 times consecutively to check the range for this mask, but this is very long. Is there any other way?
|
|
|
|
kewa07
Newbie
Offline
Activity: 7
Merit: 5
|
|
July 18, 2023, 10:46:05 AM |
|
tell me, is it possible to use bitcrack for Ethereum? you need AltCrack does it work with ethereum? you need hash160, and the ether address is created differently
|
|
|
|
NotATether
Legendary
Offline
Activity: 1652
Merit: 6922
In memory of o_e_l_e_o
|
|
July 18, 2023, 12:03:10 PM |
|
tell me, is it possible to use bitcrack for Ethereum? you need AltCrack does it work with ethereum? you need hash160, and the ether address is created differently No, it does not. ETH addresses take the Keccak (often mistaken for SHA-3 - they are NOT the same!) hash of the SHA-256 hash of the public key, they don't use hash160 at all. Hey people! I'm using BitCrack/AltCrack to find 66, but it only searches consecutively through 1 or some other number. Tell me if there is a program that can search for 66 puzzles by sorting through all the range options by mask.
for example this mask (decimal): XXXXXX123456XXXXXXXX
Now I have to run Altcrack 368,935 times consecutively to check the range for this mask, but this is very long. Is there any other way?
Altcrack is for finding the private keys of Bitcoin-like addresses such as Namecoin, Litecoin, Doge, Dash etc. Frankly, you will be spending more time programming the calculation of the version bytes and stuff like that with Altcrack, so unless it has a massive speed optimization, it's better to just stick with Bitcrack.
|
. .BLACKJACK ♠ FUN. | | | ███▄██████ ██████████████▀ ████████████ █████████████████ ████████████████▄▄ ░█████████████▀░▀▀ ██████████████████ ░██████████████ █████████████████▄ ░██████████████▀ ████████████ ███████████████░██ ██████████ | | CRYPTO CASINO & SPORTS BETTING | | │ | | │ | ▄▄███████▄▄ ▄███████████████▄ ███████████████████ █████████████████████ ███████████████████████ █████████████████████████ █████████████████████████ █████████████████████████ ███████████████████████ █████████████████████ ███████████████████ ▀███████████████▀ ███████████████████ | | .
|
|
|
|
nomachine
Member
Offline
Activity: 315
Merit: 16
|
|
July 22, 2023, 12:48:24 PM |
|
I wonder if keys were generated by some deterministic wallet first, and then truncated to N bits. Because in that case, it could be possible to recover the master key, and then sweep coins from all of them, while it would not mean that ECDSA is broken (because HD keys could be non-hardened).
Interesting puzzle, I checked for patterns between binary values, decimal values, floor values. Just cant find anything I updated an excel sheet puzzle bitcoin.xlsx with allot more data of each puzzle. Like decimal, binary, floor, and allot more data per puzzle. Even multipliers of the data to the next puzzle. Since this range is just so huge, I think a random generator would maybe work best to try and find the needle. I attached below my python script trying the next puzzle randomly if someone might benefit to https://github.com/negate7o4/Bitcoin-PuzzleOn my rig, I7 if I run 5 X instances, it checks about 11 500 possibilities per second per thread, but eats 80% cpu. So the code chews threw 16.5 Mil random possibilities per day If you want to try a different puzzle, just change these values in the script : address = '1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF' start_key = '0000000000000000000000000000000000000000000000040000000000000000' stop_key = '000000000000000000000000000000000000000000000007ffffffffffffffff' Also take note of the cpu threads the code uses, update according to your threads. Their is also a text file in my repository of the correct pip's you need to install for the code to work We can utilize multiprocessing instead of threading. Multiprocessing allows us to take advantage of multiple CPU cores and achieve better parallelism. Also, we can optimize the search_for_key function by reducing unnecessary calculations within the loop. There is a potential bottleneck that can be accelerated. The bottleneck lies in the line where a random integer is generated using os.urandom(32). We can generate a batch of random numbers in advance and use these numbers in the search_for_key function instead of generating a new random number for each iteration. import os import multiprocessing as mp from gmpy2 import mpz, powmod from bitcoinlib.encoding import addr_to_pubkeyhash, to_hexstring from bitcoinlib.keys import HDKey from ecdsa import SigningKey, SECP256k1
def save_key_to_file(private_hex: str): with open(f"{private_hex}.txt", "w") as f: f.write(private_hex)
def generate_random_numbers(num_numbers): return [os.urandom(32) for _ in range(num_numbers)]
def search_for_key(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers): for i in range(attempts_per_process): current_key_int = mpz(powmod(int.from_bytes(random_numbers[i], 'big'), 1, stop_key_int - start_key_int)) + start_key_int ecdsa_private_key = SigningKey.from_secret_exponent(int(current_key_int), curve=SECP256k1) key = HDKey(key=ecdsa_private_key.to_string())
if key.address() == target_address: save_key_to_file(key.private_hex) print(f"Private key found: {key.private_hex}") return key return None
def search_in_range(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers): process_start_key_int = mpz(powmod(int.from_bytes(random_numbers[0], 'big'), 1, stop_key_int - start_key_int)) + start_key_int process_stop_key_int = (process_start_key_int + attempts_per_process) % stop_key_int search_for_key(process_start_key_int, process_stop_key_int, target_address, attempts_per_process, random_numbers)
if __name__ == "__main__": address = '1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF'
start_key = '0000000000000000000000000000000000000000000000040000000000000000' stop_key = '000000000000000000000000000000000000000000000007ffffffffffffffff' start_key_int = mpz(start_key, 16) stop_key_int = mpz(stop_key, 16)
attempts_per_process = 2000000 num_processes = 8
random_numbers = generate_random_numbers(attempts_per_process * num_processes)
processes = [] for _ in range(num_processes): process = mp.Process(target=search_in_range, args=(start_key_int, stop_key_int, address, attempts_per_process, random_numbers)) processes.append(process) process.start()
for process in processes: process.join()
print(f"Private key not found in the given range after {num_processes * attempts_per_process} attempts.")
But no matter how you turn it and perfect it, it takes a couple of million years to reach the result.
|
|
|
|
ripemdhash
Member
Offline
Activity: 77
Merit: 19
|
why u use external library ?
it is your bottleneck.
you are comparing addres with address.
it means : additional you do:
Sha256 + sha256 for checksum.
?
better: get target and change for decode base58 , delete 8 bytes (checksum)
and it is your target.
now :
get new public_key -> perform sha256 + ripemd and check it is your target.
now it is 3 or 4 times faster
|
|
|
|
digaran
Copper Member
Hero Member
Offline
Activity: 1330
Merit: 899
🖤😏
|
|
July 22, 2023, 05:47:00 PM |
|
why u use external library ?
it is your bottleneck.
you are comparing addres with address.
it means : additional you do:
Sha256 + sha256 for checksum.
?
better: get target and change for decode base58 , delete 8 bytes (checksum)
and it is your target.
now :
get new public_key -> perform sha256 + ripemd and check it is your target.
now it is 3 or 4 times faster
Are you telling this based on the code, I mean did you check the code? If the code does the double hash for each key then you are right.
|
🖤😏
|
|
|
ripemdhash
Member
Offline
Activity: 77
Merit: 19
|
|
July 22, 2023, 06:45:55 PM |
|
my answer was to nomachine his code: mport os import multiprocessing as mp from gmpy2 import mpz, powmod from bitcoinlib.encoding import addr_to_pubkeyhash, to_hexstring from bitcoinlib.keys import HDKey from ecdsa import SigningKey, SECP256k1
def save_key_to_file(private_hex: str): with open(f"{private_hex}.txt", "w") as f: f.write(private_hex)
def generate_random_numbers(num_numbers): return [os.urandom(32) for _ in range(num_numbers)]
def search_for_key(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers): for i in range(attempts_per_process): current_key_int = mpz(powmod(int.from_bytes(random_numbers[i], 'big'), 1, stop_key_int - start_key_int)) + start_key_int ecdsa_private_key = SigningKey.from_secret_exponent(int(current_key_int), curve=SECP256k1) key = HDKey(key=ecdsa_private_key.to_string())
if key.address() == target_address: save_key_to_file(key.private_hex) print(f"Private key found: {key.private_hex}") return key return None
def search_in_range(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers): process_start_key_int = mpz(powmod(int.from_bytes(random_numbers[0], 'big'), 1, stop_key_int - start_key_int)) + start_key_int process_stop_key_int = (process_start_key_int + attempts_per_process) % stop_key_int search_for_key(process_start_key_int, process_stop_key_int, target_address, attempts_per_process, random_numbers)
if __name__ == "__main__": address = '1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF'
start_key = '0000000000000000000000000000000000000000000000040000000000000000' stop_key = '000000000000000000000000000000000000000000000007ffffffffffffffff' start_key_int = mpz(start_key, 16) stop_key_int = mpz(stop_key, 16)
attempts_per_process = 2000000 num_processes = 8
random_numbers = generate_random_numbers(attempts_per_process * num_processes)
processes = [] for _ in range(num_processes): process = mp.Process(target=search_in_range, args=(start_key_int, stop_key_int, address, attempts_per_process, random_numbers)) processes.append(process) process.start()
for process in processes: process.join()
print(f"Private key not found in the given range after {num_processes * attempts_per_process} attempts.")
he import : from bitcoinlib.encoding import addr_to_pubkeyhash, to_hexstring from bitcoinlib.keys import HDKey from ecdsa import SigningKey, SECP256k1
and he calculate: def search_for_key(start_key_int, stop_key_int, target_address, attempts_per_process, random_numbers): for i in range(attempts_per_process): current_key_int = mpz(powmod(int.from_bytes(random_numbers[i], 'big'), 1, stop_key_int - start_key_int)) + start_key_int ecdsa_private_key = SigningKey.from_secret_exponent(int(current_key_int), curve=SECP256k1) key = HDKey(key=ecdsa_private_key.to_string())
if key.address() == target_address: save_key_to_file(key.private_hex) print(f"Private key found: {key.private_hex}") return key return None
so first: he calculate : ecdsa_private_key = SigningKey.from_secret_exponent(int(current_key_int), curve=SECP256k1) key = HDKey(key=ecdsa_private_key.to_string())
if key.address() == target_address:
which taking time.
|
|
|
|
tgfx
Newbie
Offline
Activity: 4
Merit: 0
|
|
August 03, 2023, 01:19:28 PM |
|
Hello everyone, I recently purchased a video card, I want to try the search. Tell me, what other alternatives are there ButCrack on CUDA cores?
|
|
|
|
COBRAS
Member
Offline
Activity: 888
Merit: 22
|
|
August 09, 2023, 08:00:11 PM |
|
Hello guy's
What computer need for generate numbers in range 2^60 - 2^64 ?
How long time this work get ?
PC with 100 cores will generate this numbers in not more then one week ?
Br
|
[
|
|
|
JamiePoc
Newbie
Offline
Activity: 6
Merit: 4
|
|
August 20, 2023, 06:55:02 PM Last edit: August 21, 2023, 09:46:49 PM by JamiePoc Merited by ABCbits (2), nc50lc (1) |
|
So after hours I finally got Bitcrack2 to compile with CUDA and up and running on my new PC i7-13700K 3.4 GHz 16 core running a Zotac RTX 4090. BTW to build Bitcrack2 the instructions said you require Microsoft Visual Studio Community 2019, I also had to install 2017 due to a 3rd party file referencing the 2017 runtime, anyway.
For anyone interested here are some of the Bitcrack settings I played with and the respective stats running on the RTX 4090.
All use the following config, note the X drive is a Samsung Evo SSD containing nothing but Bitcrack2 and it's respective files.
X:\BitCrack.exe --continue X:\save.txt --in X:\ImportAddresses.txt --out X:\keysfound.txt --keyspace 300000000000000000:36FFFFFFFFFFFFFFF -b xx -t xx -p xx
The file "X:\ImportAddresses.txt" contains the single address for comp 66 13zb1hQbWVsc2S7ZTZnP2G4undNNpdh5so
- b 256 -t 512 -p 2048 (Crashed)
- b 128 -t 512 -p 3072 (Crashed)
- b 128 -t 512 -p 2048 = 3,407 MKeys/s @ 435Watts = 7.8 Mkeys/s per watt
- b 128 -t 256 -p 2048 = 3,333 MKeys/s @ 447Watts = 7.4 Mkeys/s per watt
- b 96 -t 512 -p 2048 = 3,000 MKeys/s @ 445Watts = 6.7 Mkeys/s per watt
- b 96 -t 512 -p 1024 = 2,915 MKeys/s @ 444Watts = 6.5 Mkeys/s per watt
- b 96 -t 265 -p 1024 = 2,900 MKeys/s @ 435Watts = 6.6 Mkeys/s per watt
- b 96 -t 128 -p 1024 = 2,354 MKeys/s @ 458Watts = 5.1 Mkeys/s per watt
- b 64 -t 512 -p 2048 = 2,500 MKeys/s @ 378Watts = 6.6 Mkeys/s per watt
- b 64 -t 256 -p 2048 = 2,300 MKeys/s @ 357Watts = 6.4 Mkeys/s per watt
- b 64 -t 128 -p 1024 = 1,605 MKeys/s @ 278Watts = 5.7 Mkeys/s per watt (Fans don't cut in)
- b 64 -t 128 -p 512 = 1,610 MKeys/s @ 267Watts = 6.0 Mkeys/s per watt (Fans don't cut in)
In comparison to my other rig running a Xeon Hex core 3.46Ghz plus a GTX 970 - GTX 970 = b 64 -t 128 -p 512 = 150 MKeys/s (Flat out, it run warm and was the best I could ever get out of it.)
So the RTX 4090 running flat out is just over 22.6 times faster than my old GTX 970 which is crazy, what would have taken 22.6 years to scan will now take 1 year however in reality I don't think the RTX 4090 could last a year at those temperatures, it literally heated up the room more than my central heating system does. If anyone else is running the RTX 4090 it would be interesting to compare Mkeys/s [/list][/list]
|
|
|
|
GR Sasa
Member
Offline
Activity: 179
Merit: 14
|
|
August 21, 2023, 07:54:20 AM |
|
What was the peak temperature that your 4090 reached using bitcrack?
|
|
|
|
JamiePoc
Newbie
Offline
Activity: 6
Merit: 4
|
|
August 21, 2023, 04:45:24 PM Last edit: August 23, 2023, 10:08:52 AM by JamiePoc |
|
79 Degrees at 99%
Edit:
The above was "off the shelf" settings.
Using the fan curve feature in MSI Afterburner I set the GPU fan speed curve to max the GPU fans out @ 70 degrees.
With this new temp curve in place I can maintain a temperature of 70 degrees (+/- 2) while @ 3,400 Mkeys/s but the card alone is consuming about 435Watt
2nd Edit
After removing the glass side from my PC case leaving the chassis open with a small external fan blowing into the case the card runs @ 3,422 Mkeys/s while maintaining 60 degrees (+/- 1).
The manufacturers documentation for my case states the case should be closed to maintain correct air flow however all temperature readings on the system suggest otherwise, the entire system is running much cooler, the GPU 20 degrees less on average.
So the FINAL answer to the original question is
The Zotac RTX 4090 running Bitcrack2 can process 3,422 Mkeys/s while maintaining 60 degrees with a fan speed floating between 65 to 68%.
|
|
|
|
GR Sasa
Member
Offline
Activity: 179
Merit: 14
|
|
August 21, 2023, 08:38:40 PM |
|
My 2080 once reached 88 Celsius. I don't think 79 was that bad lol, but both are hot definitely!
|
|
|
|
coolindark
Legendary
Offline
Activity: 959
Merit: 1037
|
|
August 31, 2023, 11:48:32 AM |
|
That will be nothing wrong until you reach and use with 90c all the time. Also, the main problem is not the GPU temprature; it is VRM. Do not trust 60 degrees. Check your VRM temps. 79 Degrees at 99%
Edit:
The above was "off the shelf" settings.
Using the fan curve feature in MSI Afterburner I set the GPU fan speed curve to max the GPU fans out @ 70 degrees.
With this new temp curve in place I can maintain a temperature of 70 degrees (+/- 2) while @ 3,400 Mkeys/s but the card alone is consuming about 435Watt
2nd Edit
After removing the glass side from my PC case leaving the chassis open with a small external fan blowing into the case the card runs @ 3,422 Mkeys/s while maintaining 60 degrees (+/- 1).
The manufacturers documentation for my case states the case should be closed to maintain correct air flow however all temperature readings on the system suggest otherwise, the entire system is running much cooler, the GPU 20 degrees less on average.
So the FINAL answer to the original question is
The Zotac RTX 4090 running Bitcrack2 can process 3,422 Mkeys/s while maintaining 60 degrees with a fan speed floating between 65 to 68%.
|
ʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔ ʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔʕ•̫͡•ʕ*̫͡*ʕ•͓͡•ʔ-̫͡-ʕ•̫͡•ʔ*̫͡*ʔ-̫͡-ʔ
|
|
|
digaran
Copper Member
Hero Member
Offline
Activity: 1330
Merit: 899
🖤😏
|
|
September 08, 2023, 01:26:09 AM |
|
This paper talks about something about using prime number spirals to break private key cryptography.
Not cool to post a suspicious link to some unknown blog, you should highlight the important parts and post them instead. But something tells me, if who ever wrote that paper knew how to crack private keys, he wouldn't publish it.😉
|
🖤😏
|
|
|
COBRAS
Member
Offline
Activity: 888
Merit: 22
|
|
September 26, 2023, 08:05:08 AM |
|
Hello
how many time will take search 2000 ranges in 55 bit ?
Thank You
|
[
|
|
|
digaran
Copper Member
Hero Member
Offline
Activity: 1330
Merit: 899
🖤😏
|
|
September 26, 2023, 10:36:24 AM |
|
Hello
how many time will take search 2000 ranges in 55 bit ?
Thank You
You mean dividing 2^55 by 2000 ranges? Well in that case it would take exactly the same as searching 2^55, total range, if your ranges have specific size, then you should tell us their size or just multiply your range by 2000 and then divide the result by your speed per second, the answer would be seconds taking to search your range. Then divide 60 to get minutes, again divide by 60 to get hours, then divide by 24 to get days, /365 to get years etc, but you already knew that right?
|
🖤😏
|
|
|
|