I've read that pub keys aren't exposed until they're spent from. Can someone show me an example of a transaction prior to the pub key being exposed and then after? Where do i look?


Just go to any typical, normal transaction on blockexplorer. Here's a link to one I picked at random. The input(s) are scripts where the public key and signature are provided to claim the outputs of previous transactions in the ScriptSig field. The output(s) are scripts where the public key has not yet been provided and contain only a hash of the public key in the ScriptPubKey field.

  • thanks for that. is the Hash160 a combination of RIPEMD160(SHA256)?
    – joe
    Mar 7 '13 at 21:50
  • @joe: Yes. It's documented here. Mar 8 '13 at 1:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.