Pages:
Author

Topic: Can I generate a brain wallet offline? - page 2. (Read 788 times)

jr. member
Activity: 54
Merit: 11
September 18, 2019, 04:21:15 AM
#18
i get it = don't waste your time

i think you right guy to fulfill my curiosity  Grin

for bitcoin addresses that start with 1D
Code:
1DbvVigRB6M5Nw5Ak6hGKDnzDPeCWbudqo

what are the chances of getting this address if keep you generating only addresses starting with 1D , and how many years you need Huh


Theoretically it will never happen. You can try a tool called vanitygen and use the prefix 1D or whatever you want, it will take quite some time.
legendary
Activity: 1624
Merit: 2481
September 18, 2019, 03:39:02 AM
#17
Since i didn't see the IMO best solution to generate a brain wallet offline yet in this thread:

1. Take your 'password' and hash it using sha256. This is your private key now.
2. Convert this private key into the WIF (Wallet import format) following all steps from https://en.bitcoin.it/wiki/Wallet_import_format
3. Generate the public key and address out of this private key.


All can be done completely offline and you don't need to download a 3rd party website. Neither do you have to trust any javascript library etc.

But, please note. Brainwallets are insecure. Always. You will never be able to create a passphrase which is even close to being as random as one created by a computer.
staff
Activity: 3304
Merit: 4115
September 16, 2019, 10:38:19 AM
#16
no, if i want to do that isn't easy just targeting dummy people with low diff passphrase, easy guessing password and other things...
 
thanks for shearing your opinions  
Only if you've got physical access to their wallet file or if they're using a online wallet which  if the latter is the case you would be likely getting the account locked from trying to bruteforce it. I'll admit, it seems oddly specific to generate a vanity address, and check for a balance at the same time. What would be the reason for this?
jr. member
Activity: 56
Merit: 3
September 16, 2019, 09:56:00 AM
#15
Are you trying to brute force access to someone else's coins?.
no, if i want to do that isn't easy just targeting dummy people with low diff passphrase, easy guessing password and other things...
 
thanks for shearing your opinions 
legendary
Activity: 2268
Merit: 18771
September 16, 2019, 09:45:52 AM
#14
i thought filtering and focusing for specific address will reduce my times and my chances will increase  Undecided
The rate limiting step is generating the addresses in the first place. For each address, you have to first generate a private key, then perform elliptical curve multiplication to get the public key, then hash that to get an address. Once you have the address, you've already done the hard part, and it is trivial then to reject addresses which don't begin with "1D".

-my big problem i can't check every address that i generate for balance or tx (0 experience with api)
I don't understand what you are trying to achieve here? Why are you generating so many addresses and looking for a balance? Are you trying to brute force access to someone else's coins? Not only is that pretty immoral, we will reach the heat death of the universe before you come close to a collision.

by the time with vanitysearch 8 char you can find 1 match every 2day
Depends on the characters you choose, and whether or not you choose case sensitive or insensitive. Some strings will be much easier to find than others.
jr. member
Activity: 56
Merit: 3
September 16, 2019, 09:39:42 AM
#13
By the time you are up to 7 or 8 characters you are looking at weeks or months depending on your hardware, and beyond that you are looking at years or decades.
by the time with vanitysearch 8 char you can find 1 match every 2day
vanitygen for the same result took about 13 to 14 days

you time will decrease depende on your cpu/ram/ssd..etc
jr. member
Activity: 56
Merit: 3
September 16, 2019, 09:32:12 AM
#12
--snip--
what are the chances of getting this address if keep you generating only addresses starting with 1D , and how many years you need Huh


You can't "just" generate private keys that result in an address that starts with "1D".

The private key is used to generate the public key. The public key is hashed to generate the address.
Both steps are one-directional, they cannot be reversed. You can't say: my address has to start with "1D", so i'll reverse the hash function to find all possible public keys, nor can you start with a public key and calculate the private key...

