Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: sputnick1 on June 22, 2019, 05:22:21 PM



Title: Is it possible to write a Bitcoin Public Key Generator software?
Post by: sputnick1 on June 22, 2019, 05:22:21 PM
Hi Guys, I'm new here. For a long time I've been interested in Bitcoin.

A question regarding "bitcoin public key" just came to my mind. I have an account on blockchain.com. I just discovered that I can add any BTC address to my blockchain account if a have the public key. It is possible to generate public keys on bitaddress.org which gives you full control of the btc address. As far as I know there are 2^256 public keys overall.

I know it is huge but not infinite. I was wondering if it is possible to write a code to add public keys randomly to my account. (my aim would be to select public keys includes btc and send them to my account and own them permanently).


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: BrewMaster on June 22, 2019, 05:29:04 PM
(my aim would be to select public keys includes btc and send them to my account and own them permanently).

in other words your aim is to find someone else's money and steal it from them! so you want to be a thief.

to answer your question in another way since it was answered a million times already, i have to say if it were possible someone would have done it in the past 10 years! everyone would have stolen other people's money and bitcoin value would have not been more than 0.


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: dbshck on June 22, 2019, 06:09:11 PM
It's called a collision. Even if you have a considerable resource to try it, you would be better off to put all the resource to mine Bitcoin directly.

You might be interested to read about the "Large Bitcoin Collider (https://lbc.cryptoguru.org/about)" https://bitcointalk.org/index.php?topic=1555043.0


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: hatshepsut93 on June 22, 2019, 09:03:33 PM

A question regarding "bitcoin public key" just came to my mind. I have an account on blockchain.com. I just discovered that I can add any BTC address to my blockchain account if a have the public key. It is possible to generate public keys on bitaddress.org which gives you full control of the btc address. As far as I know there are 2^256 public keys overall.


Are you sure that it's the public key and not the private key? Like their name suggests, it's safe to tell anyone your public key, that's what it is meant for, so even if your wallet allows you to add any public key to it, you won't be able to spend any coins received to that key if you don't know the corresponding private key. It is impossible to calculate the private key from the public key, this is cryptography 101, so don't waste your time thinking how can you steal someoene's coins, instead educate yourself about cryptography to understand security models.


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: BitHodler on June 22, 2019, 09:47:38 PM
in other words your aim is to find someone else's money and steal it from them! so you want to be a thief.
My thought exactly. It's extremely unlikely to have this ever work out in a 'profitable' manner, but the intent is what matters here, and that's pretty much to commit theft. Not particularly a great entrance for a newbie.

OP is better off trying to find a non illegal way to make money. It could be that OP doesn't consider it to be theft, but come on, how obvious does it need to be that loaded keys belong to people. Bitcoins don't grow on trees....

It's called a collision. Even if you have a considerable resource to try it, you would be better off to put all the resource to mine Bitcoin directly.
Or just stop being lazy and put some effort into skill development so he doesn't need to resort to things that are heavily frowned upon. Investing in Bitcoin is even more profitable than mining it and it's noob friendly.


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: Mahanton on June 22, 2019, 10:02:54 PM

in other words your aim is to find someone else's money and steal it from them! so you want to be a thief.
Exactly,even he do alibi that it would be just for educational purposes but having these aims on finding a way
on getting others addresses and having a full control of it do really definitely have that kind of purpose into their minds.So its simply illegal.

Are you sure that it's the public key and not the private key? Like their name suggests, it's safe to tell anyone your public key, that's what it is meant for, so even if your wallet allows you to add any public key to it, you won't be able to spend any coins received to that key if you don't know the corresponding private key.
Wanna actually say the same thing.It isn't public key but rather a private key since he do mention about on having full control of the wallet.


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: Thirdspace on June 22, 2019, 11:33:00 PM
A question regarding "bitcoin public key" just came to my mind.
~
It is possible to generate public keys on bitaddress.org which gives you full control of the btc address.
~
I was wondering if it is possible to write a code to add public keys randomly to my account. (my aim would be to select public keys includes btc and send them to my account and own them permanently).

bitaddress.org generates private key and public address pair, not public keys
adding/importing a public key would only make it as a non-spendable watch-only address


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: ralle14 on June 23, 2019, 12:04:59 AM
Wanna actually say the same thing.It isn't public key but rather a private key since he do mention about on having full control of the wallet.
Most likely it's the private key since he created a similar thread (https://bitcointalk.org/index.php?topic=5157324.msg51563490#msg51563490) that contained the same post and changed the title to private key minutes later after he created this one.

OP, you've asked the same question twice already you should lock or delete the other thread.


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: Turk Ace on June 23, 2019, 03:08:46 PM
Yes you can make a program that generates publickeys. You can scrape them off the blockchain. You can't do anything with them they are just addresses.

Since we all realise you not just a piece of @#$ thief you also as think as 10 bricks. You ment to say privatekeys.
The fact you think of a "privatekey generator" tells everyone you are an idiot and have no idea how anything works.
You are literally talking shit right here.


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: odolvlobo on June 23, 2019, 06:54:11 PM
TLDR:

An address is not a public key.
An address is not a wallet.
A seed is not a passphrase (though they should both be kept secret).
A seed is not a private key (though they should both be kept secret).

Let's go over the terms in order to reduce any confusion:

  • Address: This is what bitcoins are "sent" to. It is not a public key or a wallet. It is derived from a public key. It is public. If you want someone to send you bitcoins, you give them an address controlled by your wallet. Anyone can see the bitcoins held at any address. People also sometimes call it a "public address", but there are no private addresses, so "public" is unnecessary.
  • Public Key: This is used to validate a transaction. It is derived from a private key. It is frequently confused with address. An address is derived from its public key. Users generally never see public keys.
  • Private Key: This is used to sign a transaction. It can be thought of as the password for an address. If you want to use bitcoins at an address, you must have the private key for that address.
  • Wallet: A wallet holds and manages private keys (and the addresses associated with them). It is frequently confused with address.
  • Seed: A wallet uses a seed to generate private keys (and the addresses associated with them). A seed is generally represented as a string of 12, 18, or 24 words. It is not a passphrase or a private key. The seed used by some wallets may include an extra word for additional security.
  • Passphrase: A passphrase is used to encrypt a wallet or a seed. It is not a seed.


Title: Re: Is it possible to write a Bitcoin Public Key Generator software?
Post by: sputnick1 on June 23, 2019, 09:51:47 PM
Bitcoin public key is just 256-bit of binary data, so it's possible to write public key generator.

What most likely impossible is finding private key from generated public key which "contain" Bitcoin because 2^256 is far bigger than you thought. You can't simply reverse public key to private key anyway.
This video (https://www.youtube.com/watch?v=S9JGmA5_unY (https://www.youtube.com/watch?v=S9JGmA5_unY)) could help you understand why bitcoin uses ECDSA with 256-bit length

thanks for reply.