I have created an encrypted bitcoin file. I know the password and I see the mkey in the hex dump. I would like to know where the AES key / IV pair are located in the wallet.dat file?

  • Which AES key are you referring to? – JBaczuk Jul 30 '19 at 18:58
  • The AES key and IV which is generated from the passphrase which is entered to encrypt the wallet. This is what I am looking for on my own wallet.dat file. – kmart875 Jul 30 '19 at 19:35

I imagine the Bitcoin-core source code may be a good guide to the layout of a wallet.dat file. You may need to find the source of the specific version of Bitcoin core that created (or last wrote) the wallet.dat file.

There is also https://en.bitcoin.it/wiki/Wallet which points you to various resources.

The format of this file is Berkeley DB. Tools that can manipulate wallet files include pywallet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.