The only thing you can do is scan the complete private key space, calculate the public keys belonging to the private keys, then hash the public keys and filter out addresses starting with "1D"... This would take even more time than  scanning the complete private key keyspace, calculating the public keys, hashing the public key and NOT filtering out addresses starting with "1D". Do realise that scanning the complete keyspace is ludicrous, even if you pool all computers in existence together, the earth will have ceased to exist before you can scan a significant part of the keyspace
i have enough time with the md5 encryption i know what you want  me to understand one way cannot be reversed
also i think i understand how vanity addresses works
i thought filtering and focusing for specific address will reduce my times and my chances will increase  Undecided

-my big problem i can't check every address that i generate for balance or tx (0 experience with api)

- one of the methods i try:
from random hex64 number extract both comp and uncompressed private key and finally the public address (this part very low) run it for a day and got bored and back to vanity addresses  Cry


legendary
Activity: 2268
Merit: 18771
September 16, 2019, 09:21:38 AM
#11
what are the chances of getting this address if keep you generating only addresses starting with 1D , and how many years you need Huh
As mocacinno says, what you are suggesting is impossible.

Think of this analogy. You have a mixed up pack of cards face down, and someone says "Pick the Queen of Hearts without turning over any other card". What you are saying is the same as saying "What if I only choose from the subset of Hearts". It is impossible for you to know which cards are the Hearts without also turning them (and many incorrect cards) over first. There is no way to "only" turn over the Hearts. All you can do is turn over random cards and hope for the best. In the same way, there is no way to "only" generate addresses starting with "1D". All you can do is generate random addresses, and see if they fit your criteria. For that reason, there is no way to narrow down your search to the address you listed. The only way to guarantee you generate that specific address is to generate every private key, which as we said, is completely impossible.

