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
2
votes
1answer
3k views

Recovering ECDSA public key from the signature

How to recover ECDSA public key from the signature? I know that all is need is a hash of the unsigned message and signature. But may be there is some detailed method for to calculate ECDSA public ...
1
vote
1answer
61 views

How exactly would compromising a private key cause you to lose your coins?

When someone sends me coins, they must send it to my wallet address, which is nothing but my public key hashed. It's generally understood that losing your private key implies losing access to your ...
0
votes
1answer
37 views

is it possible to replace the cryptography and public key algorithms in Bitcoin?

Is it possible to replace the cryptographic algorithms used in Bitcoin, such as the hash algorithms and the elliptic curve public key cryptography? Does this require a soft fork or a hard fork?
1
vote
1answer
368 views

Is it possible to have a cryptocurrency based on email address?

I would like to know if there is any existing cryptocurrency that lets you control the public and private keys generated. I just don't like the fact that cryptocurrency keys are randomly generated. ...
1
vote
1answer
857 views

Obtaining 12 word mnemonic from Private & Public Keys

After a recent upgrade to Jaxx wallet my Litecoins and my transaction history are lost. The 12 word mnemonic opens up a wallet with zero Litecoin balance even though the public key address from the ...
0
votes
0answers
135 views

What is the easiest way (user experience wise) to get xpub?

I'v got monitoring app going for my hardware wallet and am planning to release it to public. Biggest pain point right now is asking users to enter their xpub key. It can be done, but there is no ...
8
votes
3answers
16k views

Is it possible to use xpub address to monitor balance from previously generated addresses?

I'm trying to find a way where I can view balance of my ledger nano s wallet without always attaching it to computer all the time. I found something called xpub address which allows me to generate ...
2
votes
1answer
88 views

Is it possible to check if an Address was generated from an HD Public Key.

Suppose I know a specific address and I know a full HD Public Key. Is it possible to determine if the address is a hash of one public keys generated from the HD public key in constant time, or in ...
2
votes
1answer
4k views

Can I restore a Litecoin wallet with Public / Secret?

I apogolize if this has been asked, I have spent several hours trying to figure this out. I found an old document of my with a Litecoin Public and Secret key. I don't have a *.dat file, is this a ...
1
vote
1answer
82 views

Is there are written code for mapping public address to an user?

I read about 2 theoretical ways we can do it 1) When a single transaction has multiple input addresses, we can assume that those addresses belong to the same wallet, thus to the same user. We should ...
6
votes
1answer
7k views

How to get public master key of a Ledger wallet?

I have a ledger Nano S and would like to know how to extract the public master key of its wallet, in order to do HD key derivation in an external process. Is there a way or is this info never exposed ...
0
votes
1answer
78 views

How do you check the validity of a signature while only having the hash of the public key

So far as I understand it, a Bitcoin transaction is signed with a private key and the rest of the network can then use the public key to verify that it is indeed signed by the right private key. ...
0
votes
1answer
1k views

Wallet: how to generate public extended key?

As far as I understand, when I want to create an HD Wallet, do I need a private key that is derived into an extended public key? So, my question is, if I am coding a portfolio of bitcoin in java, how ...
1
vote
1answer
67 views

If newer versions of bitcoin and or bitcoin cash don't allow 0x04 uncompressed public keys, what do you do if you have an address based on one?

So if you have an address with coins in it that uses an uncompressed public key (preceeded by a "04") then how can coins from that wallet be utilized with a network that doesn't allow such public keys?...
1
vote
1answer
828 views

How to generate random addresses from public key such that they're recoverable later using pub key only

I head that from a public key, you can generate random addresses just by adding a nonce to the public key. Then, you can regenerate all these addresses again when you need, right? If my wallet has ...
0
votes
0answers
3k views

To get Public key from Private key

How can I get the corresponding public key of a particular private key using bitcoin core console commands? , just as we can have private key of particular address using dumpprivkey and public key ...
1
vote
1answer
81 views

Bitcoin public key pre-0.6 length before hashing

