Bitcoin Forum
November 06, 2026, 03:31:06 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 6 7 8 9 10 11 »
1  Bitcoin / Bitcoin Discussion / Re: Quantum threat ignored by Bitcoin developers on: April 04, 2026, 12:58:59 PM
QC are analog machines, hence noise cannot drop below certain level, no matter what.
Yes, physical qubits are noisy, but don't error rates have to just be below a certain threshold? (Currently 0.1-1% per gate.) You encode one logical qubit across many physical qubits, and the redundancy lets you detect and fix errors.
Quote
To even have a chance at ECDLP, the noise has to drop 2^240 times, which is physically impossible.
Where does this number come from? Breaking 256-bit ECDSA requires roughly 2,500-4,000 logical qubits running Shor's algorithm. With current error correction schemes, that translates to a few million physical qubits.

I remember reading about ~1700 qubits for 256-bit ECDLP 10 years ago. With more than a billion of Toffoli gates though.

Midway through the computation any logical qubit has to represent 2^256 bits of information. Since qubits are analog, this requires corresponding noise levels - on the order of 0.0000000000000000000000000000000000000000000000000000000000000000000000000001%.
If there's a "meet in the middle", propagating restrictions from both ends, noise needs to be 0.0000000000000000000000000000000000003% or better.
One could try "error correction", but it scales linearly to the number of physical qubits (per logical).

There is a published paper, which takes the noise levels into account. The result is clear - QC fails even in theory.
https://arxiv.org/abs/2412.17269
https://dl.acm.org/doi/10.1145/3736421
Quote
Recently, Cai showed that Shor's quantum factoring algorithm fails to factor large integers when the algorithm's quantum Fourier transform (QFT) is corrupted by a vanishing level of random noise on the QFT's precise controlled rotation gates. We show that under the same error model, Shor's quantum discrete log algorithm, and its various modifications, fail to compute discrete logs modulo P for a positive density of primes P and a similarly vanishing level of noise. We also show that the same noise level causes Shor's algorithm to fail with probability 1-o(1) to compute discrete logs modulo P for randomly selected primes P.


2  Bitcoin / Bitcoin Discussion / Re: Quantum threat ignored by Bitcoin developers on: April 04, 2026, 08:15:24 AM
QC promises are scam, ignorance, or both.
Quantum computing cannot scale exponentially by design.
QC are analog machines, hence noise cannot drop below certain level, no matter what.
That's why the largest number factored by Shor's algorithm (the one needed for ECDLP) is 21, a 5-bit number.
To even have a chance at ECDLP, the noise has to drop 2^240 times, which is physically impossible.
Even 2^100 times noise reduction is impossible.
You could see it by checking the most accurate atomic clock uncertainty - about 2^-56.
All the "quantum superiority" is generating lots of noise really fast.

So the Q-Day will never come, even theoretically, much less in practice.

For all FUD spreaders:
Please show me the full formulas, noise included, which allow for quantum stuff to work as preached.
Well... you cannot, cause there's no understanding, just repetition and blind belief.
Or worse, you discard the noise as irrelevant.
Or even worse, you put magical "error correction", which is totally noiseless, a divine touch from above.

It is very funny, that a major assurance for QC is "capital allocation". Pure scam.

============

Now let's assume, that QC actually works.
That means it could compute quantum mechanics very accurate, fast, and in details.
This would bring abundance, which makes money slightly irrelevant.
After all money need limitations to exist - if everything is available who cares?
So working QC would make all the money less relevant, not just bitcoin.

3  Bitcoin / Development & Technical Discussion / Re: Satoshi's target recalculation off-by-one bug? on: January 27, 2026, 07:36:39 PM
I think it's not off by one bug. It seems, that the genesis block took several days to mine - mined with much higher difficulty - so it was omitted from the difficulty calculation.
4  Bitcoin / Development & Technical Discussion / Re: J. Lopp's Post-Quantum Migration BIP on: December 15, 2025, 08:31:20 PM

