#!/usr/bin/python3 import ecdsa ecdh = ecdsa.ECDH(curve=ecdsa.SECP256k1) private_key = ecdh.generate_private_key() print(str(private_key))