As I understand, since bitcoin 0.6.x, compressed and uncompressed public keys are supported. And the process from the public key to the address has the step that puts a byte in front of the public key ...
2
votes
1answer
1k views

When creating a transaction, how can you prove that you own your address without exposing your private key?

I'm trying to understand how Bitcoin works under the hood, but there's something I don't get at all, and can't find it. Suppose I own address A (I have the public key, A-public, and the private key A-...
3
votes
4answers
4k views

Can rainbow tables be used to find private keys from public keys?

I understand that the public key is kept hidden until a bitcoin transaction is made, at which point the public key has to be revealed to prove that you created the transaction with your private key. ...
2
votes
2answers
136 views

Is there a short-form for addresses with seven characters length?

So, I am confused about address/key length. I am aware that the length is 16-36 characters, but it seems that many people online when giving their public key use a short-form of 7 characters (being ...
0
votes
1answer
78 views

tx-malleability who re-signed the tx?

It would be really great if there was a way to loop through all the txids in a new block and be able to check if you (can) sign your original transaction the same way it was re-signed - that it ...
1
vote
3answers
3k views

Can private keys be securely stored on blockchain?

Ok, I know that blockchain is public knowledge. But, than, there are experiments like zcash which encrypt sender receiver and amount information and they still work. I'm considering whether p2p ...
0
votes
3answers
1k views

Generating differnet addresses from same public key?

There's a gap in my understanding regarding the generation, via hashing, of bitcoin addresses. (I'm quoting from Antonoplous below for convenience, but I have consulted multiple other sources.) ...
1
vote
1answer
2k views

What is a Key pair? & relationship with adresses?

does a generated private key, provide 1 public key? I mean, the pair is generated practically at once? Then this only public key is used to create multiples “adresses” which will be used to make ...
3
votes
1answer
11k views

What's the relationship of Bitcoin addresses to public keys?

A Bitcoin wallet can handle multiple private keys. In ECC, you can have 2^256 private keys, and for each key, you can have 2^256 public keys. Assuming that's right (please correct me if I'm wrong), ...
2
votes
1answer
141 views

How do bitcoin adresses get into the Bitcoin system when they're created offline?

I am new to Bitcoin, and I am still trying to understand the working of bitaddress.org but get stuck a long the way. On bitadress.org I can take the site offline and create a public and private key ...
0
votes
2answers
206 views

As the number of Public keys available in BlockChain increases, does it cause extra risks for private key's security?

Any bitcoin address eventually use its public key when spending its BTC. And as we all know, bitcoin address is produced from a public key by utilizing one way function. What is advantage of using ...
3
votes
1answer
809 views

child keys generated addresses reflect in wallet?

I am confused about child HD public keys. Is this scenario correct? I am using bx (libbitcoin) for all action below. Generate a seed (bx seed). create master private key using seed (bx hd-new) create ...
6
votes
1answer
5k views

difference between Master Public/private Key and Public/private Key?

what is difference between Master Public Key (MPK) and Public Key? what is difference between Master Private Key and Private Key? should I use master public key (MPK) when generating address or public ...
0
votes
1answer
459 views

generating master public key from address

I want to know is it possible to generate master public key from an address? if not, what is needed to generate xpub key?
2
votes
1answer
809 views

Given only a private key, is it possible to see if it has unspent bitcoin?

I understand a "wallet" to be a private key and a collection of associated public keys. But if I was to be given only a private key, would I be able to determine if it had any associated addresses/...
5
votes
1answer
893 views

Trying to create a bitcoin public/private key using bitcoin-core

I want to create a single bitcoin address to which I can send and receive funds too. Using the bitcoin-core console, I typed in the following: Input: getnewaddress Output: Address: ...
17
votes
2answers
5k views

Why do you use Bitcoin addresses instead of public keys?

Why do you hash the public key twice? Are there security benefits to abstracting away from the public key? Is it because the address can represent multiple things? I'm missing something. Could you ...
1
vote
0answers
50 views

Random generation of elliptic curve points: is there a preferred approach?

