This method revolves around calculating the chances of a specific prefix showing up in a set of hashes, while ignoring the less likely outcomes.
Exploring Probabilistic Prefix Search in Crypto
22 replies 326 views
So how do you determine if that partial match actually indicates the target is in that range?
hash_cobraMember
Posts: 18 · Reputation: 209
#3Jan 4, 2022, 01:17 AM
I honestly can't grasp what this code is trying to do or how to utilize it.
its_matrixSenior Member
Posts: 264 · Reputation: 899
#4Jan 4, 2022, 06:12 AM
Can you show a demo or example?
You can't really be sure about anything with probabilistic software. Just because some ranges are less likely doesn’t mean you’ll definitely succeed.
So you’re basically hunting for the hex prefix of the address?
falcon2019Full Member
Posts: 90 · Reputation: 425
#7Jan 4, 2022, 07:20 PM
No way, it's super unlikely to find 5 "abcde" prefixes in a 65536 range.
Actually, it’s 93.94% likely that you won’t find any "abcde" prefix in that range. So 6.06% is the chance of finding it at least once.
hash_cobraMember
Posts: 18 · Reputation: 209
#9Jan 5, 2022, 12:10 AM
What about the claim of 3% you mentioned earlier?
Yes, I’m focused on h160 prefixes.
falcon2019Full Member
Posts: 90 · Reputation: 425
#11Jan 5, 2022, 02:57 AM
You’re misreading the stats, dude. 3% of 65536 is like 2000. The collisions are way more than just a few. Did you even test the script?
I’ve been working on a similar thing for another puzzle... Sometimes had 2000 keys between two "145d" points and at other times, 120k. It varies a lot.
falcon2019Full Member
Posts: 90 · Reputation: 425
#13Jan 7, 2022, 11:14 AM
Haven't tried with public keys yet. They’ve got similarities, but they’re not identical to hashes. Testing is key here.
Let’s reset things. So you got to 2000 collisions based on your 65537 keys. Is that where the 3% number is from?
falcon2019Full Member
Posts: 90 · Reputation: 425
#15Jan 7, 2022, 03:03 PM
That’s not how uniform distribution works. Check your math.
You need to rethink the theoretical approach. Prefixes work differently depending on the set of hashes used.
falcon2019Full Member
Posts: 90 · Reputation: 425
#17Jan 7, 2022, 10:32 PM
So... what’s the conclusion? Your theory seems solid but show me the proof.
My script does track how often prefixes show up. It’s all about the frequency of those appearances compared to what’s expected.
dan.walletSenior Member
Posts: 12 · Reputation: 848
#19Jan 7, 2022, 11:25 PM
You're estimating based on your setup. The longer the prefix, the lesser chance of collisions. Are we on the same page?
That’s not true! My script calculates the frequency of each prefix consistently.
Related topics
- Exploring Blockstream's Satellite Tech and Its Potential 22
- Exploring ZK Proofs for ML Computation in Blockchain 5
- Long-Term Bitcoin Storage Strategies: Exploring Taproot and Beyond 8
- Issues with ripemd160 on Ubuntu 22 9
- New Bitcoin Improvement Proposal with $100 Reward 9
- Clipboard Vulnerabilities in Cryptocurrency Transactions 8