Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: KaChingCoinDev on April 27, 2014, 10:18:34 PM



Title: Is it possible to hash a public key to get the private key?
Post by: KaChingCoinDev on April 27, 2014, 10:18:34 PM
Just wondering. If you could get the Public Key of the account with the most bitcoins, could you calculate the private key?


Title: Re: Is it possible to hash a public key to get the private key?
Post by: grue on April 27, 2014, 10:30:24 PM
no. hashing is one way


Title: Re: Is it possible to hash a public key to get the private key?
Post by: KaChingCoinDev on April 27, 2014, 10:55:47 PM
Is it possible to use Vanitygen (or something like that) to do it then? Obvoiusly not a CPU, but big GPU farms?


Title: Re: Is it possible to hash a public key to get the private key?
Post by: Rannasha on April 27, 2014, 10:59:37 PM
Is it possible to use Vanitygen (or something like that) to do it then? Obvoiusly not a CPU, but big GPU farms?

Yes, you can instruct Vanitygen to try and attempt to generate a private key for that specific address.

However, you won't be around to see the result. Nor will your grandchildren. Or our sun for that matter. The address space is simply that large.


Title: Re: Is it possible to hash a public key to get the private key?
Post by: KaChingCoinDev on April 27, 2014, 11:02:27 PM
Is it possible to use Vanitygen (or something like that) to do it then? Obvoiusly not a CPU, but big GPU farms?

Yes, you can instruct Vanitygen to try and attempt to generate a private key for that specific address.

However, you won't be around to see the result. Nor will your grandchildren. Or our sun for that matter. The address space is simply that large.

Even if a bunch of giant GPU farms get together? Im talking 100's of GH scrypt mining.


Title: Re: Is it possible to hash a public key to get the private key?
Post by: grue on April 27, 2014, 11:07:17 PM
this kind of thread is reall
Even if a bunch of giant GPU farms get together? Im talking 100's of GH scrypt mining.
even if you used all the matter in the solar system to construct an ASIC farm, and then use the sun to power it, you still won't be able to calculate it before the heat death of the universe. 2^256 is just that big.


Title: Re: Is it possible to hash a public key to get the private key?
Post by: cp1 on April 27, 2014, 11:39:54 PM
We're talking 2^160 possibilities.  So divide that by whatever hash rate you want and you'll see.


Title: Re: Is it possible to hash a public key to get the private key?
Post by: dex1 on April 27, 2014, 11:46:21 PM
this kind of thread is reall
Even if a bunch of giant GPU farms get together? Im talking 100's of GH scrypt mining.
even if you used all the matter in the solar system to construct an ASIC farm, and then use the sun to power it, you still won't be able to calculate it before the heat death of the universe. 2^256 is just that big.

To be precise:
115792089237316195423570985008687907853269984665640564039457584007913129639936



Title: Re: Is it possible to hash a public key to get the private key?
Post by: KaChingCoinDev on April 28, 2014, 12:01:49 AM
Okay, I figured. People wouldn't be using BTC if it could be cracked. Thanks for the answers!


Title: Re: Is it possible to hash a public key to get the private key?
Post by: jonald_fyookball on April 28, 2014, 01:26:10 AM
Is it possible to use Vanitygen (or something like that) to do it then? Obvoiusly not a CPU, but big GPU farms?

Yes, you can instruct Vanitygen to try and attempt to generate a private key for that specific address.

However, you won't be around to see the result. Nor will your grandchildren. Or our sun for that matter. The address space is simply that large.

Even if a bunch of giant GPU farms get together? Im talking 100's of GH scrypt mining.

Pretty much what everyone else said here.   Cryptographic hashes are one-way math functions.

There are some interesting threads on how much power or time it would
take to brute force a key.  It is not possible
with the computers of today or even tomorrow.  Search the forum, you
will find a lot of interesting discussion.

By the way, Bitcoin mining transitioned from GPU to ASIC.
Bitcoin uses SHA-256 , not Scrypt for proof of work, as
well as its hashing function within ECDSA.

 





Title: Re: Is it possible to hash a public key to get the private key?
Post by: KaChingCoinDev on April 28, 2014, 01:30:58 AM
Is it possible to use Vanitygen (or something like that) to do it then? Obvoiusly not a CPU, but big GPU farms?

Yes, you can instruct Vanitygen to try and attempt to generate a private key for that specific address.

However, you won't be around to see the result. Nor will your grandchildren. Or our sun for that matter. The address space is simply that large.

Even if a bunch of giant GPU farms get together? Im talking 100's of GH scrypt mining.

Pretty much what everyone else said here.   Cryptographic hashes are one-way math functions.

There are some interesting threads on how much power or time it would
take to brute force a key.  It is not possible
with the computers of today or even tomorrow.  Search the forum, you
will find a lot of interesting discussion.

By the way, Bitcoin mining transitioned from GPU to ASIC.
Bitcoin uses SHA-256 , not Scrypt for proof of work, as
well as its hashing function within ECDSA.

 





I know bitcoin is using ASIC. Right now VanityGen is for GPU only.