Tagged Questions

A public key is the half of the public/private keypair that is publicized. Anyone can check that a signature is correct, but they can't generate the signature themselves.

learn more… | top users | synonyms

1
vote
3answers
125 views

two people with same PUBLIC address, how will people/network know how to deliver bitcoin

I understand that a bitcoin address is a combination or more than one kind of encryption and entropy, and I also understand how improbable it is that the same address will get generated at the same ...
0
votes
0answers
46 views

Where can I find a C or C++ implementation of converting bitcoin privatekey to bitcoin public key and bitcoin address?

There are versions in python and some such things, but I need a C version (or at least C++). I do have the sha256, RMD160 in C already, and those functions are called. Thank you.
1
vote
0answers
33 views

Other ways to determine the validity of a public key

Public key 3, 4 fits the equation of y^2 = x^2 + 7 Yet this comes up as an "invalid public key". How is that invalid? Sure, it deviates extremely from other numbers, but what other equations are ...
0
votes
0answers
42 views

How can I get the uncompressed public key from the compressed public key in openssl?

Given a private key, I can get the uncompressed or compressed version of the public key like so. EC_KEY* pKey = EC_KEY_new_by_curve_name(NID_secp256k1); std::vector<unsigned char> ...
1
vote
1answer
47 views

Compressed keys default for brainwallet?

I'm somewhat confused re compressed addresses... Assuming I were to make a brainwallet using "correct horse battery staple" as my passphrase gives 1JwSSubhmg6iPtRjtyqhUYYH7bZg3Lfy1T (uncompressed ...
1
vote
1answer
111 views

How can I convert a bitcoin public key to a bitcoin address?

How can I convert a bitcoin public key to a bitcoin address? Note: I am using PHP. Is there an existing bitcoin API or PHP-API to do that converting ?
0
votes
1answer
69 views

Modular Inverse for ECDSA in C++

I've seen several variations on "modular inverse" but I can't seem to identify the proper way of utilizing it for C++. I'm not sure how this python code translates into c++: def inverse(x, p): """ ...
0
votes
2answers
66 views

Using paper based public/private keys in bitcoin-qt [duplicate]

If I only have a public key string and a private key string written on a sheet of paper. How do I use those in bitcoin-qt? If this can be added to bitcoin-qt, will it eventually show me how much ...
1
vote
1answer
73 views

Why does bitcoin use public keys as pseudonyms?

Why does bitcoin use public keys as pseudonyms? Is there any reason for that? What are the advantages of using public key as the pseudonyms? Highly appreciate if someone can give me an answer.
2
votes
1answer
67 views

Genenerate address offline, but blockchain knows about my address

I generate new address in client. I hear that blockchain doesn't know about it. Blockchain will know about it when I use this address for transaction. My example: I generate this address(offline): ...
0
votes
3answers
110 views

Is it possible generate three public key( address ) by only one private key?

I hear that each address has one private key. Is it possible generate three public key address by only one private key?
0
votes
2answers
208 views

Is a bitcoin wallet address the same as your public key?

The service CoSign shows that to create a multisig wallet you need to provide a Senders Address and Senders Public Key. I thought that they were the same thing. What am I missing here?
1
vote
0answers
71 views

If I accidentally delete an address with funds

If the address is deleted (while using an online provider like CoinJar), does that mean the coins are lost for good? Or all public/private keys are still held by the company and the address deleted ...
2
votes
1answer
161 views

Are public keys included in signatures?

I can't easily and quickly determine from these wiki pages, 1 and 2, if the public key is included in the signed message. Are public keys included in the signed message, or are they transmitted ...
0
votes
1answer
182 views

get public key from wallet.dat

Is there a way to get the public key of a given wallet.dat to check the balance in the blockchain to avoid having to install the wallet and read all blocks?
4
votes
2answers
498 views

How does ScriptPubKey know the public key of an Bitcoin address?

I am currently having a blonde moment. The ScriptPubKey provides a hashed version of the receivers public key. scriptPubKey OP_DUP OP_HASH160 OP_EQUALVERIFY OP_CHECKSIG However, if I give ...
1
vote
2answers
408 views

What if duplicate wallet addresses are created? [duplicate]