Here Google giving a crack at RSA 2048
https://thequantuminsider.com/2025/05/24/google-researcher-lowers-quantum-bar-to-crack-rsa-encryption/

"The analysis relies on algorithmic improvements and efficient system designs, including approximate arithmetic and compressed error-correction layouts, to lower the number of qubits needed."

Good to see they aren't currently enclosing this research. But once they hit something meaningful how long untill they disclose it?


Take a look at the needed Toffoli gates, it's more than 10^9.
Are this some kind of magical things, not injecting noise?
Why almost every paper omits the noise from these gates?
Well, of course, to get more funding.
Snake oil, as always.

Since it became a little obvious QC wouldn't work, now it all switched to "AI".
As if by multiplying matrices intelligence appears out of nowhere, suddenly the matrix becomes understanding.
This gives a funny meaning to "The Matrix" movie.

5  Bitcoin / Bitcoin Discussion / Re: Public key and address difference on: November 19, 2025, 01:24:23 PM
Quote
Collision is kinda useless, what would one do with it?
If Lightning Network would work on top of P2SH, or other 160-bit addresses, then one participant could create a collision, where a given script would be spendable by 2-of-2 multisig, and by the attacker alone.

Lightning requires segwit, which means P2WSH, 256 bit (with HTLC). So collision security goes up to 128 bit. When (eventually) using PTLC (taproot), again security is again 128 bit.

AFAIK nobody accepts wrapped lightning commitment P2SH-P2WSH.

6  Bitcoin / Bitcoin Discussion / Re: Public key and address difference on: November 19, 2025, 10:44:55 AM
Currently, 160-bit addresses have only 80-bit security, and because the network can get closer and closer to check 2^80 keys in reasonable time, we are getting closer and closer to seeing the first address collisions. Which is why all new address types try to provide at least 128-bit security instead.

The security of unspent 160 bit addresses is exactly 160 bit. When spent from, barring monumental errors, it drops down to 128 bit.

Collision is kinda useless, what would one do with it?

7  Bitcoin / Development & Technical Discussion / Re: Removing OP_return limits is a huge mistake on: May 04, 2025, 07:44:17 AM
It just occurred to me: Removing the limit opens up bitcoin network for cheap DOS attacks.

Instead of lengthy rants, please show how the network will be attacked, and what would prevent disruptions from happening.
8  Bitcoin / Development & Technical Discussion / Re: Competition to Break Bitcoin's Cryptography and win 1 BTC on: April 19, 2025, 11:19:41 PM

I'm curious if they would manage even a single bit ECDLP with Shor's algorithm. As mentioned on the website 3-bit would be a breakthrough.
Quote
Error-prone qubits - Today's qubits have 99% - 99.9% fidelity - is that good enough?
99.9% fidelity might be enough for lg2(1000)=10 bit RSA via Shor's, maybe, sometimes.
For a 25 bit one would need 99.999997% fidelity, not only in qubits, but Toffoli (or whatever) gates as well.
I'm not sure what these 99.9% mean though. In what time frame is the error so low? After all, more time equals more noise. If I got it correctly, let it be 99.9% for 1 nanosecond, it would get down to 99% in just 10 nanoseconds, then 90% in 100 ns, and then is kinda gone with 1% in 1 microsecond.

Meanwhile there's a few million dollar prize on finding any real world use of quantum computers - by google & xprize
The quantum computer scam continues.


9  Bitcoin / Bitcoin Discussion / Re: Quantum Computing and Bitcoin Security on: February 06, 2025, 06:26:22 PM
I am concerned that quantum computing could potentially brute-force all existing wallets. However, I am unsure whether internet connection speed would impose a limitation on such attacks. If not, how will the Bitcoin community protect itself against this threat? Additionally, how can I contribute, follow existing projects working on this issue, or learn more about this topic?

