Legendre Symbol Breakthrough in ECC

24 replies 68 views
stacksatsHero Member
Posts: 145 · Reputation: 2023
#1Dec 1, 2019, 08:29 PM
If we can tell if a scalar for a point is less than half its order, that pretty much ruins the curve. The whole security of elliptic curve cryptography is based on how hard it is to solve the ECDLP. If a method can reliably predict whether that scalar k is below n/2 just from point Q's coordinates, it’s like having a "bit oracle".
7 Reply Quote Share
stacksatsHero Member
Posts: 145 · Reputation: 2023
#2Dec 1, 2019, 10:18 PM
I've made a version that runs on secp256k1.
1 Reply Quote Share
nonce404Member
Posts: 4 · Reputation: 56
#3Dec 2, 2019, 03:38 AM
Doesn't work for Puzzle 135 though. It’s all about those little toy curves. On secp256k1, even if you know the private key is under 2^135, the points Q=k·G look just like any others. The x,y coordinates aren’t gonna give away if k is in the first half of anything.
3 Reply Quote Share
stacksatsHero Member
Posts: 145 · Reputation: 2023
#4Dec 2, 2019, 09:48 PM
So, if this actually worked, wouldn't the discoverer use it for something more serious than just puzzles?
1 Reply Quote Share
nonce404Member
Posts: 4 · Reputation: 56
#5Dec 3, 2019, 07:32 PM
One million bucks for Puzzle 135 is still a steal compared to cracking a real 2²⁵⁶ key. By the way, did you ever try using an actual Bitcoin key longer than 120 bits?
0 Reply Quote Share
stacksatsHero Member
Posts: 145 · Reputation: 2023
#6Dec 4, 2019, 01:43 AM
A million bucks is nothing compared to what we’re discussing. If someone could actually solve ECDLP, they'd keep it under wraps or make sure no one knows about it.
0 Reply Quote Share
nonce404Member
Posts: 4 · Reputation: 56
#7Dec 4, 2019, 10:12 PM
Every point on a curve has two valid halves. This technique could help find the right half. A 2^256 key can be cracked in 256 steps using this method.
3 Reply Quote Share
0xNodeMember
Posts: 257 · Reputation: 80
#8Dec 5, 2019, 01:45 AM
Totally agree. If it could work on real 2^256 keys, it’d be way more valuable than any puzzle. I want it to work too, but real Bitcoin keys are a whole different level compared to Puzzle 135.
3 Reply Quote Share
stacksatsHero Member
Posts: 145 · Reputation: 2023
#9Dec 5, 2019, 05:00 AM
Have you actually tested this out? What’s your operations per second like?
5 Reply Quote Share
nonce404Member
Posts: 4 · Reputation: 56
#10Dec 5, 2019, 08:46 AM
✅ Done at Step 128. Here’s my calculation string: (lots of calculations)!
2 Reply Quote Share
stacksatsHero Member
Posts: 145 · Reputation: 2023
#11Dec 5, 2019, 12:24 PM
Have you attempted Puzzle 135? If you can solve 130 in a second, 135 should be a walk in the park.
2 Reply Quote Share
nova_sigmaFull Member
Posts: 2 · Reputation: 342
#12Dec 5, 2019, 04:40 PM
If I say my kidnapping won’t take long, it’s important I come across as a joker, just saying.
3 Reply Quote Share
stacksatsHero Member
Posts: 145 · Reputation: 2023
#13Dec 5, 2019, 08:40 PM
I ran your claim through tests. Results: Your toy curve had 98.5% accuracy pretty good! But secp256k1 only hit 49%. That’s basically a coin toss.
1 Reply Quote Share
nova_sigmaFull Member
Posts: 2 · Reputation: 342
#14Dec 6, 2019, 01:38 AM
For your curve (p=79, n=67), accuracy was 100%. But yeah, that was just a joke.
5 Reply Quote Share
stacksatsHero Member
Posts: 145 · Reputation: 2023
#15Dec 6, 2019, 07:24 AM
Alright, I’ll challenge you. Create a 100% successful example for any curve larger than 79 where a=0 and b=7, and where the order is prime.
2 Reply Quote Share
falcon2019Full Member
Posts: 48 · Reputation: 425
#16Dec 6, 2019, 11:20 AM
True, I messed up with k <= 33 instead of k <= 34. It was an off-by-one mistake.
4 Reply Quote Share
stacksatsHero Member
Posts: 145 · Reputation: 2023
#17Dec 6, 2019, 03:22 PM
But hitting 100% accuracy on a small curve by hand-crafting the decision tree isn’t impressive. That’s just enumeration, not real algorithm work.
3 Reply Quote Share
falcon2019Full Member
Posts: 48 · Reputation: 425
#18Dec 6, 2019, 06:43 PM
You claimed to break ECC. Now you have to show it can scale. Reference curve y² = x³ + 7 with prime order is p=127, n=127. Show us your oracle for that.
4 Reply Quote Share
stacksatsHero Member
Posts: 145 · Reputation: 2023
#19Dec 8, 2019, 01:27 AM
Claiming there’s no adaptive method for secp256k1 is just speculation. No one has done it yet. I’ll wait for a new example.
3 Reply Quote Share
falcon2019Full Member
Posts: 48 · Reputation: 425
#20Dec 8, 2019, 07:31 AM
Thanks for the feedback. I know the example curve is small, but this attack isn’t like traditional ECDLP solvers.
4 Reply Quote Share

Related topics