bitcoin-crypto-toolkit

Crates.iobitcoin-crypto-toolkit
lib.rsbitcoin-crypto-toolkit
version0.1.0
created_at2025-12-06 17:34:21.024306+00
updated_at2025-12-06 17:34:21.024306+00
descriptionA CLI tool and Rust library for Bitcoin cryptography operations including SHA256, RIPEMD160, HASH160, secp256k1 key generation, and address derivation
homepage
repository
max_upload_size
id1970452
size19,952
Lateef Tosin (Emmyt24)

documentation

README

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

cargo install bitcoin-crypto-toolkit

As a Library

Add to your Cargo.toml:

[dependencies]
bitcoin-crypto-toolkit = "0.1.0"

Usage

CLI Examples

Generate a new keypair:

bitcoin-crypto-toolkit generate-key

Derive address from public key:

bitcoin-crypto-toolkit derive-address 02...

Hash some data (hex input):

bitcoin-crypto-toolkit sha256 68656c6c6f

License

MIT

Commit count: 0

cargo fmt