Bitcoin Forum
May 31, 2024, 02:35:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 »
181  Bitcoin / Development & Technical Discussion / Re: Pollard's kangaroo ECDLP solver on: June 14, 2020, 12:47:38 PM
@mrxtraf
In the private key group (mod n) we can add, negate, and invert - this allows for multiplication and division.

In the public key group (elliptic curve mod p of size n) we can add, negate, and double only. This leads to multiplication by a scalar.

One public key corresponds to exactly one private key, and vice versa. The proof is very easy. Let G is the generator of secp256k1. Let P=k*G is a point on the curve. Let also P=k'*G. Then (k-k')*G=O => (k-k') divides n. But n is prime, hence k=k' (mod n).
That is, you can’t divide the public key by 10?
Give me any public key from which you know the private key, I will divide it by 10. And I will give in return the result in the form of a public key. And you yourself divide the private key by 10, get the public key from it and compare.

The multiplication (and division, which is multiplication with the inverse) is by scalar only. You cannot multiply two public keys without solving ECDLP first. And if you somehow can, then all coins are belong to you.
182  Bitcoin / Development & Technical Discussion / Re: Pollard's kangaroo ECDLP solver on: June 14, 2020, 10:37:21 AM
@mrxtraf
In the private key group (mod n) we can add, negate, and invert - this allows for multiplication and division.

In the public key group (elliptic curve mod p of size n) we can add, negate, and double only. This leads to multiplication by a scalar.

One public key corresponds to exactly one private key, and vice versa. The proof is very easy. Let G is the generator of secp256k1. Let P=k*G is a point on the curve. Let also P=k'*G. Then (k-k')*G=O => (k-k') divides n. But n is prime, hence k=k' (mod n).
183  Bitcoin / Development & Technical Discussion / Re: Pollard's kangaroo ECDLP solver on: June 02, 2020, 03:26:32 PM
IMO OpenCL on AMD would work only if written in assembler. I lost the race for #90 because of it. One week of random hard lock-up. And the worst. Wrong computations. Totally unusable. (It might have a chance to work properly with newer hardware, and a specific driver version, but I highly doubt.)

I looked last year at FPGA, and it will be slower than current top-end GPUs, costing much more for the same performance (per chip).

As for an ASIC, if it ever is done, I expect 3x performance per chip price compared to GPU. The performance per watt would be way better, maybe 50x. It might be feasible only after bitcoin price goes above $5M, making new chip costs millions. There's a huge disadvantage - unlike mining chips it would be used only one-two times.
184  Bitcoin / Development & Technical Discussion / Re: Pollard's kangaroo ECDLP solver on: May 26, 2020, 11:51:38 AM
An other things is when you reach ~sqrt(n) jumps, kangaroo starts to walk their neighbor.

Kangaroos should collide at ~sqrt(n)/NumKangaroos jumps. Otherwise something is very wrong.
185  Bitcoin / Development & Technical Discussion / Re: Old version of bitcoin. Bitcoin 0.2 download on: May 22, 2020, 09:56:35 AM
There's a windows build of v0.2.10 from Laszlo Hanyecz (bitcoin pizza).

http://heliacal.net/~solar/bitcoin/builds/Win32-MinGW-SVN-81/
186  Bitcoin / Bitcoin Discussion / Re: There's something Satoshi didn't think of. on: May 18, 2020, 08:25:39 PM
Recently we had our 3rd halving, cutting the bitcoins per block to 6.25

If price goes up, there will be good and bad things too. I think bad things will be more. I don't know what happened in the previous halving but surely due to demand and supply many sold their bitcoins and many miners sold/got rid of their equipment.

Imagine that in some years only ~50 bitcoins will be bornt every day. Miners will not afford mining cost EXCEPT if bitcoin price will rise above 50.000$

Miners collect also fees. Today they collected ~120BTC in fees.
187  Bitcoin / Development & Technical Discussion / Re: Old version of bitcoin. Bitcoin 0.2 download on: May 18, 2020, 08:09:44 PM
Hi,

it is possible to download an old version of bitcoin, as bitcoin 0.2 for windows?

The old download links:


http: // sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.2.0-win32-setup.exe/download

are no longer available.

Thanks!

You could find old versions here: https://satoshi.nakamotoinstitute.org/code/

Very old nodes wouldn't be able to find peers, to connect, to deal with blocks bigger than half megabyte, or finish downloading the blocks in reasonable time.
Versions prior 0.2.9 would not work without changes in p2p protocol.
188  Bitcoin / Development & Technical Discussion / Re: Pollard's kangaroo ECDLP solver on: May 14, 2020, 08:04:50 PM
In order for a collision to happen, one needs at least 1 DP per kangaroo. This is the absolute minimum. In my software (June 26 - July 5, 2019) I was targeting 8 DP/kangaroo at 100% expected jumps. Then my very simple hash table was with max 232 entries, but DPs were limited to 229 entries (IIRC 228 for #95). The whole program was using 48GB for the data - 32GB for DP, 16GB for hash table. For #95 227.79 points were used at 86.55%, for #100 226.97 at 69.1%. All the DPs were written to file, there was no performance difference on the AWS instance (p3.8xlarge). The file was write-only, since I never needed to read from it, software just found the keys.

In my experiments collision was happening between 3 and 12 DP/kangaroo. There was never tame/tame or wild/wild collision, since I used the original Pollard Kangaroo, no wrapping around 0 or other funky stuff - IMO it would make it faster in half of the cases, and way slower in the other half, when it's negative.

I was using 72*512*256 = 32220 kangaroos per GPU. So for #110 if one is using the same number of kangaroos on 128 GPUs, at 8 DP/kangaroo it would be 233.17 DPs, or 576GB for DPs, and maybe 128GB for (a not-so-simple) hash table minimum.

The other thing that would affect performance is the bandwidth in server-GPU communication. With 8 DP/kgr at 100% of expected time, one can calculate the DP/second of each client. For #110, 128 GPUs, and 9 million kangaroos/GPU, 42.18 million jumps/kgr for 100% exp. time, 1600 MJ/s per GPU, 172.6 Jumps/second/kangaroo, about 618 DP/GPU/second are needed, which is 39 KB/s without overhead. For 128 GPUs the total bandwidth without overhead would be 5 MB/s, or 40 Mbit/s.
189  Bitcoin / Development & Technical Discussion / Re: Private Key Restorer on: May 10, 2020, 09:41:29 AM
guys i have Etherium private key was saved in notepad accidently my kids press some alphabet and first 20 digits missing and i have saved it without notic can anyone please help me to recover if its possible

If your key was reused then it's possible to recover it. Then the time complexity is only 240, which is doable in 15 minutes on a V100 GPU.

Reused key means you sent coins from it, and know the public key.
Or if you signed anything and have the signature.
190  Bitcoin / Development & Technical Discussion / Re: Pollard's kangaroo ECDLP solver on: May 07, 2020, 02:37:15 PM
This might be interesting:

https://www.researchgate.net/publication/339319953_Using_Equivalent_Class_to_Solve_Interval_Discrete_Logarithm_Problem

https://link.springer.com/chapter/10.1007%2F978-3-030-41579-2_23

Quote
To accelerate solving IDLP, we first introduce the concept of jumping distance and expanding factor to decide whether to perform the class operation or not. When the value of the expanding factor is greater than a given value, the class operation will be performed, such that each decision on jumps is locally optimal. The improved method takes an average of (1+o(1))√N times of class operation, where N is the size of a given interval.

Looks like this paper is about solving DLP in Z*, not ECDLP. Furthermore the wild and tame jumps differ, which leads to significant memory requirements. Not suitable for GPU as well.
191  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: February 16, 2020, 01:13:12 PM
Sorry for the post off topic ... but can someone develop a tool to solve this?

p = 115792089237316195423570985008687907852837564279074904382605163141518161494337
a = HuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuh?
b = HuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuh?

w = GF(p)

w (((a / b)))
w (((b / a)))

w= 12447032699845648078645791161909514142990644957498005805208944683777961822095
w= 66620152837833785920928131416087065201280002472666144035333386572317622196480


If you can develop any tool that does this ... I will send you 3 BTC

Well, that's easy:
Code:
0 < b < p
a = b * 12447032699845648078645791161909514142990644957498005805208944683777961822095 (mod p)
So, an obvious solution is a=12447032699845648078645791161909514142990644957498005805208944683777961822095, b=1
It's not that easy!
The correct is:
a = 76470300715912249562689990107401687364194232406198996658976353330269918489458
b = 64658408237276871767689061520961436408509493287485285377611016482361694763299

I need a tool that finds the a and b value correctly


The values I provided for a and b are correct, given the input. According to the puzzle there are a bit less than 2256 possible pairs.

The screenshot provides more information, one could see the tops of the numbers, and restrict a and b. A quick look makes it obvious where 7 5 4 1 6 are.
192  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: February 15, 2020, 11:06:14 PM
Sorry for the post off topic ... but can someone develop a tool to solve this?

p = 115792089237316195423570985008687907852837564279074904382605163141518161494337
a = HuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuh?
b = HuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuhHuh?

w = GF(p)

w (((a / b)))
w (((b / a)))

w= 12447032699845648078645791161909514142990644957498005805208944683777961822095
w= 66620152837833785920928131416087065201280002472666144035333386572317622196480


If you can develop any tool that does this ... I will send you 3 BTC

Well, that's easy:
Code:
0 < b < p
a = b * 12447032699845648078645791161909514142990644957498005805208944683777961822095 (mod p)
So, an obvious solution is a=12447032699845648078645791161909514142990644957498005805208944683777961822095, b=1
193  Bitcoin / Development & Technical Discussion / Re: Something Odd? Thinking caps on guys. on: September 12, 2019, 11:27:55 AM
['fruit', 'stone', 'enrich', 'cupboard', 'vendor', 'idle', 'alter', 'ensure', 'horn', 'segment', 'spawn', 'smooth']
0: 1HX5wVovCUMmJCFuZ5PQ3JRFSvr1jeud6h: fed1b2acfef9e43800286ab300c9967a: ee4875dd10630520647378f69b0974be59b076d9443ff5b999645411bb156a6cc3934d67cfb9ab3 c7d97f5b933930d3f837b21000c91bf726fdc0d580ac6ef3d


['smooth', 'vendor', 'idle', 'enrich', 'segment', 'horn', 'alter', 'spawn', 'ensure', 'stone', 'fruit', 'cupboard']
0: 13WJoAWkqftY9DPxBEDDkk3xCTdK6PM1Yg: fed19f9fffc3c6da0028645900c9967d: d2e3b54a56868fa4d201c72aedb6e9d99a55cad5a1215d0d87e0399cc70663e8194cdba5dbedd99 250b5110941d5e326ae32bb0a14c84a1847fc5a51cc8d174f

Both mnemonics have invalid checksum. For 12 words the chance to get a valid checksum is 1/16. So if you don't check it, in 15 of 16 cases you'd get garbage.
194  Bitcoin / Development & Technical Discussion / Re: I don't believe Quantum Computing will ever threaten Bitcoin on: August 23, 2019, 03:38:23 PM
We all know that Quantum Computing could significantly improve the power of computers.
QC could not improve computing power.

Classical computing will always be cheaper and faster than QC.

It is very simple physics, noise ruins all and every extrapolated prediction of QC efficiency.

IMO, quantum physics is not the reality, but rather a set of very useful statistical tools.

Due to the imaginary nature of quantum physics, people easily get confused.
195  Other / Off-topic / Re: [ARCHIVE] Bitcoin challenge discusion on: July 21, 2019, 01:18:49 PM
What is your expected time for #105?
I was using 4x Tesla V100 for it. Here is a table with expected times:

|------+-------------------+-------------------|-------------------|
| bits |      4x V100      |     100x V100     |    27648x V100    |
|------+-------------------+-------------------|-------------------|
|  100 |       2d 19:52:51 |          02:42:54 |          00:00:35 |
|  105 |           16 days |          15:21:34 |          00:03:19 |
|  110 |           90 days |       3d 14:53:14 |          00:18:51 |
|  115 |  1 year  147 days |           20 days |          01:46:39 |
|  120 |  7 years 341 days |          116 days |          10:03:23 |
|  125 | 44 years 323 days |  1 year  290 days |       2d 08:53:15 |
|  130 |       253 years   | 10 years  57 days |      13d 09:48:19 |
|  135 |     1,436 years   | 57 years 166 days |      75d 20:24:23 |
|  140 |     8,125 years   |         325 years |  1 year   64 days |
|  145 |    45,964 years   |       1,838 years |  6 years 237 days |
|  150 |   260,011 years   |      10,400 years | 37 years 225 days |
|  155 | 1,470,848 years   |      58,833 years |         212 years |
|  160 | 8,320,376 years   |     332,815 years |       1,203 years |
|------+-------------------+-------------------|-------------------|

Looks like a "world record" would be 120 bits.

Edit: added timings for the fastest (June 2019) top500 supercomputer - Summit.
196  Other / Off-topic / Re: [ARCHIVE] Bitcoin challenge discusion on: July 21, 2019, 06:37:07 AM
#100 - af55fc59c335c8ec67ed24826

Lucky with only 69% of the expected time - 1d 22:49:48 of the 2d 19:46:27 expected.
197  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: July 12, 2019, 05:48:37 PM

Key #95 in 10 1/2 hours on a single machine? That's impressive.

Why so many - 256 - kangaroos? Everyone says it is not optimal, do you have some new insights on this?
Who says it's not optimal?

Almost 38 million kangaroos spread across 4 Tesla V100.
Only 86% of the expected run time was needed.

Each kangaroo has to produce at least few distinguished points.
All these points have to be stored in a hash table, for efficient collision detection.
Experiments show, that collision happens with 3-12 DP/kangaroo.

And since none bothered to post the key from the image:
#95 - 0000000000000000000000000000000000000000527a792b183c7f64a0e8b1f4
198  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: July 12, 2019, 10:53:45 AM
https://imgur.com/a/f3zTmTa
199  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: July 11, 2019, 12:14:49 PM
There is nothing "hacked" so far. The Distributed Pollard Kangaroo algorithm is known since 2000.

Let's get some numbers for the 90 bit challenge:

BitCrack runs at about 715 MKeys/s on Tesla V100 - look here.
If we remove hash160, the rate would be 1430 Mj/s. Mj here stands for million kangaroo jumps.
The algorithm has expected run time 2*sqrt(b-a) jumps, here b-a = 289.
This gives expected running time of 09:39:55.
Looks quite fast.
Of course this is just a probability, if lucky, the time goes down to 3-4 hours, or not lucky, then time doubles to 18-20 hours.
Or really unlucky, with triple the expected run time - 1 day 04:59:47.
Since the algorithm scales linearly, one could use multiple V100, let's say 8, resulting in expected time 01:12:29.
The price for 8x V100 in google cloud is $15/hour.

Someone having 20x RX 480, each running BitCrack at 107 MKeys/s.
Using the same assumptions that would give 214 Mj/s each, for a total of 4280 Mj/s.
Please note, that for complex code AMD OpenCL compiler is very, very bad, and the system might crash, or even worse, bug the computations.
Assuming 150W per RX 480, the system would consume 3kW.

|------+-------------+---------+---+-----------------+-------------|
|      |     8x Tesla V100     |   |         20x RX 480            |
| bits +-------------+---------+---+-----------------+-------------|
|      |    time     |  price  |   |       time      |    power    |
|------+-------------+---------+---+-----------------+-------------|
|   90 |    01:12:29 |     $18 |   |        03:13:45 |     9.7 kWh |
|   95 |    06:50:04 |    $103 |   |        18:16:05 |    54.8 kWh |
|  100 | 1d 14:39:43 |    $580 |   |     4d 07:20:24 |   310.0 kWh |
|  105 | 9d 02:42:22 |   $3281 |   |    24d 08:34:45 |  1753.7 kWh |
|  110 |   51 days   |  $18558 |   |   137 days      |  9920.6 kWh |
|  115 |  291 days   | $104979 |   | 2 years 49 days | 56119.6 kWh |
|------+-------------+---------+---+-----------------+-------------|

Of course these numbers could easily double when unlucky.
And someone else could solve it before, then it's all a loss.
200  Bitcoin / Bitcoin Discussion / Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it on: July 09, 2019, 12:03:50 AM
Currently not an issue for those that use proper secure random full entropy 256 bit private keys even if the attackers use "cool equipment and leading programmers".

These keys still have 128 bits of security even with the current search algorithms.  The current record on this thread is 100 bits which leaves 128 - 100 = 28 bits of headroom.

Assuming 115 bits is possible then that still leaves 128 - 115 = 13 bits of headroom.

If you want your coins to be more secure than that then use a standard 160 bit Bitcoin address and never reuse your Bitcoin addresses.

If you want even more security then use a 256 bit Bitcoin address and never reuse your Bitcoin addresses.
You are off with the numbers.
Security is 128 bit for 256 bit public keys, and 50 bit for 100 bit pk.
So the security headroom is 128-50 = 78 bits.
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!