Bitcoin Forum
May 09, 2024, 07:12:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can I create new private key  (Read 320 times)
Erty5678 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
August 27, 2018, 12:09:58 AM
 #1

Hi guys.  I want to get the details of my paper wallet from an offline bitaddress.org.  I entered an invalid  private key and a pop up window had the following:" the text you entered is not a valid key.  Would you like to use the entered text as a paraphrase and create a private key using a SHA256 hash of the paraphrase?  Warning:  choosing a strong paraphrase is important to avoid brute force attempts to guess your paraphrase and steal your bitcoins".  Please what do you advise.  Thanks.
1715238737
Hero Member
*
Offline Offline

Posts: 1715238737

View Profile Personal Message (Offline)

Ignore
1715238737
Reply with quote  #2

1715238737
Report to moderator
1715238737
Hero Member
*
Offline Offline

Posts: 1715238737

View Profile Personal Message (Offline)

Ignore
1715238737
Reply with quote  #2

1715238737
Report to moderator
1715238737
Hero Member
*
Offline Offline

Posts: 1715238737

View Profile Personal Message (Offline)

Ignore
1715238737
Reply with quote  #2

1715238737
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715238737
Hero Member
*
Offline Offline

Posts: 1715238737

View Profile Personal Message (Offline)

Ignore
1715238737
Reply with quote  #2

1715238737
Report to moderator
1715238737
Hero Member
*
Offline Offline

Posts: 1715238737

View Profile Personal Message (Offline)

Ignore
1715238737
Reply with quote  #2

1715238737
Report to moderator
DaCryptoRaccoon
Hero Member
*****
Offline Offline

Activity: 1202
Merit: 582


OGRaccoon


View Profile
August 27, 2018, 12:32:01 AM
 #2

Hi guys.  I want to get the details of my paper wallet from an offline bitaddress.org.  I entered an invalid  private key and a pop up window had the following:" the text you entered is not a valid key.  Would you like to use the entered text as a paraphrase and create a private key using a SHA256 hash of the paraphrase?  Warning:  choosing a strong paraphrase is important to avoid brute force attempts to guess your paraphrase and steal your bitcoins".  Please what do you advise.  Thanks.

Your private key should look like one of the following below..

Bitcoin private keys (this section is largely based on data from bitaddress.org)

    WIF (Wallet Import Format) (51 characters base58, starting with "5").
    Example: 5KMWmYkn5YWkJnUDG4utD9L1HXQv3DBseqqCGsQXmthcEerbA7k

    WIF Compressed (52 characters base58, starting with "K" or "L".
    Example: L41YPdADy46J9Vh77WGR2bktFwEZ6knza2Xim3Urq9CEWynkkLgn

    Note: both WIF and WIF Compressed are derived from the same private key, but result in different Bitcoin addresses.
    Private Key Hexadecimal (64 characters [0-9A-F]) (less common).
    Example: CA9A061710B8BC582E1B8BB60D0F3F2751791888AB5C18737620087ABDF74A05

    Private Key (44 characters base64) (less common).
    Example: ypoGFxC4vFguG4u2DQ8/J1F5GIirXBhzdiAIer33SgU=

    Mini private key (30 characters base58, starting with "S", see wiki).
    Example: Sf2i92UoH3kMooYXHdDQ4YQvLTdPrQ

    BIP38 password encrypted private key (58 characters base58, starting with "6P", see bitcoinpaperwallet.com).
    Example: 6PRNqE9p5hTUgNy5cxXnrfVKZPX5Qz8sqB7oNfDT9N3YdCM7rqRxruxkN1

    Private key missing checksum
    Example: 5KMWmYkn5YWkJnUDG4utD9L1HXQv3DBseqqCGsQXmthcEerbA7k

 Credit to LoyceV for the list from this topic.

https://bitcointalk.org/index.php?topic=4959742.0


┏━━━━━━━━━━━━━━━━━┓
┃   💎 Mine Solo with CKPool 💎    ┃
┃    ➤ Hit Blocks on Your Own!      ┃
┃ ███▓▓  ███▓▓  ███▓▓  ███▓▓┃
Erty5678 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
August 27, 2018, 12:48:27 AM
 #3

Hi.  My private key starts with L AND is 52 characters.  My paper wallet public address starts with 1 and is 34 characters.  Unfortunately  I wrote is down on a paper and it seems I may have made a mistake.  I have been trying to spot where the mistake has occurred by changing some possible characters.  That is when the pop window appeared that has the statement I made above.  So I do not know if I should click ok or cancel.   Thanks.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10555



View Profile
August 27, 2018, 03:09:45 AM
 #4

Hi.  My private key starts with L AND is 52 characters.  My paper wallet public address starts with 1 and is 34 characters.  Unfortunately  I wrote is down on a paper and it seems I may have made a mistake.  I have been trying to spot where the mistake has occurred by changing some possible characters.  That is when the pop window appeared that has the statement I made above.  So I do not know if I should click ok or cancel.   Thanks.

you should click cancel because clicking OK will do something else that you don't want (will create a new key pair with the input string as a passphrase).

the base58 character set that your private key is using are these
Code:
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
it is upper and lower case letters and numbers excluding: 0 (zero), O (capital o), I (capital i) and l (lower case L). check to see if you miss-typed anything.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nc50lc
Legendary
*
Online Online

Activity: 2408
Merit: 5591


Self-proclaimed Genius


View Profile
August 27, 2018, 03:57:50 AM
 #5

I entered an invalid  private key and a pop up window had the following:
You mean this pop-up window?


It's pretty self explanatory.
Since you've entered an invalid private key, the site's asking you if you want to make a "Brainwallet" out of it as a new private key and address pair.
Yeah that could go over any newbies' head or non-English speaker's, it's pretty unnecessary option and should be depreciated  from the code.

Do what pooya87 told you, click cancel.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
TheArchaeologist
Sr. Member
****
Offline Offline

Activity: 310
Merit: 727


---------> 1231006505


View Profile WWW
August 27, 2018, 07:13:55 AM
Last edit: August 27, 2018, 02:06:31 PM by TheArchaeologist
 #6

Hi.  My private key starts with L AND is 52 characters.  
This indicates  your private key is in the format of a WIF (Wallet Import Format) for a compressed private key. Since all the signs (correct length, starting with either L or K) indicate you have a valid key chances are big you made a typo in entering the key.

Since the WIF you are trying to enter is encoded in Base-58 certain characters can not be in the address like the number 0 (zero), capital O, lower l.
Please check if the key (WIF) you entered) only consists of these characters:

