<p>After much searching, I found the bit of code that uses "Bitcoin seed". So yes, Bitcoin Core uses the string "Bitcoin seed" in tandem with a random seed.</p>

<p><a href="https://github.com/bitcoin/bitcoin/blob/d0f81a96d9c158a9226dc946bdd61d48c4d42959/src/key.cpp#L302" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/d0f81a96d9c158a9226dc946bdd61d48c4d42959/src/key.cpp#L302</a></p>

CC BY-SA 4.0
2019-06-09T18:46:31.593Z
2019-06-09T18:46:31.593Z
kcalvinalvin
<p>In BIP 32 it's stated that a Master Private key is generated by hashing the concatenation of a random seed and the string "Bitcoin seed". And is like so in the example implementations.</p>

<p>But I couldn't find such string on Bitcoin Core's codebase. Is the seed just hashed directly to form the Master Key and Master chain code?</p>

<bitcoin-core><private-key><bip32-hd-wallets>
Does Bitcoin Core still use "Bitcoin seed" in addition to a seed like stated in BIP 32?
kcalvinalvin
# Does Bitcoin Core still use "Bitcoin seed" in addition to a seed like stated in BIP 32?

(Asked by: username_0 on 2019-06-09)

In BIP 32 it's stated that a Master Private key is generated by hashing the concatenation of a random seed and the string "Bitcoin seed". And is like so in the example implementations.

But I couldn't find such string on Bitcoin Core's codebase. Is the seed just hashed directly to form the Master Key and Master chain code?

**Tags:** bitcoin-core, private-key, bip32-hd-wallets


---

## 1 answers

### Answer by username_0 on 2019-06-09. Score: 1 | Accepted answer

After much searching, I found the bit of code that uses "Bitcoin seed". So yes, Bitcoin Core uses the string "Bitcoin seed" in tandem with a random seed.

<https://github.com/bitcoin/bitcoin/blob/d0f81a96d9c158a9226dc946bdd61d48c4d42959/src/key.cpp#L302>


---

