Question: Bitcoin script: Alice is on a backpacking trip and is worried about her devices containing private keys getting stolen. So, she would like to store

Bitcoin script: Alice is on a backpacking trip and is worried about her devices containing private keys getting stolen. So, she would like to store her bitcoins in such a way that they can be redeemed via knowledge of only a password. Accordingly, she stores them in the following ScriptPubKey address: OP_SHA1 <0xeb271cbcc2340d0b0e6212903e29f22e5 78ff69b> OP_EQUAL

a. Write a ScriptSig script that will successfully redeem this transaction. [Hint: it should only be one line long.]

b. Explain why this is not a secure way to protect Bitcoins using a password.

c. Would implementing this using Pay-to-script-hash (P2SH) fix the security issue(s) you identified? Why or why not?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!