Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: jaa2001 on January 31, 2018, 04:28:38 AM



Title: public and private key
Post by: jaa2001 on January 31, 2018, 04:28:38 AM
What software does bitcoin use to create public and private keys?


Title: Re: public and private key
Post by: Coding Enthusiast on January 31, 2018, 05:13:12 AM
There is not exactly any software, bitcoin uses Elliptic Curve cryptographic algorithm to get the public keys from private keys with Secp256k1 parameters[1][2].
As far as I know, bitcoin core used to use OpenSSL Library back in 2014 and before, and ever since v0.12.0 (Feb 2016) [3] they moved to a library that the team coded themselves called libsecp256k1 [4].
I don't know what other bitcoin wallets use though.

[1] https://en.bitcoin.it/wiki/Secp256k1
[2] https://en.bitcoin.it/wiki/Elliptic_Curve_Digital_Signature_Algorithm
[3] https://bitcoin.org/en/release/v0.12.0
[4] https://github.com/bitcoin-core/secp256k1


Title: Re: public and private key
Post by: OgNasty on February 02, 2018, 05:42:21 AM
You can create your own keys with vanitygen. Maybe that’s what you meant?

https://bitcointalk.org/index.php?topic=25804.0


Title: Re: public and private key
Post by: gvnsrbtc on February 02, 2018, 09:35:34 AM
Bitcoin core software uses its own libraries to create keys. If you want to create addresses out of bitcoin core software but also they are valid, there are some alternatives. Even you can create a software that creates valid addresses. Vanitygen is one of the alternatives.


Title: Re: public and private key
Post by: Ahmstar on February 03, 2018, 11:07:37 AM
Hello everyone is there any way I can generate my private ken on coinbase?


Title: Re: public and private key
Post by: AdolfinWolf on February 03, 2018, 11:13:59 AM
Hello everyone is there any way I can generate my private ken on coinbase?

No. Coinbase doesn't provide customers with access to their private keys, which is the reason you should never use them as your main wallet. No keys = no control over your bitcoin.

https://support.coinbase.com/customer/portal/articles/1526452-where-can-i-find-the-private-keys-for-my-wallet-


Title: Re: public and private key
Post by: Maveth13 on February 03, 2018, 11:17:44 AM
Hello everyone is there any way I can generate my private ken on coinbase?

You can't. Coinbase is a hosted wallet and they don't provide you with the corresponding private for all your generated addressess, which is understandable since balances from those addressess are always emptied into a cold storage.

You can always send your coins to a different wallet that gives you access to your private keys.