<p>Yes, descriptor wallets can be encrypted using Bitcoin Core's passphrase encryption feature, just like legacy wallets.</p>
<p>It encrypts just the private keys, so encrypted wallets can be used normally for most purposes without access to the passphrase, but sending/signing do need it.</p>

CC BY-SA 4.0
2021-11-22T15:32:29.483Z
2021-11-22T15:51:31.327Z
2021-11-22T15:51:31.327Z
Pieter Wuille
<p>Bitcoin Core provides a builtin feature by which Berkeley DB Bitcoin Core legacy wallet files can be encrypted with a passphrase.</p>
<p>Can the same or similar be done to Bitcoin Core descriptors wallet files?</p>

CC BY-SA 4.0
2021-11-22T13:35:11.897Z
I'm assuming you are asking if there are instructions to be able to encrypt descriptor wallet files? I'm assuming you know that any data of any form can be encrypted?
Michael Folkson
CC BY-SA 4.0
2021-11-22T15:33:13.433Z
I suspect OP is asking whether Bitcoin Core supports encrypting private keys in a wallet file, not about file-level encryption in general.
Pieter Wuille
CC BY-SA 4.0
2021-11-22T22:07:39.977Z
@MichaelFolkson edited :D
Mercedes
<bitcoin-core><wallet>
Can a descriptors wallet be encrypted?
Mercedes
# Can a descriptors wallet be encrypted?

(Asked by: username_0 on 2021-11-22)

Bitcoin Core provides a builtin feature by which Berkeley DB Bitcoin Core legacy wallet files can be encrypted with a passphrase.

Can the same or similar be done to Bitcoin Core descriptors wallet files?

**Tags:** bitcoin-core, wallet

> **Comments:**
> **username_1**: I'm assuming you are asking if there are instructions to be able to encrypt descriptor wallet files? I'm assuming you know that any data of any form can be encrypted?  
> **username_2**: I suspect OP is asking whether Bitcoin Core supports encrypting private keys in a wallet file, not about file-level encryption in general.  
> **username_0**: @username_1 edited :D  

---

## 1 answers

### Answer by username_2 on 2021-11-22. Score: 2 | Accepted answer

Yes, descriptor wallets can be encrypted using Bitcoin Core's passphrase encryption feature, just like legacy wallets.

It encrypts just the private keys, so encrypted wallets can be used normally for most purposes without access to the passphrase, but sending/signing do need it.


---

