2
I would like a way to change the private key of a public address, for this you'd of course require the current private key.
Is this at all possible?
I want to prove that it can be done, or prove that it cannot be done.
2
I would like a way to change the private key of a public address, for this you'd of course require the current private key.
Is this at all possible?
I want to prove that it can be done, or prove that it cannot be done.
3
It cannot be done.
Every private key has exactly one public key, and every public key has exactly one address (ignoring compressed/uncompressed or normal vs P2SH address, which do not matter here).
any references, so i can prove it? – Albert s – 2016-06-16T22:24:29.353
I'm under the impression that two private keys can theoretically make the same public key, but I've never seen it. – 4276 – 2016-06-16T22:28:02.397
2@fredsbend That is incorrect. There is an isomorphism between the multiplicative group of integers modulo n (to which the private keys belong) and the elliptic curve group (to which the public keys belong). There is provably exactly one point on the curve for every private key. However there are certainly multiple public keys with the same address, although finding them requires finding a hash collision, which is considered computationally infeasible. – Pieter Wuille – 2016-06-16T22:38:30.323
@PieterWuille Public keys with the same address. That must be what I'm thinking about. – 4276 – 2016-06-16T22:48:44.290
@fredsbend You might be thinking of public keys with different addresses, which is also possible depending on whether the public key is expressed in compressed format or not. – Jestin – 2016-06-17T14:29:50.503
0
Nope, impossible.
The address is mathematically derived from the public key. The public key is mathematically derived from the private key.
Hence, there is a deterministic relationship tying the address to the private key. Every private key has exactly one address it belongs to.
Therefore, changing the private key will also change the address.
Highly related: Is it possible generate three public key( address ) by only one private key?
– 4276 – 2016-06-17T00:03:18.703