albertobsd / keyhunt

privkey hunt for crypto currencies that use secp256k1 elliptic curve
MIT License
627 stars 341 forks source link

BSGS Random mode #289

Open xeroxtheprintlord opened 6 months ago

xeroxtheprintlord commented 6 months ago

Hi Albreto,

First of all thank you very much for your hard work and insanely beautiful tools. You've done an amazing job! (not only keyhunt, but the ecctools too).

I've got a question regarding BSGS random mode. When using BSGS mode both, or normal you can see that the range has a trailing zeroes based on the bloom filter and N. But, when the BSGS mode is used in random mode (not -R, but -B random), then the range is generated fully random.

For example, If I choose a range for puzzle 105 bit, the range in random is generated such as: 16f14fc2054cd87ee6396b33df3. Is it possible to make the BSGS random mode to generated random part taking into an account the bloom filter and N, for example N = 0x100000000000, so the random part to be 16f14fc2054cd87e00000000000.

Does the bloom filter work as it's supposed to work when the range fully generated random? like 16f14fc2054cd87ee6396b33df3

Thanks!