Quantum computing doesn't scale. It just generates noise.

Shor's algorithm, which is supposed to break ECDSA, fails miserably with any presence of noise, even in theory. Hence the largest integer reliably factored up to now by a quantum computer using Shor's is 21. All those new and "very superior" QC managed only to generate more noise.

10  Bitcoin / Development & Technical Discussion / Re: NTRU vs Kybe: Which Quantum Resistant Algorithm Is Better for Bitcoin? on: January 19, 2025, 08:44:21 PM
Neither.

NTRU and Kyber are PKE/KEM - Public Key Encryption / Key Encapsulation Mechanism.

You should rather look at:
FIPS 204, ML-DSA, former Dilithium
FIPS 205, SLH-DSA, former SPHINCS+
FIPS 206, FN-DSA, former FALCON, not yet standardized

|-------------------+-------------+------------+-----------+----------+-----------|
|                   | Private Key | Public Key | Signature | security |   average |
|                   |       bytes |      bytes |     bytes |     bits | block MB* |
|-------------------+-------------+------------+-----------+----------+-----------|
| secp256k1         |          32 |         32 |        64 |      128 |         2 |
|-------------------+-------------+------------+-----------+----------+-----------|
| ML-DSA-44         |        2560 |       1312 |      2420 |      128 |        78 |
| ML-DSA-65         |        4032 |       1952 |      3309 |      192 |       110 |
| ML-DSA-87         |        4896 |       2592 |      4627 |      256 |       150 |
|-------------------+-------------+------------+-----------+----------+-----------|
| SLH-DSA-SHA2-128s |             |         32 |      7856 |      128 |       164 |
| SLH-DSA-SHA2-192s |             |         48 |     16224 |      192 |       339 |
| SLH-DSA-SHA2-256s |             |         64 |     29792 |      256 |       622 |
|-------------------+-------------+------------+-----------+----------+-----------|
| Falcon-512        |        1281 |        897 |       666 |      128 |        33 |
| Falcon-1024       |        2305 |       1793 |      1280 |      256 |        64 |
|-------------------+-------------+------------+-----------+----------+-----------|
* could be off by a factor of 2
11  Bitcoin / Development & Technical Discussion / Re: Square roots and cube roots in secp224k1 on: January 03, 2025, 05:13:22 PM
However, the same method won't work for p-value in secp224k1 for some reason:
Code:
p=0xfffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
n=0x10000000000000000000000000001dce8d2ec6184caf0a971769fb1f7
p%4=1 (failed, expected 3)
p%9=1 (failed, expected 7)

If all of those curves were generated together, then why p-value for secp224k1 was picked differently, than for three other curves? And how to efficiently compute square roots and cube roots for this curve? Also, how to proceed with all n-values? I heard there are some algorithms, to compute those results for any values, but if those curves were selected specifically, to make operations like that "fast", then everything should be solvable by simple equations like "(p+x)/y", similar to "(p+1)/4" and "(p+2)/9", right?

There are "complex" algorithms: A remark on the computation of cube roots in finite fields

One could solve the square and cube root in this case by "simple equation" too. To my knowledge this is not published anywhere.

The smallest pair x & y for square root is (p+3)/8; and for cube root is (p+8)/27.

r4 and r9 are non-trivial 4th and 9th roots of 1 mod p more info


r4 = 11913830147633844989339888812832642491211314989669855304438134084459
r9 = 452128346974922831777605865588626403245808317223927710376180600773

b2 = a (mod p)
if a(p-1)/2 = 1    ; if square root exists
  b = a(p+3)/8
  if b2 != a
    b = b * r4

b3 = a (mod p)
if a(p-1)/3 = 1    ; if cube root exists
  b = a(p+8)/27
  if b3 != a
    b = b * r9
  if b3 != a
    b = b * r9

