New answers tagged

1 vote
Accepted

Why can't I reverse secp256k1's public key point in order to determine the private key?

The elliptic curve secp256k1 is defined over the finite field Zp. All the coordinates are 256-bit integers, and all the point additions and coordinates are subject to modulo p. The large space of ...
user avatar
  • 63.5k
1 vote

Why this witness doesn't seems to contain a public key?

I found my answer in this post: Find sender's public key in SegWit Transaction Without witness: address = base58check( 0x00 + hash160(publicKey) ) With witness: address = base58check( 0x05 + ...
user avatar
2 votes

How does the bitcoin network use public and private keys when one wants to transfer funds?

what is the process that is actually happening under the hood when I click the 'transfer Bitcoin' button of my wallet in terms of the keys? Your wallet selects from available coins (UTXOs for which ...
user avatar
5 votes

Why can't I reverse secp256k1's public key point in order to determine the private key?

If you naively implement this G * G * G...* G method, you will have to perform an enormous number of operations until get your public key. For instance, if your public key is 2^128, you need to add G ...
user avatar
2 votes

How does ECDSA work when generating the public key?

What is secp256k1, is it the curve that is always used Indeed the elliptic curve used in Bitcoin is secp256k1 which is the curve defined using a=0 and b=7 in your equation mod p. But other curves are ...
user avatar
2 votes

Import Bitcoin core pubkey into Electrum for multisig setup

If you use Descriptor wallets, you can get the descriptors used by the wallet with the listdescriptors RPC. These descriptors will contain xpubs that you can import. Without descriptor wallets, you ...
user avatar
  • 61.4k
3 votes
Accepted

Baffled by endianness: How do I compute the HASH160 of the public key of a base58 address?

There should be no endianness issues here at all. Bitcoin's handing of endianness is sometimes weird in its human interfaces (e.g. transaction and block hashes are printed in reverse order, because ...
user avatar

Top 50 recent answers are included