Post
Topic
Board Development & Technical Discussion
Re: Is there a way to use Python GPU for ECC speed up?
by
Mikorist
on 10/12/2022, 20:27:30 UTC
https://github.com/iceland2k14/secp256k1 fastest library for python.

And fastecdsa......


Code:
from fastecdsa import keys, curve
import secp256k1 as ice

while True:
           dec   = keys.gen_private_key(curve.P256)
           HEX   = "%064x" % dec
           wifc  = ice.btc_pvk_to_wif(HEX)
           wifu  = ice.btc_pvk_to_wif(HEX, False)
           uaddr = ice.privatekey_to_address(0, False, dec)
           caddr = ice.privatekey_to_address(0, True, dec)
           print(wifu, uadr)

Check how fast this simple generator is....Millions per second. Grin