Author

Topic: Public key + private key (Read 630 times)

newbie
Activity: 6
Merit: 0
November 30, 2013, 03:35:09 AM
#13
I thought the answer is no, but I quickly find myself misunderstanding the keys and the address.
Just by reading the above posts (esp. the posts by DeathAndTaxes and CIYAM Open) help me learn a lot.

Thanks Smiley
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
November 30, 2013, 02:53:37 AM
#12
So, will reusing address pose any real threat on the bitcoin in that address? How dangerous would it be?

The danger is that if the ECDSA that Bitcoin uses is somehow able to be broken (and so far it would appear not to have been) then it might turn out to be relatively easy for someone to determine your private key from your public key.

As an address is not your public key but is instead an irreversible hash of it then provided you never re-use an address the likelihood of being able to lose funds even if the ECDSA is broken would still be very, very low.
newbie
Activity: 8
Merit: 0
November 30, 2013, 02:45:56 AM
#11
What does the public key do then?

The public key is included in the script for spending UTXOs (inputs) so that anyone can verify that you do have the private key (an important reason why it is not a good idea to re-use addresses).


Sorry if this is a stupid question.

I have seen quite a lot of sites such as faucets and casinos keep reusing their hot wallet addresses.
So, will reusing address pose any real threat on the bitcoin in that address? How dangerous would it be?

legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
November 30, 2013, 02:35:30 AM
#10
What does the public key do then?

The public key is included in the script for spending UTXOs (inputs) so that anyone can verify that you do have the private key (an important reason why it is not a good idea to re-use addresses).
newbie
Activity: 11
Merit: 0
November 30, 2013, 02:28:10 AM
#9
I know that the address allows others to send you bitcoin, and the private key allows you to spend the bitcoin.
What does the public key do then?
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
November 29, 2013, 04:50:56 PM
#8
Yes, you will have the same private key and a corresponding address for Litecoin (both the bitcoin and litecoin addresses will be "unlocked" by the private key)

See https://bitcointalksearch.org/topic/expander-get-all-possible-address-versions-test-238776
For example, if you send 1BTC to 1oSYxNPiC7Mubb8Hexjg3qv7ZSCb37MLj and 1LTC to LL2PpAgDnrMRAQHHTnx2x4ugKmoUhP5odz, you are ABSOLUTELY SURE that the guy who controls one also controls the other one
donator
Activity: 1218
Merit: 1079
Gerald Davis
November 29, 2013, 04:44:29 PM
#7
Or not but even if so the answer your provided is incomplete.  The same private key could be used for LiteCoin without issue.  Someone might want to do exactly that to simplify backups.  Have the exact same private keys in multiple wallets on different chains.  Another option would be to generate a paper wallet for both Bitcoin and LiteCoin using the same private key.   If you lost either one you could still recover funds by using the other one.
sr. member
Activity: 476
Merit: 250
November 29, 2013, 04:43:33 PM
#6
Although litecoin addresses are generated with the same way they have a different version number and so they start with an "L"
full member
Activity: 252
Merit: 100
MARKETPLACE FOR PAID ADVICE LIVE BROADCASTS
November 29, 2013, 04:43:11 PM
#5
Well not exactly.

You could use the same private key and public key for Litecoin (or any coin which uses ECDSA public keys and the same curve, which AFAIK is every clone coin to date).  However LiteCoin uses a different ADDRESS structure so you would need to compute the proper address for those keypairs.


Remember address =/= public key.  

There are three distinct elements:
Private key = random (or deterministic) 256 bit number.
Private key + ECDSA "magic" + particular ECC curve = public key.
Hashed public key with checksum, version information, and encoded into base 58 = public address.




It was obvious that he meant the address.Roll Eyes
donator
Activity: 1218
Merit: 1079
Gerald Davis
November 29, 2013, 04:41:21 PM
#4
Well not exactly.

You could use the same private key and public key for Litecoin (or any coin which uses ECDSA public keys and the same curve, which AFAIK is every clone coin to date).  However LiteCoin uses a different ADDRESS structure so you would need to compute the proper address for those keypairs.


Remember address =/= public key.  

There are three distinct elements:
Private key = random (or deterministic) 256 bit number.
Private key + ECDSA "magic" + particular ECC curve = public key.
Hashed public key with checksum, version information, and encoded into base 58 = public address.


newbie
Activity: 2
Merit: 0
November 29, 2013, 04:38:42 PM
#3
If I have a BITCOIN public key + private key pair (wallet), this pair is good for litecoin too? (or for other crypto)

No this is not valid for Lite Coin. for litecoin you need to  download a  seperate Litecoin wallet and generate an new key pair.
full member
Activity: 252
Merit: 100
MARKETPLACE FOR PAID ADVICE LIVE BROADCASTS
November 29, 2013, 04:36:17 PM
#2
No, it will only work for btc.
newbie
Activity: 24
Merit: 0
November 29, 2013, 04:34:54 PM
#1
If I have a BITCOIN public key + private key pair (wallet), this pair is good for litecoin too? (or for other crypto)
Jump to: