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.
Bitcoin Stack Exchange is a question and answer site for Bitcoin users, developers, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI 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.
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).
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.