12  Bitcoin / Development & Technical Discussion / Re: Pairs of matching n-values in secp256k1 with changed b-values on: January 02, 2025, 02:47:38 PM
The question is: does it mean that there is some kind of connection between y^2=x^3+7, and for example y^2=x^3+2? Or maybe there is another connection, where points on curves with identical p-value and n-value can be mapped? Does it mean, that if we have b=0x7, where there are "n" points, and for example b=0xc curve also has the same amount of points, then does it mean we can map them 1:1?

For y2=x3+d (mod p), and d being non-zero integer, the group falls into one of these different sets:

1: 2x  2 * 3 * 20412485227 * 83380711482738671590122559 * 5669387787833452836421905244327672652059
2: 3x  3 * 132 * 3319 * 22639 * 1013176677300131846900870239606035638738100997248092069256697437031
3:     109903 * 12977017 * 383229727 * 211853322379233867315890044223858703031485253961775684523
4:     3 * 199 * 18979 * 5128356331187950431517 * 1992751017769525324118900703535975744264170999967
6: 14x 2 * 7 * 10903 * 5290657 * 10833080827 * 22921299619447 * 41245443549316649091297836755593555342121
7:     115792089237316195423570985008687907852837564279074904382605163141518161494337

Here 'x' is the torsion group - then the group is noncyclic (as a whole).

One can move between different d by multiplying the whole equation by k6, and getting the new coordinates with the new d (the usual isomorphism):

y2 = x3 + d
k6*y2 = k6*x3 + k6*d
(k3*y)2 = (k2*x)3 + k6*d


Trying to move between these six groups doesn't work - either k3 and/or k2 are outside the usual group of numbers mod p.

If one thinks a bit it is obvious. Groups have different number of points, so - when trying to map - every point from one group corresponds to all the points in another.

So, only thing needing in order to jump to an isomorphic equation is taking sixth root of some number a (mod p).

ap = a
ap+1 = a2
a(p+1)/4 = a1/2

ap+2 = a3
a(p+2)/9 = a1/3

(a(p+1)/4)(p+2)/9 = a1/6 = k

One should then check if this root exists, i.e. if k6=a




13  Bitcoin / Development & Technical Discussion / Re: Need help understanding this modular inverse implementation on: June 11, 2024, 09:12:09 AM
I mean lots of words explaining it.

Here is the code I made back in 2019, this is slower than the 5x52 version (it is 8x32), but was faster than xp-2.
Code:
__device__ static void invModP_(unsigned int value[8]) {
  //INPUT : Prime p and a in [1, p−1].
  //OUTPUT : a^−1 mod p.
  //1. u = a, v = p.
  unsigned int u[8], v[8];
  copyBigInt(value, u);
  copyBigInt(_P, v);
  //2. x1 = 1, x2 = 0.
  unsigned int x1[8] = { 0,0,0,0, 0,0,0,1 };
  unsigned int x2[8] = { 0,0,0,0, 0,0,0,0 };
  //3. While (u != 1 and v != 1) do
  for (;;) {
    if ( ((u[7] == 1) && ((u[0] | u[1] | u[2] | u[3] | u[4] | u[5] | u[6]) == 0)) ||
         ((v[7] == 1) && ((v[0] | v[1] | v[2] | v[3] | v[4] | v[5] | v[6]) == 0)) )
      break;
    //3.1 While u is even do
    while ((u[7] & 1) == 0) {
      //u = u/2.
      shift_right(u);
      unsigned int carry = 0;
      //If x1 is even then x1 = x1/2; else x1 = (x1 + p)/2.
      if ((x1[7] & 1) != 0) {
        carry = add(x1, _P, x1);
      }
      shift_right_c(x1, carry);
    }
    //3.2 While v is even do
    while ((v[7] & 1) == 0) {
      //v = v/2.
      shift_right(v);
      unsigned int carry = 0;
      //If x2 is even then x2 = x2/2; else x2 = (x2 + p)/2.
      if ((x2[7] & 1) != 0) {
        carry = add(x2, _P, x2);
      }
      shift_right_c(x2, carry);
    }
    //3.3 If u >= v then: u = u − v, x1 = x1 − x2 ;
    unsigned int t[8];
    if (sub(u, v, t)) {
      //Else: v = v − u, x2 = x2 − x1.
      sub(v, u, v);
      subModP(x2, x1, x2);
    } else {
      copyBigInt(t, u);
      subModP(x1, x2, x1);
    }
  }
  //4. If u = 1 then return(x1 mod p); else return(x2 mod p).
  if ((u[7] == 1) && ((u[0] | u[1] | u[2] | u[3] | u[4] | u[5] | u[6]) == 0)) {
    copyBigInt(x1, value);
  } else {
    copyBigInt(x2, value);
  }
}
/*
INPUT : Prime p and a in [1, p−1].
OUTPUT : a^−1 mod p.
1. u = a, v = p.
2. x1 = 1, x2 = 0.
3. While (u != 1 and v != 1) do
   3.1 While u is even do
       u = u/2.
       If x1 is even then x1 = x1/2; else x1 = (x1 + p)/2.
   3.2 While v is even do
       v = v/2.
       If x2 is even then x2 = x2/2; else x2 = (x2 + p)/2.
   3.3 If u >= v then: u = u − v, x1 = x1 − x2 ;
       Else: v = v − u, x2 = x2 − x1.
4. If u = 1 then return(x1 mod p); else return(x2 mod p).
*/
14  Bitcoin / Development & Technical Discussion / Re: Need help understanding this modular inverse implementation on: June 11, 2024, 08:11:32 AM
This is Extended Binary GCD

