Skip to content

Releases: ProgrammerKR/HashX

HashX v1.0.1 - Initial Release

24 Mar 23:58
fb889c3
Compare
Choose a tag to compare

HashX High-Performance 512-bit Hashing Algorithm

HashX is an ultra-fast, efficient, and secure 512-bit hashing algorithm designed for data integrity verification, indexing, checksums, and cryptographic applications.

Built with multiprocessing, optimized bitwise operations, and an advanced mixing function, HashX delivers exceptional speed, enhanced security, and scalability.


Features

  • High-Speed Processing: Optimized bitwise operations & low-level transformations.
  • Multiprocessing Execution: Parallel chunk processing for maximum performance.
  • 512-bit Strong Hash Output: Higher entropy for better collision resistance.
  • Advanced Cryptographic Mixing: Inspired by MurmurHash3 and SipHash for strong diffusion.
  • Keyed Hashing (HMAC-like security): Protection against pre-image attacks.
  • Bitwise Rotation Optimization: Faster and more secure state transformations.
  • Lightweight & Scalable: Low memory usage, works on large datasets.
  • Strong Avalanche Effect: Small input changes drastically modify the hash.
  • Cross-Platform & Extensible: Works seamlessly in Python, with planned support for C/Rust.

Installation

Using GitHub

Clone the repository:

git clone https://github.com/ProgrammerKR/HashX.git

Navigate to the directory:

cd HashX

Using PyPI (Coming Soon!)

pip install hashx

Usage

Python Example

from hashx import HashX    
  
hasher = HashX()    
print(hasher.hash("Hello, World!"))  # Example usage

How It Works

  1. Initialization: Hash state consists of 8 unique parts, seeded for strong uniqueness.
  2. Chunk Processing: Data is split into 64-bit blocks, processed in parallel using multiprocessing.
  3. Bitwise Mixing & Rotation: Advanced scrambling ensures strong randomness and security.
  4. Keyed Processing: Optional secure key integration for HMAC-style authentication.
  5. Finalization Rounds: Enhanced diffusion eliminates weak patterns.
  6. Output Generation: 512-bit hexadecimal hash is returned.

Benchmarking (Coming Soon!)

HashX is being tested against SHA-256, SHA-512, BLAKE3, xxHash, and MurmurHash3 for speed and efficiency.


Future Plans

  • C and Rust Implementation for ultra-fast performance.
  • GPU Acceleration using CUDA/OpenCL.
  • Cryptographic Security Mode for password hashing and HMAC support.

Contributing

Contributions are welcome! Feel free to fork the repo, submit issues, or create pull requests.

For discussions and updates, join the HashX Developer Community (coming soon!).


License

MIT License – Open-source and free to use!

GitHub Repository: ProgrammerKR/HashX