This script uses CUDA to mine a specific SHA256 hash prefix using a nonce in the tIME PNG chunk
  • Python 43.6%
  • Cuda 39.6%
  • C 16.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-02-01 09:40:49 -07:00
.gitignore Initial commit 2025-02-01 09:40:49 -07:00
cuda_code.cu Initial commit 2025-02-01 09:40:49 -07:00
miner.py Initial commit 2025-02-01 09:40:49 -07:00
README.md Initial commit 2025-02-01 09:40:49 -07:00
requirements.txt Initial commit 2025-02-01 09:40:49 -07:00
sha256_cuda.h Initial commit 2025-02-01 09:40:49 -07:00

PNG Image SHA256 Hash Miner (CUDA)

Description

This script uses CUDA to mine a specific SHA256 hash prefix using a nonce in the tIME PNG chunk

Installation

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

You'll also need to have the CUDA packages installed for you system of course

Usage

# This took about 10 minutes on a RTX4090, 4 character prefix finishes almost instantly
python miner.py --image cow.png --prefix deadbeef