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
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

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
1answer
56 views

Is there a service that shows up used addresses containing a substring?

Is there a service that searches the blockchain with a string or possibly a regex to find out a set of possible addresses, say if I only know a half of a public address?
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 ...
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
votes
1answer
1k views

i find r s z from tow transaction but the r value is not same

i need your help plase i find r s z from tow transaction but the r value is not same from this wallet 1XCPdWb6kk7PGfvbdRbRuNh51aPc4vqC7 this is information tx 1 ...
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 ...
4
votes
2answers
1k views

How to determine if a public key point y is negative or positive, odd or even?

Take a bitcoin public key (x, y) and its additive inverse (x, -y). How do you identify which is the positive point and which is the negative point? Example Private key 1 -> (x, y) x = ...
1
vote
2answers
545 views

Derive next HD segwit address from xpub/ypub

I've been using the smartbit api to derive the next receiving address for a while now. However it only works for Legacy addresses and not Segwit addresses. I now have a Ledger Nano s and need a ...
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?
2
votes
1answer
2k views

What can I do with Account Extended Private Key and Account Extended Public Key?

I have been reading about Account Extended Private Key and Account Extended Public Key that derives from the Master Private Key and Master Public Key, but I still have some question about their ...
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 ...
19
votes
2answers
15k views

Why does the length of a bitcoin key vary?

Why does the length of a bitcoin key vary? Why aren't they all the same length?
3
votes
1answer
151 views

Key Derivation - CKDprv & CKDpub

I would like to replicate this derivation of keys. Chain m ext pub: xpub661MyMwAqRbcFtXgS5sYJABqqG9YLmC4Q1Rdap9gSE8NqtwybGhePY2gZ29ESFjqJoCu1Rupje8YtGqsefD265TMg7usUDFdp6W1EGMcet8 ext prv: ...
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
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 ...
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 ...
0
votes
1answer
925 views

How to generate Hash160 from a private key with the Bitcoin module

I want to fix the script code. The script generates from a random private key Bitcoin Address by function (pubtoaddr) and works on the Bitcoin module: https://github.com/primal100/pybitcointools/blob/...
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, ...
0
votes
1answer
112 views

How to check if one transactions is from the same wallet (public key) as a previous one

I wonder how to figure out whether one Bitcoin transaction is from the same wallet (public key) as any previous transaction in order to proof the ownership of a wallet.
0
votes
1answer
661 views

How can I generate public address from an xpub key in Java?

I have an xpub key with which I want to generate all addresses which have been used or will be used and then find out the keys which have balance. Here's a sample xpubkey with balance- ...
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
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
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 ...
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
1answer
76 views

How can be proven that a signature is valid with it's public key

If someone wants to make a transaction, they need to sign the transaction data with their private key. For example Sign(transactionData, privateKey) creates the signature. What is exactly this Sign ...
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 ...
8
votes
2answers
11k views

What exactly happens when a new wallet is created?

I am asking for what is being created when there is a new wallet created. And the second part of my question is considering public key. Is the public key the same thing as the address? I read that ...
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 ...
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
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
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
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
2answers
183 views

Can one trace a criminal with his Pubkey?

Say FBI arrested a guy who bought some drugs using bitcoin. Then, is it possible for FBI to trace a drug dealer using the arrested guy’s PrivateKey and his transaction histories? If my understanding ...
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
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
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 ...
0
votes
3answers
435 views

Is there a simple python script for xpub generation from private key

I need a python script to verify, in an air gapped system, that my 24-word (or 12-word) mnemonic seed indeed generates the xpub that my wallet is showing me. Is there a simple script that does 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() ...
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 ...
13
votes
1answer
2k views

What are the potential attacks against ECDSA that would be possible if we used raw public keys as addresses?

According to this answer about why addresses are hashes rather than public keys there are potential attacks that are possible if you have the public key rather than the address, what are these attacks?...

1
2 3 4 5
9