Now, if you wanted to generate ANY address which began with "1D" (and you didn't care what the other 32 characters were), then you could brute force that quite easily. There exist a number of programs (such as VanitySearch) which you can input the first few characters to an address, and they will brute force private keys until they find a match. Brute forcing 1, 2 or 3 characters is pretty trivial, but it gets exponentially more difficult with each additional character. By the time you are up to 7 or 8 characters you are looking at weeks or months depending on your hardware, and beyond that you are looking at years or decades.
legendary
Activity: 3612
Merit: 5297
https://merel.mobi => buy facemasks with BTC/LTC
September 16, 2019, 08:25:53 AM
#10
--snip--
what are the chances of getting this address if keep you generating only addresses starting with 1D , and how many years you need Huh


You can't "just" generate private keys that result in an address that starts with "1D".

The private key is used to generate the public key. The public key is hashed to generate the address.
Both steps are one-directional, they cannot be reversed. You can't say: my address has to start with "1D", so i'll reverse the hash function to find all possible public keys, nor can you start with a public key and calculate the private key...

The only thing you can do is scan the complete private key space, calculate the public keys belonging to the private keys, then hash the public keys and filter out addresses starting with "1D"... This would take even more time than  scanning the complete private key keyspace, calculating the public keys, hashing the public key and NOT filtering out addresses starting with "1D". Do realise that scanning the complete keyspace is ludicrous, even if you pool all computers in existence together, the earth will have ceased to exist before you can scan a significant part of the keyspace
jr. member
Activity: 56
Merit: 3
September 16, 2019, 08:12:49 AM
#9
i get it = don't waste your time

i think you right guy to fulfill my curiosity  Grin

for bitcoin addresses that start with 1D
Code:
1DbvVigRB6M5Nw5Ak6hGKDnzDPeCWbudqo

what are the chances of getting this address if keep you generating only addresses starting with 1D , and how many years you need Huh
legendary
Activity: 2268
Merit: 18771
September 16, 2019, 02:48:40 AM
#8
As pooya87 says, the smallest amount of entropy with a seed phrase is 128 bits, if you use a 12 word phrase. 24 word phrases give you 256 bits of entropy, which is exponentially more difficult to brute force. The reason for these numbers is that each word from the list of 2048 words corresponds to an 11 bit number. 12*11 = 132 bits, but the last 4 bits are a checksum, giving 128 bits of entropy. For 24 word phrases, 24*11 = 264, but the last 8 bits are a checksum, giving 256 bits of entropy.

Taking the smaller of these two numbers, 128 bits, gives you this many possibilities for a seed:

2128 = 340,282,366,920,938,463,463,374,607,431,768,211,456 = 3.4*1038

Now, think of it this way. Lets say everybody on Earth (all 7 billion people) have 1 million computers each. Each computer can check 1 million possible seed numbers per second, with no duplications in the entire world. Lets say we let all these computers check 1 million seeds per second for 1 million years. This gives the following calculation:

7 billion * 1 million * 1 million * 1 million * 365 * 24 * 60 * 60 = 2.2*1035

So in our hypothetical experiment, even after 7000 trillion computers running for a million years, we would still only have checked somewhere in the region of 0.06% of all possible 12 word seeds.

If you are using a 24 word seed, the numbers become hilariously stupid. Something along the lines of 0.*insert 39 zeros here*2%

Only significant breakthroughs in the power of computing would necessitate a move away from this, but such breakthroughs would also affect all other services which depend on encryption, such as all online shopping and banking.
legendary
Activity: 3472
Merit: 10611
September 15, 2019, 10:14:55 PM
#7
-snip-
3. The human brain is an exceptionally delicate organ, and anything from a simple blow to the head to a bad case of the flu can cause problems with memory and recall, and if you can't remember your password then all your coins are lost forever (unless your password is brute forceable, in which case your coins will sooner or later be stolen). There's a reason that you are supposed to write down your 12/24 word mnemonic phrase and not solely rely on committing it to memory.

are the mnemonic phrase safe?
will in 2020 upgrade to 48/96 word?

yes they are very safe. the smallest word count (12) is coming from a 128 bits of entropy which is strong. there is no need to change this entropy strength any time soon, specially no in one year. probably in another 50 years or more depending on whether things are going to change in efficiency of computing the underlying algorithms.
jr. member
Activity: 56
Merit: 3
September 15, 2019, 06:40:08 PM
#6
-snip-
3. The human brain is an exceptionally delicate organ, and anything from a simple blow to the head to a bad case of the flu can cause problems with memory and recall, and if you can't remember your password then all your coins are lost forever (unless your password is brute forceable, in which case your coins will sooner or later be stolen). There's a reason that you are supposed to write down your 12/24 word mnemonic phrase and not solely rely on committing it to memory.

are the mnemonic phrase safe?
will in 2020 upgrade to 48/96 word?
legendary
Activity: 2268
Merit: 18771
June 23, 2019, 02:13:47 PM
#5
-snip-
3. The human brain is an exceptionally delicate organ, and anything from a simple blow to the head to a bad case of the flu can cause problems with memory and recall, and if you can't remember your password then all your coins are lost forever (unless your password is brute forceable, in which case your coins will sooner or later be stolen). There's a reason that you are supposed to write down your 12/24 word mnemonic phrase and not solely rely on committing it to memory.
hero member
Activity: 1241
Merit: 623
OGRaccoon
June 23, 2019, 12:20:12 PM
#4
If you have the ability to run Python you can create your brain wallet with this.

https://github.com/arzzen/python-simple-brainwallet

Download remove network connection create wallets, Store secure. Double check them then Destroy the HD or DBAN clear.
member
Activity: 378
Merit: 53
Telegram @keychainX
June 23, 2019, 08:10:17 AM
#3
Is there a service that will let me do this?


https://brainwalletx.github.io/

go offline before you try it.

/KX
legendary
Activity: 2758
Merit: 6830
June 22, 2019, 08:56:28 PM
#2
Yes... You can do that with Bitaddress (check the 'Brain wallet' tab). Download its source code and run offline.

But note that this generally isn't the best idea. See this.
sr. member
Activity: 340
Merit: 250
June 22, 2019, 06:42:14 PM
#1
Is there a service that will let me do this?
Pages:
Jump to: