Author

Topic: How to convert seed into the random entropy? (Read 441 times)

legendary
Activity: 3710
Merit: 1586
August 11, 2016, 05:54:34 AM
#5
So the wallet password is an additional source of entropy to the private key or not?

No it's not because then your seed would change everytime you changed the password. Even though the code says passphrase we have to follow the actual function calls to see what's being passed in there:

https://github.com/spesmilo/electrum/blob/f061fe047d9a6ac82ccca5e6d0911b7e088bf2f0/lib/wallet.py#L1757

You can see that calls to mnemonic_to_seed have a blank passphrase argument.
hero member
Activity: 854
Merit: 1009
JAYCE DESIGNS - http://bit.ly/1tmgIwK

I`m not sure if I can decypher it correctly, but it seems like the wallet password is added there too into the calculation.

Does this mean that if you don't set a wallet password initially (when you create the wallet), then you will get different private keys?

So the wallet password is an additional source of entropy to the private key or not?
hero member
Activity: 672
Merit: 504
a.k.a. gurnec on GitHub
Take a look at the pseudocode in the second half of this response on StackExchange, it may answer your question.
hero member
Activity: 854
Merit: 1009
JAYCE DESIGNS - http://bit.ly/1tmgIwK
I'm curious how does electrum convert the seed words into the random entropy that is used to generate the private keys. Obviously the 13 word seed format is not the correct format because the private keys are a number not text, so does how electrum does this.

Can somebody post here the code?
Jump to: