Questions tagged [public-key]

This tag should be used for questions regarding public keys. A public key is the public half of the public/private keypair. Anyone can use a public key check that a signature is correct, but they can't generate the signature themselves with the public key.

Filter by
Sorted by
Tagged with
1
vote
1answer
59 views

Block 9 Transaction 1 Output 0 ScriptPubKey openssl validation fails

I'm trying to check the public key which lies in the ScriptPubKey of output #0 of transaction #1 bloc #9 with openssl. I'm using Python to create a DER file, and openssl to check it. ScriptPubKey ...
0
votes
0answers
18 views

What time of encryption from late 2000s contains house, smileyface, squares, letters and numbers?

Have a encrypted password or key typed to paper, i vaguely remember doing it, not sure if note pad was involved or some site , i remeber something about sha-2 , and sha- 256, and why i should use one ...
2
votes
1answer
48 views

Will taproot change public key generation?

Does taproot change how private/public keys/addresses are generated, or just how the transactions are signed? Also, I'd appreciate if someone could recommend me where to look for official sources of ...
1
vote
2answers
34 views

If I have a public wallet address can I calculate its other wallet addresses?

Lets say someone else generates 100 bitcoin addresses using the same private key. If know one of the public addresses, can I deduce the other 99 public addresses?
0
votes
3answers
78 views

bitcoin private key usage

My next question is how Private Key needed to spend coins. According to my understanding for transaction needed below steps: A wants to send 10 coin to B A make transaction example: from: A, to :B ...
0
votes
1answer
46 views

Why does the locking script for MultSig contain PubKeys instead of PubKeyHash?

I am reading "Mastering Bitcoin" by Andreas Antonopoulos. In the transactions section, the locking script for normal account(single address) is OP_DUP OP_HASH160 <Cafe Public Key Hash> ...
1
vote
0answers
73 views

Elliptic Curve Point Addition Question

I am doing a school project about Bitcoin and more specifically point addition on the Elliptic Curve. I am very new to all this so please forgive my mistakes. I have been reading that when adding ...
1
vote
2answers
38 views

What if I change PubKeyHash in scriptPubKey of a transaction to my PubKeyHash?

Suppose a person A makes a transaction to person B and sends it to bitcoin network. Suppose I changed PubKeyHash in scriptPubKey of a transaction to my PubKeyHash and send it to bitcoin network. The ...
0
votes
1answer
38 views

What is the relativity between ECDSA public keys, if any?

Wondering if there is any relative connection between public keys? I know that they are a function of G, but is there any other connection they share? Is it possible to calculate how many G are ...
0
votes
1answer
56 views

is bitcoin keyspace flawed?

guys need your expert guide I was doing a research on Bitcoin key space and i have found a mysterious thing that the first public which is actually the generator point is same as the last public key, ...
1
vote
1answer
123 views

Why MakeNewKey in key.cpp isn't called when getnewaddress or generate

Hi I'm student studying bitcoin-core. I tested bitcoin regtest mode, and I want to know when CKey::MakeNewKey() is called. when I do this, bitcoin-cli -regtest createwallet "wallet1" ...
0
votes
1answer
40 views

Can you use un-tweaked public key with P2TR?

Given some public key, is turning it into a working P2TR address and then going back from P2TR to get the same pubkey possible? I've read about the tweaking but don't really get it - do you need to ...
0
votes
2answers
131 views

Signature doesn't prove that the owner of a Private Key produced a given message

Let's assume I am a developer of Bitcoin wallet. If I create a private key without implementing a seed phrase methodology (not using the principles of BIP32 and BIP39), is there at least the slightest ...
-2
votes
1answer
86 views

Private key (hex) from public key [duplicate]

Guys who know how to get private key (hex) if I know public key (hex) ?Thx for support
1
vote
0answers
56 views

Can I receive different cryptocurrencies on the same public key? [closed]

The main question I have is: Can I receive different cryptocurrencies on a same public key? For example: I instruct the person A to send me BTC on a public key X. I also instruct the person B to send ...
1
vote
1answer
76 views

How does a Wallet Create a Transaction when a Public Address Is Provided?

Given a public Bitcoin wallet address 1BdYVvwoxTWMGqJS2Pg6NkVD7RnENVjSac; is pasted into a wallet to send Bitcoins to. How does the wallet create an output to send coins to the public key associated ...
0
votes
2answers
202 views

