Hash Functions

This tool computes the SHA256, Hash256, RIPEMD160, and Hash160 of a given input

Bitcoin Hash Functions

Select a hash function and enter a hex value to compute its hash

SHA256

Single SHA256 hash, foundational cryptographic hash function used widely in Bitcoin processes.

Used in Bitcoin for:
  • First step in Hash256 (double-SHA256)
  • Checksum calculation in BIP39 mnemonic generation
  • Tagged hashes in Taproot (BIP340/BIP341)

Double SHA256 (Hash256)

Double SHA256 (SHA256 applied twice), standard Bitcoin hashing method for IDs and proofs.

Used in Bitcoin for:
  • Block hash calculation
  • Transaction ID (txid) generation
  • Merkle tree node hashing
  • Proof-of-Work mining

RIPEMD160

RIPEMD160 hash function, used in combination with SHA256 for creating shorter addresses.

Used in Bitcoin for:
  • Second step in Hash160 (SHA256 + RIPEMD160)
  • Used after SHA256 in public key hashing
  • Ensures shorter, fixed-length address representation

Hash160 (SHA256 + RIPEMD160)

SHA256 followed by RIPEMD160, standard method to hash public keys and scripts for Bitcoin addresses.

Used in Bitcoin for:
  • P2PKH address generation
  • P2SH script hash calculation
  • P2WPKH (SegWit) witness program
Example Test Values
0000000000000000000000000000000000000000000000000000000000000000

Zero hash (32 bytes)

Custom Input
Suggest Edits
View our public visitor count
Built with 🧡 by the Bitcoin Dev Project
We'd love to hear your feedback on this project?Give Feedback