Private Key (hex) To Binary

generated and convert hex private key to binary code

import Blockthon as block

# generated random hex private key
privatekey = block.PrivateKey()
# convert private key (hex) to binary [0101010111111111]
binary = block.PrivateKey_To_Binary(privatekey)

Last updated