Knowledge Notes | Hash Functions
① Common Bitcoin P2PKH and P2WPKH addresses are generated by first applying SHA-256 to the public key, then RIPEMD-160, producing a 160-bit public key hash.
② The same input always produces the same hash. Even changing just one character in the input will make the hash completely different.
③ Don’t confuse a transaction hash with a private key: transaction hashes can be public, but private keys and recovery phrases must never be shared.
$BTC 59388.78(-0.87%)
① Common Bitcoin P2PKH and P2WPKH addresses are generated by first applying SHA-256 to the public key, then RIPEMD-160, producing a 160-bit public key hash.
② The same input always produces the same hash. Even changing just one character in the input will make the hash completely different.
③ Don’t confuse a transaction hash with a private key: transaction hashes can be public, but private keys and recovery phrases must never be shared.
$BTC 59388.78(-0.87%)
