I am reviewing Bitcoin Core source code. I am following the code which states take a double sha 256 of the public key to get the IV and use the master key for the encryption key for encrypted wallet.dat file. So I have completed the following: 1. Set passphrase for my walltt.dat file. 2. Took a Double sha 256 for the compressed public key 3. Place master key in as encryption key 4. Placed encrypted private key as the input data.

I do not get the already calculated private key shown in my dumpwallet file. Did I miss some parameter for the above calculation?

I have also retrieved IV and Key from the running compiled program from github. The values do not match the ones calculated manually. Thanks for the help in advance.

Your Answer

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

Browse other questions tagged or ask your own question.