What is the largest password/passphrase size for a wallet.dat file?

2

1

Suppose your wallet.dat file is copied to the wild.

I am working on methods for creating very strong (512bits, hopefully much more) passphrases that would make it unfeasible to either use rainbow tables or to try brute force it.

Ideally, even if:

i) one's passphrase is simple; and
ii) the wallet.dat file is copied...

...an adversary would have to employ giant computing power to try to unlock it.

Since I couldn't get it from the documentation, I wonder if anyone knows how large (in, say, bytes) a passphrase/password can be.

related question: How does the Bitcoin client encrypt the wallet.dat file?

linhares

Posted 2015-11-02T06:26:59.503

Reputation: 391

2I don't think it makes sense to bother with a 512 bit passphrase, given that the actual encryption is done with a 256 bit cipher.Nick ODell 2015-11-02T06:52:31.910

It seems to me that does make sense to at least use it in creating the final passphrase (which can of course be smaller); because of so much outstanding Hw/GPU sw deployed for partial/full sha256 collisions. Doesn't it?linhares 2015-11-02T15:44:50.420

Oh, and that's the cipher size? 256bits? So that's what I'm after then. Many many thanks!linhares 2015-11-02T15:45:25.297

Answers

2

So just like Nick said, If the encryption is done using 256 bits then creating a passphrase which is 512 bits long would be the same as creating a passphrase which is 256 bits long (as long as its random).

You should look into brainwallets as they provide a way to create strong passwords which are also easily memorable since all you have to memorize is a 3 line poem.

Marat Arguinbaev

Posted 2015-11-02T06:26:59.503

Reputation: 86