SkillAgentSearch skills...

CryptoFuzz

cryptofuzz python package for generated fast and easy wallet private key hex bytes mnemonic convert

Install / Use

/learn @Pymmdrza/CryptoFuzz

README

<div style="display: flex; justify-content: space-between; align-items: center;"> <img src="https://raw.githubusercontent.com/Pymmdrza/cryptoFuzz/gh-pages/doc/img/cryptoFuzz_Logo.png" title="Cryptofuzz / Generated and Converted Private and Public Key Very Easy On Python With cryptofuzz" alt="cryptofuzz python cryptography library" width="136" height="136"> </div>

CryptoFuzz

Read the Docs GitHub Actions Workflow Status GitHub commit check runs GitHub last commit GitHub commit activity GitHub top language PyPI - Downloads Website

Installing & Quick Use

Windows

On Windows, you can install CryptoFuzz using the following pip command:

pip install --upgrade cryptofuzz

Linux & Mac

On Linux and macOS, you should use pip3 for installation:

pip3 install --upgrade cryptofuzz

Git

To use the latest version from the source, you can clone the CryptoFuzz repository:

  1. Clone the repository:
git clone https://github.com/Pymmdrza/cryptofuzz
  1. Navigate to the cloned directory:
cd cryptofuzz
  1. Install the package:

Windows

You can either run the install.bat or install command:

./install.bat
# or
./install

Linux & Mac

On Linux and Mac, you can use the following commands to install:

bash install.sh
# or simply:
./install.sh

Note: If you face any permission issues on Linux, make the script executable using:

sudo chmod +x install.sh

Add New Class For Generate and Convert TON Address.

  • cryptofuzz.Ton
  • cryptofuzz.Ton.privatekey_to_address
  • cryptofuzz.Ton.mnemonic_to_address
  • cryptofuzz.Ton.decimal_to_address
  • cryptofuzz.Ton.publickey_to_address
  • cryptofuzz.Ton.raw_address

Add Function for Convert Private Key To Hex Address TRON :

  • cryptofuzz.hd.Tron.bytes_to_addr
  • cryptofuzz.hd.Tron.bytes_to_hex_addr
  • cryptofuzz.hd.Tron.pvk_to_hex_addr

Add Function for Convert Decimal Number to Tron Address :

  • cryptofuzz.hd.Tron.dec_to_addr

Add Function for checking mnemonic standard type :

  • cryptofuzz.utils.is_mnemonic
from cryptofuzz import Convertor

cn = Convertor()
isValid = cn.is_mnemonic("abandon ... help abandon flower")  # Mnemonic 12/18/24

Add Short Key (Mini Private Key) Converter for bitcoin wallet. (Mini Private Key : More Detail's)

Short Key Like: S6c56bnXQiBjk9mqSYE7ykVQ7NzrRy

  • Convert Short Key To Private Key (hex).
  • Convert Short Key To Seed (bytes)
  • Convert Short Key To Wif Compress and Uncompress.
  • Convert Short Key To Decimal Number.


Private Key

More details about private key convert in python with cryptofuzz : cryptofuzz/Example/Privatekey

from cryptofuzz import Convertor, Generator

# // Convertor and Generator Shortcut
conv = Convertor()
gen = Generator()
# // Generate private key
privatekey = gen.generate_private_key()
# // Convert private key To bytes
seed = conv.hex_to_bytes(privatekey)
# // Convert private key To mnemonic
mnemonic = conv.hex_to_mne(privatekey)
# // Convert private key To wif compress
wif_compress = conv.hex_to_wif(privatekey, True)
# // Convert private key To wif uncompress
wif_uncompress = conv.hex_to_wif(privatekey, False)
# // Convert private key To decimal number
dec = conv.hex_to_int(privatekey)
# // Convert private key To binary
binary_str = conv.hex_to_binary(privatekey)
# // Convert private key To xprv
xprv = conv.hex_to_xprv(privatekey)
# // Convert private key To xpub
xpub = conv.hex_to_xpub(privatekey)
# // Convert private key To compress address
compress_address = conv.hex_to_addr(privatekey, True)
# // Convert private key To uncompress address
uncompress_address = conv.hex_to_addr(privatekey, False)

Wif

Convert From Wif ( More detail and Example )

import os
from cryptofuzz import Convertor

conv = Convertor()

# // generate byte
byte = os.urandom(32)
# // convert Byte To wif
wif = conv.bytes_to_wif(byte)
# // wif to mnemonic
mnemonic = conv.wif_to_mne(wif)
# // Convert Wif To Hex
privatekey = conv.wif_to_hex(wif)
# // Convert bytes To WIF Uncompress
wif_uncompress = conv.bytes_to_wif(byte, False)
# // Convert Wif To Decimal Number
dec = conv.wif_to_int(wif)
# // Convert Wif To Binary
binary_str = conv.wif_to_binary(wif)
# // Convert Wif To xprv
xprv = conv.wif_to_xprv(wif)
# // Convert Wif To xpub
xpub = conv.wif_to_xpub(wif)
# // Convert Wif To compress address
compress_address = conv.wif_to_addr(wif, True)
# // Convert Wif To uncompress address
uncompress_address = conv.wif_to_addr(wif, False)

Mnemonic

Convert From Mnemonic (BIP39) ( More Detail )

from cryptofuzz import Convertor, Generator

conv = Convertor()
gen = Generator()

# Generate Mnemonic
mnemonic = gen.generate_mnemonic(12)
# Convert Mnemonic To Seed Bytes
seed = conv.mne_to_bytes(mnemonic)
# Convert Mnemonic To Hex
privatekey = conv.mne_to_hex(mnemonic)
# Convert Mnemonic To WIF Compress
wif_compress = conv.mne_to_wif(mnemonic, True)
# Convert Mnemonic To WIF Uncompress
wif_uncompress = conv.mne_to_wif(mnemonic, False)
# Convert Mnemonic To Decimal Number
dec = conv.mne_to_int(mnemonic)
# Convert Mnemonic To Binary
binary_str = conv.mne_to_binary(mnemonic)
# Convert Mnemonic To xprv
xprv = conv.mne_to_xprv(mnemonic)
# Convert Mnemonic To xpub
xpub = conv.mne_to_xpub(mnemonic)
# Convert Mnemonic To compress address
compress_address = conv.mne_to_addr(mnemonic, True)
# Convert Mnemonic To uncompress address
uncompress_address = conv.mne_to_addr(mnemonic, False)

Decimal

Convert From Decimal (Number) ( More Detail )

from cryptofuzz import Convertor, Generator

conv = Convertor()
gen = Generator()

# generate random number decimal
dec = gen.generate_decimal()
# decimal to mnemonic
mnemonic = conv.int_to_mnemonic(dec)
# Convert decimal To Hex
privatekey = conv.int_to_hex(dec)
# Convert decimal To WIF Compress
wif_compress = conv.int_to_wif(dec, True)
# Convert decimal To WIF Uncompress
wif_uncompress = conv.int_to_wif(dec, False)
# Convert Wif To Binary
binary_str = conv.int_to_binary(dec)

Related Skills

View on GitHub
GitHub Stars47
CategoryDevelopment
Updated7d ago
Forks19

Languages

Python

Security Score

95/100

Audited on Mar 25, 2026

No findings