Author

Topic: Why MD5 on mulitbit classic? (Read 733 times)

newbie
Activity: 9
Merit: 0
May 25, 2016, 03:32:24 AM
#3
For Classic the default bitcoinj key derivation was used.

For HD we switched to Scrypt because we thought the algorithm was superior, and 16,384 rounds was the version used in the Scrypt description paper so we thought it was OK to use.  There are various different salts used in HD so that the same wallet words used for different wallet types (Trezor walet, soft wallet) would not collide.

Thanks, that was helpful. I was surprised that not more wallets use scrypt. Bitcoin-core has some code in place to deploy scrypt in the future though.
newbie
Activity: 17
Merit: 0
May 23, 2016, 08:04:19 AM
#2
For Classic the default bitcoinj key derivation was used.

For HD we switched to Scrypt because we thought the algorithm was superior, and 16,384 rounds was the version used in the Scrypt description paper so we thought it was OK to use.  There are various different salts used in HD so that the same wallet words used for different wallet types (Trezor wallet, soft wallet) would not collide.
newbie
Activity: 9
Merit: 0
May 20, 2016, 08:00:42 AM
#1
Hello,

I hope this is a good place to ask this question. I do security research on some bitcoin wallets. Among them multibit classic and HD. I was wondering why MD5 was used for key stretching in classic. Also, why was/is a fixed number of rounds used? Classic uses 1024 rounds of MD5. HD uses Scrypt with an N value of 16384 and some more bitcoin specific things.

"I just felt like it" is a perfectly fine answer.
Jump to: