Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [private-key]

This tag should be used for questions pertaining to private keys. Private keys are used for signing transactions and allow the holder of the private key to spend the Bitcoin associated with the address derived from the private key.

2
votes
2answers
48 views

What can you do with the private key?

I am trying to understand all security regarding blockchain and bitcoins. Let's say you have a bitcoin wallet which is secured, only you know the private key. This bitcoin address was created on one ...
1
vote
1answer
30 views

I have a 100 character text message and I want to encrypt this message with my bitcoin “PUBLIC KEY” and decrypt it with my private key in Javascript

Are there any javascript libraries that can encrypt a 100 character text message using your bitcoin public key, but only be able to decrypt it with your bitcoin private key? I'm looking to create a ...
2
votes
0answers
58 views

Becoming Bitcoin wallet provider from scratch [closed]

I want to launch a bitcoin wallet service website for creating new wallets. And i want to provide a tool for user for importing their old wallets using public and private key. I know i can use some ...
0
votes
1answer
22 views

What is the relationship of ckeypool and ckeystore?

In the source, there are ckeypool and skeystore. I wonder what is the relationship of them and why need both.
0
votes
1answer
24 views

Use of Bitcoin paper wallet

A Bitcoin paper wallet contains a pair keys: public key (address used to receive coins) and private key (allows to spend coins stored at that address). Those keys are printed in a form of QR-codes so ...
1
vote
1answer
75 views

How to store private key in MySQL database?

I want to receive payments from Bitcoin on my web app, but I do not want to use corporate gateways (coinpayments, bitpay, etc), I'm wanting to make my own gateway. I do not know how best to do this ...
2
votes
2answers
86 views

What is the private key format?

I wasn't aware of a private key format, however numerous stackoverflow posts hint towards a formatting of some kind Format of private key Which private key format is this? What encoding or format ...
1
vote
1answer
32 views

Combining a Bitcoin transaction with one address holding USDT, but no BTC and using another address with BTC to pay for the fees?

I have a Bitcoin address that contains USDT, but NO BTC in it. So I cannot even send the USDT out. But I have another bitcoin address that does have BTC. Can I somehow combine these 2 addresses where ...
0
votes
1answer
25 views

Are you considered a money transmitter if your end users sends you their private keys to send funds on their behalf?

I have a service where the end user sends me their bitcoin private keys and I send it back out to a new address when a condition happens (ex. if the weather is raining). Is this still considered as ...
0
votes
1answer
67 views

Possible attack vector of BIP32 HD wallet

I've been reading about BIP32 HD wallet and it's implementation and came across a few questions regarding the possible known "attack" vector of leaked private child keys and known xpub parent key ...
1
vote
2answers
101 views

Same seed from Electrum but generate different Bitcoin addresses

I am using Electrum 3.2.2, I have the wallet file generated from Electrum and a password to decrypt the file. There is an error whenever I am trying to send Bitcoin out of that wallet, so I decide to ...
1
vote
1answer
34 views

Is there any way to revoke or update private key?

Suppose my private key corresponding to an address is stolen. Is there any way to revoke private key or update the private key?
1
vote
1answer
64 views

General private/public key generation

Not sure if this is the correct forum to ask, but I couldn't find a general one for all cryptocurrencies I wanted to get an idea on how the whole cold-storage private/public key generation works for ...
1
vote
1answer
31 views

How does a Doge public key is created from a private key?

I am looking for the differences between the creation of Doge public keys and Bitcoin public keys when inserting a private key. I am trying to make a small web-app that signs messages. There are a ...
0
votes
1answer
32 views

Can I recreate the xpub key if I have multiple public addresses with their corresponding private keys?

Is it possible to recreate the xpub key if I have multiple public addresses with their corresponding private keys? All the keys were created from the same HD wallet. I was hodling and watching my ...
0
votes
1answer
38 views

What makes an extended public or private key?

I was under the impression that an extended public key was comprised of the public key + chain code, and I'm unfamiliar with what comprises the extended private key. However this does not seem to be ...
0
votes
1answer
34 views

