Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: UsaLove on August 09, 2016, 10:19:10 AM



Title: Is it possible to convert 'hex' to private key?
Post by: UsaLove on August 09, 2016, 10:19:10 AM
hello guys,

Is it possible to convert hex of the address to private key? if yes then how?

I think i am missing something there.

Regards


Title: Re: Is it possible to convert 'hex' to private key?
Post by: achow101 on August 09, 2016, 01:19:11 PM
Any hex can be converted into a private key, it's just a large number. However, if you are trying to get the private key of an address, it is not possible to do so.


Title: Re: Is it possible to convert 'hex' to private key?
Post by: DannyHamilton on August 09, 2016, 01:21:10 PM
Is it possible to convert hex of the address to private key?

To the private key for that address?

No.

if yes then how?

Can't be done.

I think i am missing something there.

Yep.  You are missing the concepts of RIPEMD160, SHA256, and ECDSA, all of which prevent you from working backwards from a bitcoin address to a private key.


Title: Re: Is it possible to convert 'hex' to private key?
Post by: tspacepilot on August 10, 2016, 08:34:18 PM
Yep.  You are missing the concepts of RIPEMD160, SHA256, and ECDSA, all of which prevent you from working backwards from a bitcoin address to a private key.

Since the OP is looking for education, RIPEMD160, SHA256 are hash functions: https://en.wikipedia.org/wiki/Hash_function

ECDSA is an algorithm for digital signatures, one aspect of assymetric key cryptography: https://en.wikipedia.org/wiki/Public-key_cryptography

Good luck!