<p>You can treat the redeemScript as the public key. The redeemScript, like the public key, is revealed entirely when you spend from your multisig address. So it will become public information, much like your public key will also become public information when it is used in an input.</p>

<p>The redeemScript cannot really be used to do anything particularly bad unless the redeemScript has certain conditions which allows someone to do so. For multisig, there are no such conditions. Having the redeemScript only allows you to see what the specific conditions for spending an output are, and that information by itself is not useful.</p>

CC BY-SA 4.0
2018-07-05T06:45:12.227Z
2018-07-05T06:45:12.227Z
Ava Chow
<p>When I do <code>createmultisig</code> in bitcoin core, I get the redeemscript as output. I of course want to save this information, but can I put this in my regular database or do I need to take extra precaution with the redeemScript? </p>

<p>In Short: Should I treat the redeem script as a private key, public key, or address hash (what level of security/and do i need to treat it with). This is from a "if it get stolen" perspective. What is the worst thing someone can do with a redeemScript?</p>

<bitcoin-core><bitcoind>
Are redeemScripts private?
user3554230
# Are redeemScripts private?

(Asked by: username_0 on 2018-07-05)

When I do `createmultisig` in bitcoin core, I get the redeemscript as output. I of course want to save this information, but can I put this in my regular database or do I need to take extra precaution with the redeemScript?

In Short: Should I treat the redeem script as a private key, public key, or address hash (what level of security/and do i need to treat it with). This is from a "if it get stolen" perspective. What is the worst thing someone can do with a redeemScript?

**Tags:** bitcoin-core, bitcoind


---

## 1 answers

### Answer by username_1 on 2018-07-05. Score: 2

You can treat the redeemScript as the public key. The redeemScript, like the public key, is revealed entirely when you spend from your multisig address. So it will become public information, much like your public key will also become public information when it is used in an input.

The redeemScript cannot really be used to do anything particularly bad unless the redeemScript has certain conditions which allows someone to do so. For multisig, there are no such conditions. Having the redeemScript only allows you to see what the specific conditions for spending an output are, and that information by itself is not useful.


---

