Skip to content
项目

关于

KeyZero 是一款基于 Python 的工具,用于暴力破解比特币私钥。它会生成随机或连续的私钥,计算对应的公钥地址,并通过离线数据库或在线 API 检查这些地址是否持有比特币余额。

数据与分析

这些数字如何统计

可以做什么

  • Efficiency: Utilizes the bit library for fast key generation and address computation.
  • Flexibility: Supports both online and offline modes for address checking.
  • User Interaction: Provides an interactive command-line interface for ease of use.
  • Results Storage: Saves found keys to foundkey.txt.

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

KeyZero (previously Btcbf) CodeFactor

KeyZero is a Python-based tool designed for brute-forcing Bitcoin private keys. It generates random or sequential private keys, computes their corresponding public addresses, and checks them against an online API or an offline database to determine if they hold any Bitcoin balance. The name "KeyZero" humorously reflects the near-zero chance of finding a valid key, making it a fun and educational tool for exploring Bitcoin's security.


Features

  • Efficiency: Utilizes the bit library for fast key generation and address computation.
  • Flexibility: Supports both online and offline modes for address checking.
  • User Interaction: Provides an interactive command-line interface for ease of use.
  • Results Storage: Saves found keys to foundkey.txt.
  • Progress Tracking: Displays the number of keys checked per second and elapsed time.
  • Resume Functionality: Can resume sequential brute-forcing from where it left off using a cache file (cache.txt).

Quick Start

  1. Clone the Repository:

    $ git clone https://github.com/vlnahp/KeyZero.git
    
  2. Navigate to the Directory:

    $ cd KeyZero
    
  3. Install Dependencies:

    $ pip install -r requirements.txt
    
  4. Run the Tool:

    $ python KeyZero.py  # or python3 KeyZero.py on Linux
    

Requirements

  • Offline Mode: Requires a database of Bitcoin addresses. By default, address.txt is used, which contains a limited set of addresses. For a comprehensive database, download the latest address list from here and replace address.txt. Ensure your system has sufficient RAM to handle large databases.

Usage

Execute the tool and follow the on-screen instructions to select your desired action. The tool will guide you through the process of generating and checking private keys.

Options

  1. Generate Random Key Pair: Creates a random Bitcoin private key and public address.
  2. Generate Address from Private Key: Computes the public address for a given private key.
  3. Brute-Force Bitcoin (Offline Mode): Checks generated addresses against a local database.
  4. Brute-Force Bitcoin (Online Mode): Checks generated addresses against the Blockchain API.

License

KeyZero is licensed under a strong copyleft license, ensuring that any modifications or larger works using this tool must also be open-sourced under the same license. This includes preserving copyright and license notices and providing an express grant of patent rights. If a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.


Latest Release

Download the latest version (v1.2.0) from here.


Disclaimer

The primary goal of KeyZero is educational, aimed at learning Python and understanding Bitcoin's security mechanisms. It is not intended for malicious purposes. The security of Bitcoin remains robust, especially against classical computing threats. However, the advent of quantum computing could pose future challenges.


Contributing

Contributions are welcome! Please ensure that any modifications adhere to the licensing terms and include appropriate documentation. To contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Submit a pull request with a detailed description of your changes.

Support

For issues or support, please open an issue on the GitHub repository.


Why "KeyZero"?

The name "KeyZero" humorously reflects the near-zero chance of finding a valid Bitcoin private key through brute-forcing. It serves as a reminder of the immense security of Bitcoin's cryptographic design while providing a fun and educational tool for exploring its mechanics.


Tagline

"Chasing the impossible, one key at a time."


探索相关项目

加载中…