Open uvicorn opened 9 months ago
https://github.com/jvdsn/crypto-attacks/blob/master/shared/hensel.py#L33 FIX:
# roots = list(range(p)) roots = range(p)
because list(range(big_p)) will use so much memory
list(range(big_p))
https://github.com/jvdsn/crypto-attacks/blob/master/shared/hensel.py#L43 same problem. seems need rewrite when polynomial f=0
f
Why are you using hensel_roots for f=0?
hensel_roots
f=0
https://github.com/jvdsn/crypto-attacks/blob/master/shared/hensel.py#L33 FIX:
because
list(range(big_p))
will use so much memory