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

4
votes
2answers
47 views

Why can't we switch private and public keys?

If private and public keys are performing the same task (although asymmetrically), but I mean each one can encrypt something that only the other one can decrypt, can I create a paper wallet and share ...
0
votes
1answer
67 views

How do I get my public address in Bitcoin Core?

In a world of pain at the moment. I downloaded Bitcoin Core, and before I realised I'd need the complete downloaded Blockchain, my friend transferred some coins to my address. I did some research ...
1
vote
2answers
46 views

Multiple public keys - Total received funds

If I create a new public key (Bitcoin Address) for every transaction I'm receiving, is there some way to find my total balances of my wallet/private key? And are there any downsides with creating ...
1
vote
1answer
47 views

How to generate Ed25519 public key from private key using libsodium?

Not all crypto currencies are using secp256k1 technology for keypair generation and digital signatures. Curve25519 technology (frequently used to support ECDH key exchanges) is being used by a few ...
0
votes
1answer
34 views

Why scriptPubKey is a series of commands?

I am not fully understanding the design purpose of the scriptPubKey in the transaction output. I think the tx's (say tx1 here) output could just be the receiver's public key's hash. Then when the ...
1
vote
2answers
81 views

Is that safe to expose public key to the mainnet

Because every time when someone want to spend some money under an address, he need to provide public key and sent the content to the mainnet. (Please correct me if that is not correct) Where can I ...
1
vote
0answers
22 views

Creating publicKey from random programtically in c#

I've been looking around I can't understand or find a complete explanation of how to accomplish this, I've tried multiple way even this link How do you get a Bitcoin Public Key from a Private Key ...
0
votes
0answers
22 views

Where can a table of cryptocurrencies reliant upon particular elliptic curve technologies be found?

secp256k1 Koblitz Curve - is used by Bitcoin and over 100 other altcoins to synthesize public keys; used for address generation. Curve25519 Montgomery Curve - is used by Cryptonote Technologies to ...
3
votes
1answer
33 views

Derive new public keys from a public key?

This article says you can generate new public keys from an already generated public key. How is this possible? https://bitcoinmagazine.com/articles/deterministic-wallets-advantages-flaw-1385450276 ...
0
votes
1answer
27 views

How to get the MPK using bitcoinj and how to generate the addresses using the MPK?

I am trying to get the MPK of a wallet using bitcoinj. Can I get the DeterministicSeed, which is the seed of the wallet and get the MnemonicCode of 12 words. But I can't get the MPK. As I can make it ...
2
votes
1answer
40 views

What happens to the overall value of Bitcoin when a huge amount of coin is lost?

My question is 2 part: 1. How does somebody know that a set of bitcoins is lost? Merely declaring that I've lost my private key and hence bitcoin makes the coins lost? 2. What impact(and why?) would ...
0
votes
2answers
40 views

On public keys compression, why an even or odd y coordinate corresponds to the positive / negative sign respectively?

This is a paragraph from Andreas' book on compressed/uncompressed public keys. Chapter 4 - Section - Key Formats Whereas uncompressed public keys have a prefix of 04 ,compressed public keys ...
1
vote
0answers
38 views

Cryptocurrencies based on RSA instead of ECDSA

Bitcoin is based on ECDSA. Does anyone know of cryptocurrencies based on RSA for authentication?
0
votes
1answer
31 views

How does ripple verify the signature?

As I understand, the client send the following information to server 1.the hash of the message, 2. public key 3. signature made by private key And the server verified the signature with the ...
1
vote
1answer
32 views

What is the variable valertpubkey in net.cpp for?

vAlertPubKey = ParseHex("04fc9702847840aaf195de8442ebecedf5b095cdbb9bc716bda9110971b28a49e0ead8564ff0db22209e0374782c093bb899692d524e9d6a6956e7c5ecbcd68284"); The vAlertPubKey variable can be seen ...
3
votes
1answer
72 views

Where is the public key corresponding to my address stored?

Some simplified explanations of Bitcoin say, that the Bitcoin address is the public key, and anybody can easily verify that a signed transaction is valid since it was signed with corresponding private ...
3
votes
1answer
83 views

Is there a service where you can generate public/private keys without anyone knowing? Like a tamperproof digital envelope

Is there a service where it generates a BTC address with public/private key, but no one knows it until someone pays a fee to reveal it? The idea is basically, some script or some other decentralized ...
2
votes
1answer
98 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 = ...
2
votes
1answer
50 views

Secret Key value for decimal versions over 127

After reviewing the address prefixes page on the wiki, I have noticed that in Bitcoin and other altcoins that the secret key / dumped private key header is always the decimal version + 128. So with a ...
1
vote
1answer
159 views

Creating a Bitcoin online wallet service

My question is this: Lets say I wanted to create a bitcoin site, where users register and can deposit bitcoins into their account. should i use my MPK to generate infinite addresses, so after a user ...
2
votes
1answer
47 views

What is the use of hashing the public key to obtain the bitcoin address?

What is the use of hashing the public key to obtain the bitcoin address (except to compress it) rather than using the public key directly? Why not deal with public keys directly?
2
votes
1answer
162 views

