11-21-2020, 01:59 PM
Hi.
There is something that escapes me.
If by salt we understand what is described in https://en.m.wikipedia.org/wiki/Salt_(cryptography) , I do not understand the following:
An encrypted "wallet.dat" file has the password hash and if it has salt, then the hash is the password + the salt.
But a "wallet.dat" file is a separate and transportable file. I mean that if I have Bitcoin Core installed on one computer with its “wallet.dat”, and now I copy the “wallet.dat” on another computer with Bitcoin Core, the “wallet.dat” also works on this second computer. I mean, I can transfer bitcoins only with the password. How does this second computer know which salt to add to the password to decrypt the private keys?
According to the Wikipedia article, salts are kept separate from hashes to be effective.
I explain, right?
A greeting.
There is something that escapes me.
If by salt we understand what is described in https://en.m.wikipedia.org/wiki/Salt_(cryptography) , I do not understand the following:
An encrypted "wallet.dat" file has the password hash and if it has salt, then the hash is the password + the salt.
But a "wallet.dat" file is a separate and transportable file. I mean that if I have Bitcoin Core installed on one computer with its “wallet.dat”, and now I copy the “wallet.dat” on another computer with Bitcoin Core, the “wallet.dat” also works on this second computer. I mean, I can transfer bitcoins only with the password. How does this second computer know which salt to add to the password to decrypt the private keys?
According to the Wikipedia article, salts are kept separate from hashes to be effective.
I explain, right?
A greeting.