Looking for JS/Node.js code example to sign a transaction (with multiple UTXOs) with only the extended private key

Is there any Javascript code out there or examples on how to sign a transaction by using the extended-private-key? What I am essentially looking for is code that will help derive the private key, ...
0
votes
2answers
73 views

If anyone with your seed phrase can generate your wallet private keys, what is the advantage of a hardware wallet?

When you start using a cryptocurrency hardware wallet, you get to write down a seed phrase in some physical medium (paper, metal, etc.) so you can regain access to your funds if you lose the hardware ...
0
votes
1answer
34 views

Is auditing a BIP32 tree only possible if it is non-hardened?

BIP 32 allows you to to implement the auditor use case: Audits: N(m/*) In case an auditor needs full access to the list of incoming and outgoing payments, one can share all account public ...
5
votes
1answer
389 views

How can all possible numbers in 256-bit space be squeezed into 160-bit space?

Bitcoin addresses are essentially 160-bit hashes of a 256-bit public key. Huh? How can all possible numbers in 256-bit space be squeezed into 160-bit space? Does that mean any given bitcoin address ...
0
votes
1answer
116 views

Number of Trials Required For Brute Force Attack To Have x% Of Success?

I'm making an informational video about how unlikely it is for an attacker to successfully brute force a specific bitcoin address. Obviously, it will deal with impossibly huge numbers ("not in earth's ...
3
votes
1answer
285 views

Sweeping a bitcoin private key using PHP

Is there a PHP script where it validates a bitcoin private key and also gets the public address from the key? My goal was to: verify the private key Get the public address using that private key ...
0
votes
2answers
63 views

i lost access to my bitcoin [closed]

I did not have any idea about bitcoin but I wanted to get in, I met this guy who knew about it on facebook asked him if he could help. he sent me the link on blockchain to signup showed me how to buy ...
1
vote
1answer
113 views

Can we derive parent’s private key using child’s private key?

In the book named Mastering Bitcoin by Andreas, the author described the usage of derived child keys. One thing I noted was that he said(page 108), The derivation function is a one-way function, ...
1
vote
1answer
60 views

Digital Signature and private/public key

I am new to Bitcoin and Blockchain and I am writing a thesis for my university about this topic. I have a general question about digital signatures, which are needed to verify a transaction. As ...
0
votes
4answers
145 views

How much computing power is required to bruteforce a Litecoin private key in reasonable time?

Say I want to break a Litecoin private key having the public key using brute force. How much computing power is required for that? Does any hardware exist which can find a matching private key in, say,...
0
votes
1answer
41 views

What is the significance of the version byte in front of RIPEMD-160 hash?

Public Address is generated from the private key following some steps. Please refer Bitcoin wiki to see the process.
0
votes
1answer
426 views

python-bitcoinlib | Create Private Keys, Public Keys and Addresses - How to Do It?

I'm trying to use the python-bitcoinlib library but its docs aren't entirely clear to me. I'm a programmer but quite new to Python, and not very versed in the Bitcoin protocol. What's the process, ...
-1
votes
1answer
1k views

How to hack a Password of Private Key

I have a Private key and then after I entered it, there's another saying "Input a required Password of Private Key" So how can I hack or generate that?
0
votes
0answers
42 views

ELT Wallet is lost how do I get it back

I accidentally hit the create new wallet button when I was half asleep and when it said enter pin I entered the one for my original wallet. Now I cannot get to the original wallet and I cannot find my ...
0
votes
0answers
72 views

I want to find my private key using my extended private key

How can I find my private key to all my imported address that hold funds? Please help me. Thank you.
0
votes
1answer
116 views

How are P and ((z1*s2 - z2*s1)/(r*(s1-s2))) calculated?

Given: p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 r = 0xd47ce4c025c35ec440bc81d99834a624875161a26bf56ef7fdc0f5d52f843ad1 s1 = ...
3
votes
2answers
137 views

How do you know your public key from a private key?

In my understanding, when you create a public-private key pair, first, you create a pair of complementary keys by using cryptographic software. Then you give one key the name public key, and give the ...
1
vote
1answer
49 views

How does my hardware wallet know what my “account” balance is?

There must be a request to wallet provider's server with full node where they will check it. But what is sent?
0
votes
1answer
159 views

Can the Large Bitcoin Collider project 'break' into offline hardware wallets like the Nano Ledger S?

Let's say the Large Bitcoin Collider manages to guess the private key of a particular Nano Ledger S. Can they then 'spend' or 'steal' the Bitcoins on the Nano or 'send' them to another wallet?
1
vote
3answers
170 views

Public key cryptography question - Is Private or Public key used to sign? Confusion between which key is used to sign and which is used to encrypt

I am relatively new to cryptography and blockchain and am learning about how public key cryptography works, and its application in Bitcoin's environment. I read two different articles , the 1st which ...
0
votes
1answer
1k views

Private key to mnemonic words, is it safe?

Is it safe to do the following? Suppose I do not want the HD wallet, but I do want the convenience of using mnemonic words to remember the private key. I know I can convert the private key's hex ...
2
votes
1answer
101 views

What does 44' mean in BIP44?

After reading BIP44, I saw Purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation. I believe 0x8000002C is 128 as an integer, how does this equate to 44' however? ...
0
votes
1answer
371 views

What is the difference between the mnemonic and the private key?

My thinking so far: If I have a private number, then I can use that as the private key. If I have a mnemonic, I can match up each word to a number in the wordlist to get the seed, which is the ...
1
vote
1answer
703 views

How do HD wallets use mnemonic to recover all private keys?

As I understand, a wallet like BRD wallet can have many private keys and receiving addresses. When I give them the mnemonic, how do they re-generate all of the relevant private keys from that ...
0
votes
0answers
58 views

How to find bitcoin address from bitcoin privatekey

How to find bitcoin address from bitcoin privatekey using bitcoind json rpc or any other way?
1
vote
0answers
71 views

When develop a mobile cryptocurrency wallet, is there any good practice to store private key?

As i know, some wallet like electrum store private keys in client filesystem with encrypted and other web wallet like ether metamask store it on browser storage. And in the mobile wallet, is there any ...
0
votes
1answer
104 views

Basic Concept of Bitcoin (public and private) Keys

Can anyone please tell me the difference in the following Bitcoin terms? Difference between xpriv and xpub Difference between xpub and tpub. Difference between ypub and upub. Difference between ...
0
votes
0answers
238 views

On what kind of random number generator does each wallet create the secret key based?

Bitcoin core, OpenLedger, METAMASK, or other famous wallets(the type of wallets does not matter) create private keys by using random number generator, and I would like to know they use what kind of ...
1
vote
1answer
72 views

I have watched addresses in my wallet..how do i use them?

How do I use the watch only addresses that are in my wallet? I can't find the private keys. Is their any way to use them or should I just delete the wallet with the watch addresses in them?
0
votes
1answer
202 views

How to find my private key! Please help!

Trying to send some BTC payments and don’t know my private key. Can anyone help me and tell me it or tell me how to get it.
1
vote
1answer
497 views

How are Ledger Nano S private keys protected?

I've read quite some material but it boils down that there "is a chip" on Ledger Nano S and the private key never leaves it. But what I would like to know is the following. Is it encrypted? If so, ...
0
votes
2answers
1k views

how to get the whole balance of a privatekey or publickey BTC

As there are some bitcoin address types of one privatekey or publickey. I can get the balance of one address, but how can I get the whole balance of the privatekey or publickey. How can list all the ...
0
votes
2answers
242 views

Unlocking a Private Key from watch status

I received Some mining profits to my Blockchain. However the person who sent them to me send them to me with a private key. They then wanted me to send them money to unlock the private key. Does ...
0
votes
1answer
81 views

Is the Mycelium HD wallet private key stored encrypted on the device?

haven't found details on that in the net. My concern is that I'm using a corporate (bring you own device) phone. We have to install a "security" app running with administrator rights. IMHO this app ...