What is the public key used to generate the Genesis block?

I'm trying to create and build a working fork of Bitcoin -- in order to understand how it works at the source code level. I see a lot of articles explaining how to create altcoins but they are not ...
2
votes
1answer
248 views

Generate addresses without private key: Stealth addresses vs Master Public Key

In my case a store owner has different POS terminals. On none of the terminals should be a private key stored! The owner has one wallet, where he wants to get all transactions aggregated, done on the ...
1
vote
1answer
130 views

Is there a deterministic private-public keypair generator without the BIP32 private key revealing issue?

HD Wallets have a flaw that revealing a private key and its parent master public key will reveal its parent master private key. (Described here[1] and here[2]). Isn't there a similar concept with ...
1
vote
1answer
69 views

Why new public key for every new request?

I created Bitcoin accounts using different clients but all clients I tried prompt for new public key for each request. My question is shouldn't be the public key one's identity which one should be ...
1
vote
1answer
42 views

how is the private/public keypair for spent bitcoins connected to the private/public keypair which corresponds to my address?

Spending bitcoins costs me to sacrifice (i.e. can only be used once) a private/public keypair, am I right? Receiving does not use up a private/public keypair, am I right? Creating a new address also ...
1
vote
1answer
157 views

Does a private key always generate the same public key and address?

It seems like depending on the method you get different public keys and addresses when using bitcoin-ruby with the same private key. I am probably doing something wrong, but I am not sure where it ...
0
votes
1answer
89 views

Bitcoin Testnet Trouble with bitcoin-ruby

I am having trouble with the bitcoin-ruby gem. I get the following error when trying to send money to another address I have on the test network: ...
1
vote
2answers
24 views

Is it possible to shift/modify a ECDSA keypair by a scalar where the public key can be computed using only public information?

I am looking for a method which would allow a keypair to be modified in a manner which is unpredictable to the original creator. So I was thinking a user creates a key and commits it by making a ...
2
votes
0answers
77 views

Is it possible to discover the set of bitcoin addresses from a public key?

I'm trying to find the set of bitcoin addresses from a public key associated with a user just to analyse this user transaction. Is there any way to derive/find all the addresses that have been ...
1
vote
0answers
81 views

How many unique public keys have been published to the block chain?

There have been estimates of the number of published addresses. For example: https://blockchain.info/charts/n-unique-addresses (this chart seems to be underestimating the address count) However, ...
0
votes
0answers
45 views

Extract all public keys from blockchain [duplicate]

I want to extract all public keys from the blockchain. Those will probably mostly be keys that have been used to sign transactions. How would I do this?
1
vote
1answer
317 views

All Bitcoin Public Keys with non-zero balance

I want to get a database or otherwise retrieve a set off all bitcoin public keys (not addresses) that have non zero balances. What would be the easiest way to do that? Is there an API that could do ...
1
vote
1answer
80 views

Can I verify a sub public key came from it's parent public key in a HD wallet without involving any private keys?

I know I can sign a piece of text using a bitcoin private key to prove control over a public address but are there any operations I can perform to know if a public key submitted to me was derived from ...
0
votes
2answers
168 views

ripemd160(sha256(publickey)) - Where am I going wrong?

(Note: I'm using http://www.royalforkblog.com/2014/08/11/graphical-address-generator/ (use "bitcoin" as the phrase for generating the private key) I'm trying to take the first step in going from a ...
0
votes
1answer
213 views

What version byte will produce a Base58 encoding starting with X?

What is the Value of X in Base58? The Problem is when I referred to this table: https://en.bitcoin.it/wiki/Base58Check_encoding I in the end come up with D when I used 30, but I want X, so what will ...
0
votes
2answers
508 views

Can one wallet send/receive bitcoins from/to multiple sources simultaneously?

Let's say for example I put my public bitcoin address on a website for donations and multiple people for around the world deposit bitcoins simultaneously to that same wallet: Will all deposit ...
0
votes
2answers
148 views

How can transactions be verified without the private key?

Trying to get my head around her royal Bitcoin here... I understand that blocks of transactions are broadcast to the network, and that miners verify that the BC is 'spendable' by trawling the ...
13
votes
1answer
1k views

Can private keys remain offline for their entire life?

I am new to Bitcoin and this question is based on 3 assumptions that may be incorrect. Assumption 1: If I understand correctly, the Bitcoin address is generated algorithmically independent of the ...
1
vote
1answer
444 views

Create addresses in bulk; and check balance

I am new to Bitcoin; our company wants to use bitcoin for payments. We need to create a address for each transaction. so we need to create many public address. First, I need to generate many public ...
3
votes
2answers
196 views

How safe is bitcoin with regard to a random address generation attack? [duplicate]

Imagine an attacker implementing something like the following pseudocode on the fastest ASIC farm money can buy: attack(blockchain, my_address) addresses = ...
1
vote
3answers
244 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
177 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
62 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 ...
2
votes
0answers
315 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
90 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
1k 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
134 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
105 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
99 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.