Hi
I'm trying to understand/duplicate the second-level password encryption used at the blockchain.info site.
https://blockchain.info/wallet/wallet-formatTheir site says that the dpasswordhash value is calculated as 10 rounds of SHA256 on the sharedKey plus the secondpassword.
var dpasswordhash = Crypto.SHA256(sharedKey + secondPassword);
However, when I try to duplicate this functionality, I get a different dpasswordhash value.
Has anyone got some pseudo-code that can show this working (and actually getting the correct dpasswordhash value)?
(I can't make much sense of the javascript available at their site)
I've tried various things, such as using command line openssl, as per
openssl dgst -sha256 -hex -out tempout.txt tempin.txt
or similar, but I can't get the right answer
grrrr
Thanks for any advice!