While most practical applications are concerned with the random generation of private keys, anyone who wishes to write unit-testing code on the secp256k1 elliptic curve group may wish to have the ...
2
votes
1answer
609 views

How can a sender know receiver's public key when creating "Pay To Public Key" tx?

When you create a "Pay To Public Key" transaction, you need to know the receiver's public key. How can we know receiver's public key? You can get public key hash from address like this, but I'm not ...
0
votes
1answer
202 views

Should signature verification by key recovery ignore compression status?

The bitcoinj library's API offers a signMessage method of the ECKey class which returns a signature (r,s) as 65 bytes encoded as a Base64 string. The crunch of the encoding lies in the additional ...
2
votes
0answers
105 views

Java bitcoinj: semantics of 'decompress' on encrypted key

Calling the decompress method on an encrypted ECKey object yields an ECKey object which has no private key (only public). I personally would have expected to get the same encrypted key in uncompressed ...
0
votes
1answer
1k views

Is it true that sending from an address exposes the public key of a bitcoin address?

I just recently learned that your public key + private key is hashed together to form your bitcoin address. Is this true? Can someone please confirm if the following is true: If a bitcoin address ...
3
votes
1answer
3k views

How do I convert Public Key x value to y in Python and verify?

I have been using the BTC Address utility which enables me to type in something like: 020F031CA83F3FB372BD6C2430119E0B947CF059D19CDEA98F4CEFFEF620C584F9 Then clicking a button the program can spit ...
4
votes
2answers
858 views

Is the generated Public Key from Private Key Unique in Bitcoin?

I am generating public key from my private key. I did in Java script and C#. but generated public keys are different. My Code in c# (KeyCore.NET): PrivateKey pv = new PrivateKey(Globals....
0
votes
1answer
148 views

why scriptpubkey is different

I am confused when i see this transaction Test transaction with one input and two outputs Since scriptpubkey verifies the hash of the sender's public key and sender's signature, i am wondering why ...
0
votes
2answers
395 views

Transforming private key into address [duplicate]

How do I get to the value in the 'scriptPubKey' part of the transaction ? shows a great example of going from address to scriptPubKey. I'd like to do something similar: go from private key (...
3
votes
1answer
1k views

Verifying a bitcoin trx on the Unix cmd line with OpenSSL?

I want to use openssl on unixoide systems to verify a transaction. I step on errors, when trying to verify a bitcoin trx’s hash. Here I am working on Mac OSX and OpenSSL (1.0.2a 19 Mar 2015). I know ...
2
votes
1answer
2k views

How can I convert a bitcoin private key (hex) into a Bitcoin public key? [duplicate]

How can I take a bitcoin private key encoded in hex: d1d9a2e9fd3da7e7710310ea17a9edff9e08845c7a6f2ea3d650ba4ae7ee0d3b and convert it to the corresponding public key: ...
0
votes
1answer
562 views

Electrum setup problem

I was trying to install electrum, and for some reason, I wanted to see what multisig wallet was, and now I'm stuck on the master public keys window, I can't cancel and select standard wallet. Every ...
1
vote
1answer
112 views

Derive symmetric keys

Is there some means by which I could derive symmetric keys using bitcoin public keys or HD Wallet public key which I have shared with a second user.
2
votes
2answers
2k views

Changing a private key of a public Bitcoin address

I would like a way to change the private key of a public address, for this you'd of course require the current private key. Is this at all possible? I want to prove that it can be done, or prove that ...
3
votes
1answer
5k views

Recovering the public key from a transaction

Is it possible to get the public key of a user, if we have a transaction from that User in my wallet ?
7
votes
1answer
783 views

How to get the Public Keys of a bitcoin User

Is there some way in which I could get the public key of a Bitcoin user ? Lets say I have transaction with another Bitcoin user. Is there some means by which I can retrieve the public key of the ...
2
votes
1answer
459 views

First multisig using Armory

I hope that no such question already has appeared here. I've searched for a solution but cannot find one. My problem is as follows: I want to use multisig with Armory on Linux. I've created new ...

1
5
6
7 8 9