🔐
Blockthon
HomeGithubMmdrza
  • install
  • Private Key
    • Private Key To Address
    • Private Key To Bytes
    • Private Key To Mnemonic
    • Private Key To Binary
    • Private Key To Decimal
    • Private Key To Wif
    • Private Key To xprv
    • Private Key To UnCompress
    • Private Key To Compress
    • Private Key From Passphrase
    • Private Key From Root Key
    • Private Key From Binary
    • Public Key Hash Address
  • Mnemonic
    • Mnemonic To Private Key
    • Mnemonic To Bytes
    • Mnemonic To XPRV (Root Key)
  • Public Key
    • Public Key Hash Address
  • Bytes (seed)
    • Bytes To Mnemonic
    • Bytes To Private Key
    • Bytes To Public Key
    • Bytes To WIF
  • Address
Powered by GitBook
On this page
  1. Private Key

Private Key To Binary

Convert Private Key Hex to Binary

Binary from Private Key Hex

in this example can see how to created new private key (hex) and convert to binary with blockthon

from Blockthon.Wallet import PrivateKey, PrivateKey_To_Binary
# generated private key random
key = PrivateKey()
# convert Private key (hex) to binary:
binary_data = PrivateKey_To_Binary(key)
PreviousPrivate Key To MnemonicNextPrivate Key To Decimal

Last updated 1 year ago