Cryptocurrencies use a 256-bit random key which is converted in a WIF (Wallet Interchange Format key), where there is a 256-bit private key and a 512-bit public key. It uses Elliptic Curve Ciphers (ECC) to sign for transactions.
Can be used for generating (amongst other uses): vAlertPubKey ScriptPubKey strSporkKey
replace the hex code, 0x38 in this case, with your secret key decimal from base58Prefixes SECRET_KEY (chainparams)
return base58CheckEncode(0x38, key_hex.decode('hex'))
Replace the symbol, Z in this case, with your address decimal from base58Prefixes PUBKEY_ADDRESS (chainparams)
return 'Z' * leadingZeros + base58encode(base256decode(result))
Install depencies:
sudo apt-get install python-setuptools
sudo easy_install pip
pip install ecdsa
Generate keys:
python gener8.py