0

So far as I understand it, a Bitcoin transaction is signed with a private key and the rest of the network can then use the public key to verify that it is indeed signed by the right private key. However, as public keys are hashed, how do I use them to verify the private key?

4

When an output is spent, the corresponding public key is disclosed and used in the verification.

  • Ah okay, so whenever you send something you show the public keys. I assume that is only why you should not use the same addresses multiple times? – no nein Aug 21 '17 at 20:21
  • @nonein: That's one of the reasons, yes. Specifically, reusing addresses opens a vulnerability to quantum computers. – Meni Rosenfeld Aug 21 '17 at 21:14

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.