As a developer, what steps do I need to take to generate private-public keys?

When developing (I'm using Apple Swift), what steps are needed in order to independently create my own pair of private-public keys (with the ability to restore a private key from a mnemonic phrase)? ...
0
votes
1answer
69 views

RIPEMD 160 Hashes

I have observed that BTC Address 1111111111111111111114oLvT2 has the public key RIPEMD 160 Hash is 0000000000000000000000000000000000000000 whereby 111111111111111111112BEH2ro has the public RIPEMD ...
0
votes
0answers
93 views

How do you Derive Addresses from a BIP49 Master Public Key using P2WPKH-P2SH?

I am trying to derive addresses from a master public key (aka extended public key) in python. I don't fully understand the math behind the key derivation, but have been able to decode the master ...
1
vote
2answers
77 views

Does every private key have two public keys (ie Y and negated Y?) (secp256k1)

given a private key Z that multiplied by the generator point G gives a public key P fulfills x^3 + 7 being a square, is it safe to say that either (x,y) is a valid point / pubkey, or (x, curve p - y) ...
0
votes
1answer
52 views

How can I get transction destination address from raw transaction data?

I am writing a program that reads Bitcoin transactions from .blk files and performs some analysis on them. I would like to get transaction destination address (like in some transaction explorers: link....
2
votes
1answer
216 views

How can I generate expiring transactions?

I want to generate a transaction that spends funds to a wallet controlled by a third party, but for this transaction to only remain valid for a certain window of time. This could mean a transaction ...
0
votes
0answers
34 views

Nothing-Up-My-Sleeve BTC Addresses [duplicate]

I've been researching some crypto related concepts and came across "Nothing-Up-My-Sleeve Numbers" and from what I understand I can generated a Bitcoin address that basically comes with an ...
0
votes
1answer
42 views

What are the ways to obtain public key of a wallet with no outputs

I was wondering if there is a way to obtain public key of a public address where the address does not have any output transaction
0
votes
0answers
20 views

Why can't bitcoin be stolen in the following manner? [duplicate]

Assume I'm a miner. I would have the complete UTXO set with me. Let us say I try generating random keys and hash the public keys generated and compare it with the utxo set until I find a match. When I ...
1
vote
1answer
72 views

Y coordinate of PubKey on elliptic curve prefix

Public keys in the form of 04[x,y] can be compressed since the x axis is symmetrical. Hence we only need the x-coordinate with the 02/03 prefix which states if Y is odd or even. I don't understand the ...
1
vote
1answer
78 views

Are a new set of keys created for each UTXO, or can multiple UTXOs be locked by the same PubKey?

I understand that each transaction, new pairs of keys are generated, usually derived from a master key say in an HD wallet. If your change for a transaction or received BTC Is in multiple UTXOs, are ...
0
votes
0answers
21 views

How to sync AirGap Vault with its Wallet

How long does it take to sync AirGap Vault/Wallet together and does the syncing process require internet? And is it possible to sync Airgap Vault with electrum wallet?
1
vote
1answer
39 views

Why these 2 pubkeys start equal?

I generated a seed into my coldcard, wrote down its pubkey: xpubABCDEFGHIKL--------------------------------------------------- then I erased everything and generated a new seed, and wrote down its ...
1
vote
1answer
64 views

Is it possible to find additional key pairs resulting in the same address that I already control?

I'm not really well versed in the necessary terminology to get the answer I need from searching. As I understand, there are 2^160 possible addresses, and 2^256 possible private keys, so each address ...
0
votes
2answers
184 views

What is extended master key fingerprint on coldcard?

On coldcard on Advanced -> View Identity, there's extended master key fingerprint I though this was the xpub from my seed, but even after I changed seeds, it remained the same. What is it?
0
votes
1answer
94 views

Can you get the seed phrase of a HD wallet from the private key of one of the wallets?

Let us say I have a HD wallet. Can I get it’s seed phrase from the private key of one of its wallets? Also are seed phrases just easy to remember private keys? If so does that mean that from the seed ...
-1
votes
1answer
66 views

Orderly Transition Away from ECC? Or Bitcoin to zero?

Let's say asymmetric public key cryptography is wide open, and can be broken using a public key or the signature. Namely, that I can determine the private key using the information revealed in a ...
1
vote
1answer
88 views

How do you generate a Bitcoin wallet by hand?

I am interested in the exact process for generating the various components of a Bitcoin wallet by hand. Specifically, the components I'm interested in are: Private Key Public Key Public Key Hash ...
0
votes
0answers
81 views

public key from private key math

Please guide me if following is the actual math to drive public key from a private key then how would this apply to generate public key from private key 1 please guide me step by step Private keys and ...
0
votes
1answer
155 views

I bought bitcoin years ago and now the website that I bought from is unavailable!

I bought bitcoin years ago and now the website that I bought from is unavailable! I only have a key that I don't even know whether it's a public key or a private key or some useless key generated by ...
0
votes
0answers
77 views

Safe way to create a mnemonic and address in golang

I have been looking over internet in the different repos of btcsuite but had no luck in finding a way to generate a 12 word mnemonic and convert this to an address using the go language. It needs also ...
0
votes
1answer
40 views

How do I restore the public key?

Let say, I create wallet and have two public key and one private key. And I remove the first public key from the wallet. Can I restore and use my first key again? Or it's removed at all. Sorry for the ...
0
votes
1answer
210 views

How do many public keys correspond to one private key?

I have read online that hardware wallets can generate new public keys to facilitate transactions. Ie if someone has BTC on an exchange and they want to send that BTC in different installments to a ...
1
vote
1answer
59 views

Libbitcoin How to generate addresses on demand from xpub?

Well, I am really new to this. Just installed libbitcoin and I am reading trough the wiki and everything. Could someone really quick hint me how to generate addresses whenever I want from xpub that ...
0
votes
0answers
73 views

How Create Bitcoin wallet from a private key works?

I'm trying to understand how i can create a pair of bitcoin private key and public key with : https://github.com/Destiner/blocksmith for example : import blocksmith kg = blocksmith.KeyGenerator() ...
0
votes
0answers
30 views

Bitcoin creating wallet without seeing private key

I would like to create a Bitcoin paper wallet for a friend. However, I know that I should not have the private key as well. Is it possible to create a wallet but where I only have the public key and ...
1
vote
1answer
69 views

Bitcoin public key — why do we have a compressed and uncompressed version?

My understanding is that the public key can start with 04 if it's uncompressed, or 02 or 03 if it's compressed. What's the purpose of this? It appears that you'd have greater entropy if it's ...
0
votes
0answers
12 views

Does the protocol ensure that pair keys wallet are unique? [duplicate]

What mechanism for proof unique pair keys (public key and private key) when creating a wallet with several sources(such as "wallet.btc.com", "wallet.bitcoin.com", "www....
3
votes
1answer
83 views

Why aren't public-private keys sufficient to build a block chain? Why do we need proof of work/stake?

Taking the simple case of Bitcoin here: If all nodes can validate published transactions by checking the signature (created using the private key of the sender) of the transaction against the public ...
0
votes
0answers
51 views

Retrieving a WIF bits private key

Suppose I have a Wif private key from Electrum 4.0.9: L2pt3eVopnxfBBvMwrJV2saZeAyQfF77UQSH5WGj5q9LBS6WWBmN ( this one or the other generated from the seed is non used of course ) with a corresponding ...
0
votes
0answers
45 views

Cryptocurrency Wallet 3rd party access

Do Crypto wallets such as Exodus etc have something like an API? For example is it possible to perform a cryptocurrency transaction directly from the web browser client (using the specified amount and ...
1
vote
1answer
186 views

How to convert xpub ypub and zpub in Ruby

I'm looking to convert a Bitcoin extended public key from one format to another in Ruby. In JS I've found https://github.com/jlopp/xpub-converter/blob/master/js/xpubConvert.js and Python https://...
0
votes
0answers
15 views

Coinbase missing Bitcoin [duplicate]

So someone sent me Bitcoin cash but the sender did not tell me it was Bitcoin cash. So I sent a Bitcoin address. I use Coinbase. Is my money lost? I can’t seem to get a private key or a public key ...
0
votes
1answer
94 views

How to retrieve a public key from all types of transaction?

Is there a way to get sender's public key based only on the raw transaction data no matter the P2... type?

1
2 3 4 5
9