pointbiz / bitaddress.org

JavaScript Client-Side Bitcoin Wallet Generator
https://www.bitaddress.org
2.42k stars 1.5k forks source link

When using the brainwallet function, is there a maximum number of characters you can use? #285

Open Haula1 opened 1 year ago

Haula1 commented 1 year ago

See title. I was wondering what the max amount of inputs are for the passphrase for a brainwallet.

yuric commented 1 year ago

It is limited by what your brain can remember.

Brainwallet algorithm uses a hash function of entered data for creating the private key. That being said there might be a limit on the html textfield element in this implementation which I am not sure (way more than you can remember - probably something around half a million or more characters).

Note: This implementation has a minimum req.