Binary GCD:
https://xlinux.nist.gov/dads/HTML/binaryGCD.html
http://www.cut-the-knot.org/blue/binary.shtml

Extended Binary GCD explanation with lots of words:
https://github.com/DavidNorman/gcd

15  Bitcoin / Development & Technical Discussion / Re: Why gcd between base point and any other point will give us one or three? on: December 29, 2023, 06:40:57 PM
Because 0x1110...f784 has many small factors:
2^2 * 17 * 4289 * 6196937 * 9672199247 * 441571470858719851994038335827739586159888848835828007

While 0x1b88...e5e9 has factor 3, and then some unholy big numbers.

Your funny random mapping then produces some random integer, which is very very unlikely to have one of the big factors in the second one.

That said, what is the purpose of this exercise?

Point coordinates are not integers, they are instead infinite sets of all kind of numbers, represented by integers.

Specially y^2 = x^3 + 7 does not have integer or rational number solutions. Plugging integers makes even less sense here.

Why not use an isomorphic curve of rank>0, i.e. y^2 = x^3 - 2. Then at least you'd know that there are rational solutions, and have a single nice generator (3,5).

16  Other / Archival / Re: Replacing P with N on elliptic curves on: December 21, 2023, 09:07:55 AM
There is an elliptic curve equation, which is taken modulo P. This produces a group with N points.

Now you'd like to change the modulo to N, and get a group with P points.

Congratulations! There are many many such curves.

But there's a caveat.

Taking something modulo P does not produce an integer. Instead the result is a "number modulo P". The "something" could be any of infinite numbers, both positive, negative, rational, irrational, etc.

So the real curve could be y^2 = x^3 + kPx + B, which reduces to y^2 = x^3 + B (mod P), and you could vary k in order to get the desired number of points modulo N. Or in a rare cases y^2 = x^3 + kPx + B + mP, if more flexibility is needed.

That means: the curves in different modulo are not related in any way.

Any curve in one modulo is equivalent to any curve in any other modulo.

Zero bits of information are gained here.


Edit:
BTW, there is no curve possible with P=97 and N=67 or vice-versa. The number of points possible lays in the interval P+1±2√P, which gives [79, 117] mod 97, and [52, 84] mod 67.