Code:
123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz



Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
seoincorporation
Legendary
*
Offline Offline

Activity: 3150
Merit: 2931


Top Crypto Casino


View Profile
August 27, 2018, 01:49:16 PM
 #7

I entered an invalid  private key and a pop up window had the following:" the text you entered is not a valid key.
This mean your private key have a problem, if you write it by hand be careful with 1, l, I... or other similar characters, but if you do it direct with a QR. each wallet have different steps to import privatekeys:
Electrum: https://support.btcprivate.org/403137-Bitcoin-Private-Electrum-Wallet---How-to-sweepimport-Private-Key
Bitcoin core: https://www.bitcoin.com/guides/how-to-import-and-export-bitcoin-private-keys
Blockchain info: https://blog.blockchain.com/2014/06/18/tutorial-the-import-export-feature-in-your-blockchain-wallet/
Would you like to use the entered text as a paraphrase and create a private key using a SHA256 hash of the paraphrase?
Is better if you fix it your self before involve some one in the problem  Tongue But we will help you to find a solution.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
LoyceV
Legendary
*
Online Online

Activity: 3304
Merit: 16620


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 27, 2018, 06:57:26 PM
 #8

I entered an invalid  private key
I wrote is down on a paper and it seems I may have made a mistake.
Either one (or both!) of the quotes above are your problem. If you typed it wrong, just type it again. Try a few more times until you're absolutely sure you didn't type it wrong.

If your typing isn't the problem, then your writing is the problem. I'm pretty sure there is software to try some variations of all characters (brute-force). I only have experience with software that tests all options when you know at which location the characters are missing.
If the right software doesn't exist, you'll have to write it yourself (or have someone do it). Be careful who you trust!

If you made more than one mistake writing it down, the number of possibilities quickly goes up. Whether or not it's worth brute-forcing will depend on how many Bitcoins your paper wallet holds.


As a test, write down 5KMWmYkn5YWkJnUDG4utD9L1HXQv3DBseqqCGsQXmthcEerbA7k, then type it again. Compare the result, and see where you made mistakes. This can give you a good idea of how many mistakes you may have made.
DO NOT post your own private key!

bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 28, 2018, 07:20:45 AM
Merited by pooya87 (1), DdmrDdmr (1)
 #9

Bruteforcing the private key with 1 misstyped character can be done within one or two seconds. Thats 58*52 (= 3016) combinations.
Bruteforcing 2 characters does need to check the space of ( (52 choose 2) * 47 * 47 =) 4.308.174 combinations. This also can be done at home easily.
With 3, thats ( (52 choose 3) * 47 * 47 * 47 = ) 4.092.765.300 private keys to check. It starts to get rough here.

Basically, for N missing characters: (52 choose N ) * 47N


If you have misstyped 1 or 2 characters the time it takes to bruteforce the private key is very low. Definitely worth a try.
But with a higher number of chars, it pretty much gets impossible.

You just need tool to check all possibilities for valid private keys. Because of the checksum the majority of these keys won't be valid.

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
August 31, 2018, 04:03:42 AM
 #10

There is a relatively simple python script floating around that bruteforces a 1 char mistake in a matter of seconds.

Refer: https://www.reddit.com/r/Bitcoin/comments/2s1y84/reward_wrote_down_my_private_key_wrong/cnlelwg

It should be fairly trivial to modify it to find a 2 char mistake... But as pointed out the time to execute would increase quite significantly.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10555



View Profile
August 31, 2018, 04:14:08 AM
 #11

Bruteforcing the private key with 1 misstyped character can be done within one or two seconds. Thats 58*52 (= 3016) combinations.
try milliseconds if not less. 3k keys is nothing really. in fact it took 0.101 seconds on my PC to brute force ~3k keys. and that's just on my unoptimized code and most of the timing is just overhead not the process itself Tongue
about 200k keys takes about 1 second for me.

Quote
Bruteforcing 2 characters does need to check the space of ( (52 choose 2) * 47 * 47 =) 4.308.174 combinations. This also can be done at home easily.
With 3, thats ( (52 choose 3) * 47 * 47 * 47 = ) 4.092.765.300 private keys to check. It starts to get rough here.

Basically, for N missing characters: (52 choose N ) * 47N
nice math, i was actually thinking how it is calculated. thanks.
but it usually isn't this way though, you know where among 52 chars you have made the mistake. also the first two ones being 5H, 5K, 5J (or L/K for compressed keys) shouldn't be counted.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!