Private key (hex) from public key

0
16


It is practically impossible. The idea of a public/private key pair is that you can publish your public key without anyone being able to efficiently deduce your private key from it. That’s why you can only spend bitcoin from addresses that you have the private key for.

There are two ways that come to my mind how to obtain a private key given the public key, however both are (currently) unfeasible:

  1. Brute force: generate random private keys and test if they are by chance the one private keys for your public key. But this process will take unimaginably long.
  2. Shor’s algorithm: which is a quantum computer algorithm for integer factorization that allows you to calculate the private key given the public key, however we don’t have quantum computers with the required number of qubits yet.



Source link

Leave a reply