iceland2k14 / bsgs

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

imprtant bug!!! #52

Open ramin1234 opened 2 years ago

ramin1234 commented 2 years ago

python bsgs_dll_search.py -n 40000000000 -keyspace F00000000000000000000000000000000000000000000000000000f0f2000000:F00000000000000000000000000000000000000000000000000000fff2000000 -b bpfile.bin -bl bloomfile.bin -p 04282773874199B856AC5CB3BE2E0EEDAB47257EA14FFBC4327C1EA2D1A0A39DCE007FA130DB53375A3C42D5DC9546A12158A39D5948607631C99DF57E9E4B63CA

it can find private key . but when i change -keyspace ,it cant find like this F00000000000000000000000000000000000000000000000000000f0f1000000:F00000000000000000000000000000000000000000000000000000fff2000000

ramin1234 commented 2 years ago

if we create small bloom file it works but if we create large bloom file it has this problem . thanks @iceland2k14

ramin1234 commented 2 years ago

@iceland2k14 i think i found bug . when i increase -n parameter it can find but when i decrease it it cant find , i have many public keys and i decrease -n parameter for see logs can you solve it thanks

ramin1234 commented 2 years ago

u didnot answer i change this line S2_list = ice.point_loop_subtraction( 1+(k2-k1)//m, S, wG ) to S2_list = ice.point_loop_subtraction(w, S, wG ) i dont know why but it works

mironiec commented 2 years ago

as ramin1234 wrote: after changing : works. any idea how to change base generator from G to 10*G?