Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Dipt on April 15, 2014, 02:45:43 PM



Title: Simple solution for a safe privatekey?
Post by: Dipt on April 15, 2014, 02:45:43 PM
Hi there,

I was thinking about a brainwallet, but what if you loose or forget the passphrase then your F'ed
What if you take your private key, let's say this one (random one from bitaddress)

5JsMqmQ6PLR66wkzPGf8j47ertZSKi34H6q32n97s2KpDudymjT

and you take just a number or letter, and you put a +1.
So if you would take the 8th place of the private key(above) that's the nr 6 and you put +1 it gets 7.
If you would have a small letter you use a small letter+1 if its Cap you use a Cap +1.

5JsMqmQ7PLR66wkzPGf8j47ertZSKi34H6q32n97s2KpDudymjT

You now safe this on your paper wallet or somewhere else. If somebody takes your paperwallet or usb they don't have anything because only you know you changed one number/letter. Its also much simpler to remember. What do you think?
Was just an idea  ;D

Greets DIPT


Title: Re: Simple solution for a safe privatekey?
Post by: jimhsu on April 15, 2014, 04:05:00 PM
51 guesses says that I would guess that key.

If you allow -1 and +1, that would be 102. If you allow two characters, that greatly improves to 51*50 = 2550. And so on. All of this would still take milliseconds on even a phone.

Better to BIP38 your key. Even a three character alphanum password (horribly insecure) would buy you a couple of orders of magnitude more security (considering the difficulty of scrypt also). Security through obscurity usually doesn't work.



Title: Re: Simple solution for a safe privatekey?
Post by: uminatsu on April 15, 2014, 04:20:50 PM
The base58check encoding has a 32-bit checksum built in, so if you change one or two letters it is not only possible to detect the error, but to recover the correct key as well.


Title: Re: Simple solution for a safe privatekey?
Post by: TierNolan on April 15, 2014, 08:08:39 PM
The base58check encoding has a 32-bit checksum built in, so if you change one or two letters it is not only possible to detect the error, but to recover the correct key as well.

Armory even uses that for its paper wallets.  You can make a 1 letter error per line, and it will work out what you should have typed.

For paper wallets, the highest risk is losing the piece of paper.  Someone breaking into your house and finding the piece of paper is possible but much lower odds.


Title: Re: Simple solution for a safe privatekey?
Post by: jparsley on April 16, 2014, 03:46:54 PM
U can change all capital letters to small case and all small to capital. Just double check its correct before throwin the real priv key