Private Key (hex) to decimal

convert private key hex to decimal number

import Blockthon as block

privatekey = block.PrivateKey()
decimal = block.PrivateKey_To_Dec(privatekey)

another example converting private key to decimal with another method:

import Blockthon as block

privatekey = block.PrivateKey()
decimal = block.Hex_To_Dec(privatekey)

Last updated