17  Bitcoin / Development & Technical Discussion / Re: Researcher Claims to Crack RSA-2048 With Quantum Computer on: November 10, 2023, 12:00:26 AM
Shor's algorithm with noiseless qubits and gates works in theory.
Shor's algorithm with noisy qubits and gates does not work in theory. It needs exponentially small noise.
Both in theory.
That's it.
I thought that this is what error correction fixes-- with a huge but only polynomial blow up.
If I understand it correctly, the error correction could reduce noise only in linear fashion - QC are analog machines - ten times more resources would reduce error only tenfold at most. For Shor's to work this is not enough at all - it needs exponentially smaller noise.
18  Bitcoin / Development & Technical Discussion / Re: Researcher Claims to Crack RSA-2048 With Quantum Computer on: November 05, 2023, 12:49:16 PM
You got it wrong. RSA-2048 is not vulnerable to QC even theoretically.
Now you're just talking nonsense. Shor's algorithm factorizes n-digit numbers on a theoretical QC in time O(n^2 * log n * log log n) [1]. Which can in theory factorize numbers of tens of thousands of digits.
This is correct only with ideal noiseless qubits and gates.
That's exactly what a "theoretical QC" is. Hence, your claim of "not vulnerable to QC even theoretically" being wrong.

Shor's algorithm with noiseless qubits and gates works in theory.
Shor's algorithm with noisy qubits and gates does not work in theory. It needs exponentially small noise.
Both in theory.
That's it.

19  Bitcoin / Development & Technical Discussion / Re: Researcher Claims to Crack RSA-2048 With Quantum Computer on: November 05, 2023, 10:33:30 AM
You got it wrong. RSA-2048 is not vulnerable to QC even theoretically. Neither is RSA-128 - yes only 128 bits are beyond Shor's algorithm even in theory.

Now you're just talking nonsense. Shor's algorithm factorizes n-digit numbers on a theoretical QC in time O(n^2 * log n * log log n) [1]. Which can in theory factorize numbers of tens of thousands of digits.


This is correct only with ideal noiseless qubits and gates. Shor's algorithm fails when exponentially small noise is present. That is, it needs noise levels of the order 2-n. The same is true for ECDLP. Good luck achieving noise level 2-256.

It is very easy to figure out why that happens. We start with qubits which are independent, each representing only 1 bit of information. But before reaching the final result it is not yet clear which of the 2n possibilities are the correct ones. So midway of the quantum computation, qubits have to represent 22n states at the same time. This enormous amount of information vanishes with any noise present.

Read the last sentence in this section https://en.wikipedia.org/wiki/Shor%27s_algorithm#Physical_implementation.

20  Bitcoin / Development & Technical Discussion / Re: Researcher Claims to Crack RSA-2048 With Quantum Computer on: November 05, 2023, 01:36:26 AM
they might not factor 10^1000 size numbers but 2048 bit numbers are an entirely different animal and should be vulnerable to quantum computers at some point. very vulnerable. the only question is, when do companies like atom computing scale up past 1000 qbits to say 1 million qbits. i'd say in the next 10 years at worst.
they went from 100 qbits to 1000 in like 2 years.

You got it wrong. RSA-2048 is not vulnerable to QC even theoretically. Neither is RSA-128 - yes only 128 bits are beyond Shor's algorithm even in theory. Current QC hardware struggles with RSA-6 (six bits).

Finally someone did put the noise into quantum equations and this is the result:
We consider Shor's quantum factoring algorithm in the setting of noisy quantum gates. Under a generic model of random noise for (controlled) rotation gates, we prove that the algorithm does not factor integers of the form pq when the noise exceeds a vanishingly small level in terms of n - the number of bits of the integer to be factored, where p and q are from a well-defined set of primes of positive density. We further prove that with probability 1−o(1) over random prime pairs (p,q), Shor's factoring algorithm does not factor numbers of the form pq, with the same level of random noise present.


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!