Pages:
Author

Topic: BitCrack - A tool for brute-forcing private keys - page 4. (Read 76804 times)

copper member
Activity: 1330
Merit: 899
🖤😏
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?
member
Activity: 873
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
Hello

how many time will take search 2000 ranges in 55 bit ?

Thank You
copper member
Activity: 1330
Merit: 899
🖤😏
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.😉
legendary
Activity: 959
Merit: 1037
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%.
member
Activity: 194
Merit: 14
My 2080 once reached 88 Celsius.

I don't think 79 was that bad lol,

but both are hot definitely! Wink
newbie
Activity: 7
Merit: 4
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%.
member
Activity: 194
Merit: 14
What was the peak temperature that your 4090 reached using bitcrack?
newbie
Activity: 7
Merit: 4
      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)  Undecided
    • b 128 -t 512 -p 3072 (Crashed)  Undecided
    • b 128 -t 512 -p 2048 = 3,407 MKeys/s @ 435Watts = 7.8 Mkeys/s per watt  Smiley
    • 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]
    member
    Activity: 873
    Merit: 22
    $$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
    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
    newbie
    Activity: 4
    Merit: 0
    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?
    member
    Activity: 77
    Merit: 19
    my answer was to nomachine

    his code:

    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 :
    Code:
    from bitcoinlib.encoding import addr_to_pubkeyhash, to_hexstring
    from bitcoinlib.keys import HDKey
    from ecdsa import SigningKey, SECP256k1


    and he calculate:

    Code:
    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 :


    Code:
    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.    Smiley

     
    copper member
    Activity: 1330
    Merit: 899
    🖤😏
    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.
    member
    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
    member
    Activity: 462
    Merit: 24
    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-Puzzle

    On 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.
    Code:
    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.

    legendary
    Activity: 1568
    Merit: 6660
    bitcoincleanup.com / bitmixlist.org
    tell me, is it possible to use bitcrack for Ethereum? Huh

    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.
    newbie
    Activity: 7
    Merit: 5
    tell me, is it possible to use bitcrack for Ethereum? Huh

    you need AltCrack


    does it work with ethereum? you need hash160, and the ether address is created differently
    newbie
    Activity: 11
    Merit: 0
    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?
    newbie
    Activity: 11
    Merit: 0
    tell me, is it possible to use bitcrack for Ethereum? Huh

    you need AltCrack
    legendary
    Activity: 2534
    Merit: 6080
    Self-proclaimed Genius
    tell me, is it possible to use bitcrack for Ethereum? Huh
    No.
    It's mainly developed for the puzzle transaction which is Bitcoin-exclusive.
    Example:
    Code:
    clbitcrack 0x0123
    Result:
    Code:
    [Error] Invalid address '0x0123'

    What's your goal anyways, depending on it, I may know an alternative that'll work in Ethereum.
    newbie
    Activity: 7
    Merit: 5
    tell me, is it possible to use bitcrack for Ethereum? Huh
    Pages:
    Jump to: