Bitcoin Crypto Toolkit
A CLI tool and Rust library for Bitcoin-related cryptography operations.
Features
- SHA256: Compute SHA256 hash of input data
- RIPEMD160: Compute RIPEMD160 hash of input data
- HASH160: Compute HASH160 (RIPEMD160 of SHA256) of input data
- Key Generation: Generate secp256k1 keypairs
- Address Derivation: Derive P2PKH Bitcoin addresses from public keys
Installation
As a CLI Tool
As a Library
Add to your Cargo.toml:
[]
= "0.1.0"
Usage
CLI Examples
Generate a new keypair:
Derive address from public key:
Hash some data (hex input):
License
MIT