9 lines
142 B
Python
9 lines
142 B
Python
|
#!/usr/bin/python3
|
||
|
|
||
|
import ecdsa
|
||
|
|
||
|
ecdh = ecdsa.ECDH(curve=ecdsa.SECP256k1)
|
||
|
private_key = ecdh.generate_private_key()
|
||
|
|
||
|
print(str(private_key))
|