145k views
5 votes
You are planning trip to South America and and are worried about your devices with private keys being stolen. So you decide to store your bitcoins in an address that allows you to redeem them using only a password that you know. So, you send some bitcoins to the following ScriptPubKey:OP_SHA1 <0x5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8> OP_EQUALWhere <0x5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8> is the SHA1 hash of your super-secure password.Which of the following ScriptSigs will successfully redeem this transaction?a. b. c. d.

1 Answer

6 votes

Incomplete question. Here's the remaining part of the question.

a. <sig> <pubKey>

b. <password>

c. <sig> <password>

d. <pubKey> <password>

Answer:

a

Step-by-step explanation:

Remember, Bitcoin also has its script code which is called ScriptPubkey.

To redeem a transaction implies using the script

<sig> <pubKey>

for the receiving Bitcoin address.

Put simply, the purpose of this script is to lock (redeem) the transaction using the public key (bitcoin address).

User ProjectDelta
by
2.8k points