I'm a newbie to Bitcoin, so I apologize if this seems like a "noob" question. So, from what I've read: anyone can create a new Bitcoin wallet. Upon creation, a wallet address is automatically ...
2
votes
3answers
287 views

If Bitcoin addresses are truely random, then why are some more difficult to generate than others?

In this post TierNolan explains why 'Bitpoin' is much easier to generate than 'bitpoin', and that mainly has to do with the position (first character). But I remember that certain characters (I ...
0
votes
1answer
42 views

In ScriptSig, which form of the public key is considered canonical?

In the standard pay-to-pubKeyHash scriptSig, which form of the public key should be used. My understanding is that both the compressed (33 bytes) and the expanded (64 bytes) are both valid. Is there ...
1
vote
1answer
70 views

ECIES - When is it bad to sign and encrypt using the same keys?

Suppose I have a public key for a particular user (perhaps extracted when using the new public key recovery format included in P2SH, and BIP32 transactions). Is it OK the same key for both signing ...
3
votes
1answer
105 views

Why is an invalid pubkey accepted in the blockchain?

while trying to understand the address validation process, I fell upon this block : https://blockchain.info/tx/3d29f43a3278281192943276049c15e5f0d8c7e75d4d99a4cd6693113a948f48 In the outputs, the ...
5
votes
1answer
91 views

Isn't bribe smearing possible because no payee signature is required?

The Bitcoin protocol does not require the payee to sign for a payment; only the payer signs (the payer signs a hash of the payee and payer's public keys). In other words, a payee signature is not ...
-1
votes
2answers
227 views

Getting Public Key for transaction in electrum

Liberty.me has asked purchasers to all pay into a single address, but then to email the "public key" of the transaction. What is the public key of the transaction? How would you find it in Electrum?
0
votes
2answers
1k views

How to export public key for an address in bitcoin-qt?

With the probable increase in demand for multi-sig (P2SH) addresses, and since the procedure for creating such addresses requires that each participant provides the uncompressed public key for an ...
5
votes
2answers
298 views

How does Nextcoin convert 256-bit Curve25519 public keys into ~20 arabic numerals?

Nextcoin seems to convert 256-bit Curve25519 256-bit public keys into "account numbers" that have only arabic numbers and seem to only have a length of 20. How is that done? Examples In the ...
0
votes
1answer
539 views

Public key from private key generation problem

I met some problems, when I was trying to write function able to create Bitcoin public key from private key. I was using the tutorial: ...
1
vote
2answers
219 views

Android Bitcoin Wallet - change addresses and key backup

I've had the Android bitcoin walllet for some time. When I installed it I was assigned some public address/key. I have made various transactions in and out of the wallet but as fas as I can telll the ...
1
vote
2answers
2k views

How are public and private keys related to the wallet?

I understand that all the Bitcoin protocol is based on an asymmetric cryptography. A user gets 2 keys (public and private). How do these keys connect to the Bitcoins? How are the keys are related ...
0
votes
1answer
91 views

So every private key actually has TWO associated addresses? (ie uncompressed and compressed)

So every private key actually has TWO associated addresses? (ie uncompressed and compressed) Isn't this a MAJOR flaw if uncompressed keys are still used in applications?
4
votes
3answers
92 views

How are “message signatures” verified without having access to the public key?

In the bitcoin-qt client you can sign and verify messages using only the public address. Since the public address is a RIPEMD160 hash how is it possible that I can verify a signature since I do not ...
4
votes
1answer
689 views

parsing bitcoin input and output addresses from scripts

can someone walk me through the process of combining script inputs and outputs to reveal the base58 encoded input and output addresses. take for example, block 728. this has two raw script inputs: ...
3
votes
1answer
144 views

Exhaustive technical explanation of signing & verification

I apologize for such a noobish question and am ashamed that I'm not getting this yet, but I can't seem to put together all of the pieces. I've read every question I can find on the subject, the ...
2
votes
2answers
179 views

Is it true that as long as you have the public and private key for a bitcoin address, you are safe?

So i created a public & private key on blockchain.info and printed it out as a paper wallet. Am I safe to say that no one can comprise it unless they physically get a hold of my piece of paper? ...
0
votes
1answer
178 views

How do you derive the public key from you random 256-bits integer?

Once I've flipped a fair coin 256 times and have the random 256 bits integer that I'm going to use as my private key, how is the public key derived? I've read: Given a private key, how do you get a ...
0
votes
1answer
158 views

Removing old public keys

I have an 'Electrum' wallet. I found some old public keys and imported them into it and then sent the bitcoins to an address in the main wallet. Now the transactions are confirmed and there are 0 ...
5
votes
2answers
251 views

Why are Bitcoin addresses starting with 1s or 1S so rare?

I've generated 10000-50000 key pairs using Chrome Bit Kit app or www.bitaddress.org and have noticed the scarcity of public keys which begin with 1S and/or 1s. Why is this the case?
6
votes
2answers
1k views

Does a wallet containing multiple addresses have a single private key?

Title says it all. Would one private key enable you to recover all the addresses in your wallet? Or does a wallet just contain a series of key-pairs?
2
votes
1answer
514 views

How many public keys is there?

How many wallets is there in existence(that are unique with bitcoins)? Is there any page with statistics that can give a bigger perspective other than figuring out the data structure of the ...
2
votes
1answer
150 views

Why does bitcoind not recognize the uncompressed version of my address?

I have an address representing a compressed public address, which bitcoind is recognizing as "ismine": compressed_address = n2HCyN8GWPuc8CrwbiiBASCS7iWku3Ke8S compressed_key = ...
1
vote
1answer
382 views

is there a litecoin wallet website that does NOT store your private key serverside?

blockchain.info encrypts and hashes everything clientside, as well as doing all of the signing of transactions clientside. It only sends already encrypted and signed data to the server, where the ...
1
vote
1answer
818 views

Public Key / Private Key Generation in a bash script (osx / ubuntu)

I am creating a bash script (that I will happily share on github when done) that takes random public and private keys for bitcoin and then bottles them up in an AES encrypted container and then SSSS ...
3
votes
1answer
375 views

Creating Base58 public key & private key in Java?

How can I create a base58 private key and public key in Java? I'm pretty familiar with Java and I have the bitcoinj-minimal code, but it's not clear to me how I can generate a base58 key pair from the ...
6
votes
1answer
2k views

Is it possible to get the public key of a bitcoin address I do not have the private keys for with the standard client?

It is possible to get it from here: https://blockchain.info/de/q/pubkeyaddr https://blockchain.info/q Is it possible with the standard client? How? I am aware that the blockchain only contains the ...
2
votes
2answers
86 views

Integrity of ensuring the correct recipient of a BTC public address?

If a hacker gains access to a website and proceeds to vandalize the website, including changing the public-key of a BTC wallet, this would direct all payments to the hacker. Is this a security risk ...
2
votes
1answer
370 views

How to remove private keys from wallet.dat and create “receive only” wallet?

I want to create a wallet for monitoring incoming transactions. So it should be receive only wallet that will be place on hosting, that is potentially not secure. If I understand it well, this won't ...
8
votes
2answers
4k views

Public Key + Private Key enough to backup?

I invested in bitcoins and unfortunately I have problems to understand the system. Perhaps you can answer me the following questions? 1.a) I know my public and my private key. Do I still have to ...
4
votes
3answers
1k views

Is a private key used up when part of the bitcoins it controls are sent?

Here is my current understanding of Bitcoin: I have 10 bitcoins in my wallet. If I send 5 bitcoins to someone else, I am sending the private key from my wallet to somebody's public key address. ...
2
votes
2answers
151 views

When will the public key of an address used in the network?

On block explorer there are some address with public key available, and some without. (e.g. this one has public key: http://blockexplorer.com/address/1HBheYzvX7NDtcwVrMS7gxReNRVezYS7w2 , and this ...
3
votes
1answer
395 views

How do I find the public key of a bitcoin address?

I want to know the public key of my bitcoin address, (e.g. 13mtYzgprJuLUWw1EVWSPPuC88q7fGuSX1), how do I do that?
1
vote
2answers
3k views

How Would This Procedure Be Performed? Transfer to Offline wallet

I've read alot of questions before I posted this... What I want to do is take my wallet from blockchain.info that contains a few bitcoins, and "store" it offline, however I have some specific ...