Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 6. Bitcoin script. Alice is on a backpacking trip and is worried about her devices con- taining private keys getting stolen. She wants to
Problem 6. Bitcoin script. Alice is on a backpacking trip and is worried about her devices con- taining private keys getting stolen. She wants to store her bitcoins in such a way that they can be redeemed via knowledge of a password. Accordingly, she stores them in the following ScriptPubKey address OP_SHA256 OP EQUAL a. Write a ScriptSig script that will successfully redeem this transaction given the password. Hint: it should only be one line long. b. Suppose Alice chooses an eight character password. Explain why her bitcoins can be stolen soon after her UTXOs are posted to the blockchain. You may assume that computing SHA256 of all eight character passwords can be done in reasonable time. c. Suppose Alice chooses a strong 20 character passphrase. Is the ScriptPubKey above a secure way to protect her bitcoins? Why or why not? Hint: reason through what happens when she tries to redeem her bitcoins Problem 6. Bitcoin script. Alice is on a backpacking trip and is worried about her devices con- taining private keys getting stolen. She wants to store her bitcoins in such a way that they can be redeemed via knowledge of a password. Accordingly, she stores them in the following ScriptPubKey address OP_SHA256 OP EQUAL a. Write a ScriptSig script that will successfully redeem this transaction given the password. Hint: it should only be one line long. b. Suppose Alice chooses an eight character password. Explain why her bitcoins can be stolen soon after her UTXOs are posted to the blockchain. You may assume that computing SHA256 of all eight character passwords can be done in reasonable time. c. Suppose Alice chooses a strong 20 character passphrase. Is the ScriptPubKey above a secure way to protect her bitcoins? Why or why not? Hint: reason through what happens when she tries to redeem her bitcoins
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started