Working with Bitcoin HD wallets: Key derivation