Bitcoin Forum
May 07, 2024, 11:08:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is it possible to write a Bitcoin Public Key Generator software?  (Read 213 times)
sputnick1 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 22, 2019, 05:22:21 PM
 #1

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).
1715123298
Hero Member
*
Offline Offline

Posts: 1715123298

View Profile Personal Message (Offline)

Ignore
1715123298
Reply with quote  #2

1715123298
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715123298
Hero Member
*
Offline Offline

Posts: 1715123298

View Profile Personal Message (Offline)

Ignore
1715123298
Reply with quote  #2

1715123298
Report to moderator
1715123298
Hero Member
*
Offline Offline

Posts: 1715123298

View Profile Personal Message (Offline)

Ignore
1715123298
Reply with quote  #2

1715123298
Report to moderator
BrewMaster
Legendary
*
Offline Offline

Activity: 2114
Merit: 1292


There is trouble abrewing


View Profile
June 22, 2019, 05:29:04 PM
 #2

(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.

There is a FOMO brewing...
dbshck
Staff
Legendary
*
Offline Offline

Activity: 2440
Merit: 1616


Crypto Swap Exchange


View Profile
June 22, 2019, 06:09:11 PM
 #3

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://bitcointalk.org/index.php?topic=1555043.0

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
hatshepsut93
Legendary
*
Offline Offline

Activity: 2968
Merit: 2145



View Profile
June 22, 2019, 09:03:33 PM
 #4


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.

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
BitHodler
Legendary
*
Offline Offline

Activity: 1526
Merit: 1179


View Profile
June 22, 2019, 09:47:38 PM
 #5

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.

BSV is not the real Bcash. Bcash is the real Bcash.
Mahanton
Hero Member
*****
Offline Offline

Activity: 2702
Merit: 626



View Profile
June 22, 2019, 10:02:54 PM
 #6


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.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT|
4,000+ GAMES
███████████████████
██████████▀▄▀▀▀████
████████▀▄▀██░░░███
██████▀▄███▄▀█▄▄▄██
███▀▀▀▀▀▀█▀▀▀▀▀▀███
██░░░░░░░░█░░░░░░██
██▄░░░░░░░█░░░░░▄██
███▄░░░░▄█▄▄▄▄▄████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█████████
▀████████
░░▀██████
░░░░▀████
░░░░░░███
▄░░░░░███
▀█▄▄▄████
░░▀▀█████
▀▀▀▀▀▀▀▀▀
█████████
░░░▀▀████
██▄▄▀░███
█░░█▄░░██
░████▀▀██
█░░█▀░░██
██▀▀▄░███
░░░▄▄████
▀▀▀▀▀▀▀▀▀
|
██░░░░░░░░░░░░░░░░░░░░░░██
▀█▄░▄▄░░░░░░░░░░░░▄▄░▄█▀
▄▄███░░░░░░░░░░░░░░███▄▄
▀░▀▄▀▄░░░░░▄▄░░░░░▄▀▄▀░▀
▄▄▄▄▄▀▀▄▄▀▀▄▄▄▄▄
█░▄▄▄██████▄▄▄░█
█░▀▀████████▀▀░█
█░█▀▄▄▄▄▄▄▄▄██░█
█░█▀████████░█
█░█░██████░█
▀▄▀▄███▀▄▀
▄▀▄
▀▄▄▄▄▀▄▀▄
██▀░░░░░░░░▀██
||.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
░▀▄░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░▄▀
███▀▄▀█████████████████▀▄▀
█████▀▄░▄▄▄▄▄███░▄▄▄▄▄▄▀
███████▀▄▀██████░█▄▄▄▄▄▄▄▄
█████████▀▄▄░███▄▄▄▄▄▄░▄▀
███████████░███████▀▄▀
███████████░██▀▄▄▄▄▀
███████████░▀▄▀
████████████▄▀
███████████
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
▄███▀▄▄███████▄▄▀███▄
▄██▀▄█▀▀▀█████▀▀▀█▄▀██▄
▄██▄██████▀████░███▄██▄
███░████████▀██░████░███
███░████░█▄████▀░████░███
███░████░███▄████████░███
▀██▄▀███░█████▄█████▀▄██▀
▀██▄▀█▄▄▄██████▄██▀▄██▀
▀███▄▀▀███████▀▀▄███▀
▀████▄▄▄▄▄▄▄████▀
▀▀███████▀▀
OFFICIAL PARTNERSHIP
FAZE CLAN
SSC NAPOLI
|
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
June 22, 2019, 11:33:00 PM
 #7

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

ralle14
Legendary
*
Online Online

Activity: 3178
Merit: 1877


Metawin.com


View Profile
June 23, 2019, 12:04:59 AM
 #8

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 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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Turk Ace
Sr. Member
****
Offline Offline

Activity: 360
Merit: 251


View Profile WWW
June 23, 2019, 03:08:46 PM
 #9

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.
odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3214



View Profile
June 23, 2019, 06:54:11 PM
 #10

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.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
sputnick1 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 23, 2019, 09:51:47 PM
 #11

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) could help you understand why bitcoin uses ECDSA with 256-bit length

thanks for reply.
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!