iceland2k14 / bsgs

Find PrivateKey of corresponding Pubkey(s) using BSGS algo
MIT License
109 stars 59 forks source link

Hi. What is the difference #40

Open Noname400 opened 2 years ago

Noname400 commented 2 years ago

Hi. What is the difference rand and rand1

Noname400 commented 2 years ago

python bsgs_hybrid_dll_secp256k1.py -pfile aa.txt -b bPfile.bin -bl bloomfile.bin -n 200000000 -keyspace 10000000000000:7fffffffffffff -rand

will this work?

I want to search for 300000 keys at the same time in a certain interval. can I do it by accident?

iceland2k14 commented 2 years ago

-rand is ........ start from a random point in the given range and search sequential " -n " values. Then again take a new random value and search " -n " sequential ..... and so on.....

-rand1 is ....... Start from a random point in the given range, first time...........then continuously search sequential from it

If you want to search only "300000 keys at the same time" and then want to change randomly in the given range. Then use -rand and -n 300000. But remember the minimum limit will be always equal to the Total items in the bloom filter. So even if you give " -n " as a less value than bloom, still at least the minimum Total number of points in the bloom is searched in 1 go.