-1

Or I changed the value of G in EC (K=k*G) what will happen

2
  • suppose I invent an algorithm that maps my private key to your public key, should I be able to spend your coins?
    – Mike D
    Jul 16, 2022 at 13:44
  • @MikeD: It's even worse: "suppose I create a private key but then send money to a completely unrelated public key".
    – Murch
    Jul 16, 2022 at 13:46

1 Answer 1

4

Sounds like a complicated way to lose money.

Since most output types are based on hashes, it's likely that a sender would not be able to tell that your public key is not on secp256k1. Your transaction would succeed and your funds would be associated with the public key you communicated.

Then when you try to spend them, you'd be out of luck, since you only know the private key to that public key on a different curve and do not know the necessary private key to make a secp256k1 valid signature—you would be unable to spend the funds.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.