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.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 views

produce a public key from private key with ecc

According to this answer: https://bitcoin.stackexchange.com/a/63996/100526 When he wants to generate a public key from the private key, he has used K=k*G. but I can't understand it's result. If we ...
1
vote
0answers
18 views

How can you generate a bitcoin Public Key from an existing Private Key using openssl?

I know that you can generate a new key pair with a command like. openssl ecparam -genkey -name secp256k1 And the resulting output will contain a new private key with the encoded public key. Is it ...
0
votes
2answers
30 views

When you buy bitcoin do you get the private key mailed to you?

Im very confused about how you get your private key and how u can transfer it
0
votes
1answer
61 views

I lost my uncle few Weeks ago due to the covid 19 and I have his wallet

I have my uncle wallet and I don’t have his private key can anyone help
1
vote
1answer
35 views

How can you trust Bitcoin nodes?

If you send send a transaction request to a node, what is to to ensure that node doesn't simply log your private key and do nothing? What is to stop the entry node from taking a transaction intended ...
0
votes
0answers
14 views

how to create a run.cmd file if I have Windows 8.1 64 bit with command [closed]

https://i.stack.imgur.com/qXpQ8.png here shows an example of the command line to run
0
votes
1answer
30 views

Scanning QR Code to Get Private Key [duplicate]

How do I get to scan QR code to get private key of a "watch only" blockchain wallet address?
0
votes
0answers
57 views

How to generate these bitcoin addresses?

For the private key KwaZRh42fdQD4iUN6sy2GtEC5gfSAYXrQgp16KPV4Pxsspi5ChRb, I have the following addresses: 1N7jKvQ1fHezb61eNsGEaF4gcj5sQXhb2m (P2PKH) 14MNoFYWheu7sLkj8urvXCpYEdCuL4m2PH (P2PKH) ...
-1
votes
1answer
97 views

Getting a Private Key [closed]

1) When is a Private Key generated? 2) Where is it generated? 3) Where is it stored? 4) How do I use the Private Key to release funds from 'non-spendable' status
1
vote
1answer
53 views

Relationship of Bitcoin address and Public Key

I am trying to understand relationship between your Public Key and bitcoin address. After reading few blogs my understanding was that after generating your Master Key pair, in HD wallet. One should ...
1
vote
1answer
71 views

Sign transaction legacy with Openssl

I want to understand how Bitcoin sign transactions with Openssl. I saw this post But I have some issues. Above my private and public keys. Private keys: $ cat chiave_priv_3.pem -----BEGIN EC ...
0
votes
1answer
90 views

How to get private key and Bitcoin address in pure Python - without modules?

How to make a pure Python code for Bitcoin address and private key without modules? For now I learn only how from decimal to get a hex. How from hex to private key WIF and than Bitcoin address? bits ...
2
votes
1answer
55 views

Positive or negative private key of a bitcoin wallet?

Private key is a number. Is the question positive or negative? Is it possible to know a positive private key or negative if you only know the public key? For instance: Positive private key: 2 ...
4
votes
1answer
303 views

A security need for Bitcoin to fork to quantum resistant algorithm in a few years?

in just a few years I believe that quantums will exist that break asymmetric ciphers, and bitcoin is based on asymmetric ones like public-key-cryptography, correct? Symmetric algorithms are supposed ...
0
votes
1answer
36 views

How Bitcoin Core calculate extended private masterkey from hdseed

I am testing a Bitcoin application, and to test the signing of transactions I use regtest with Bitcoin Core. But I have some problems, the first I have already published in a question that I still ...
4
votes
1answer
222 views

How many possible addresses per bitcoin private key?

Based on my research every bitcoin private key (compressed or uncompressed) can have 4 different addresses: P2PKH compressed and starts with 1 P2PKH uncompressed and starts with 1 P2SH and starts ...
0
votes
1answer
69 views

Priv Key with 58 characters to WIF

I have an old paper wallet with Private Keys of 58 characters (all starting with a 6). These can be imported e.g. on blockchain.com, but since I still have BSV on this key, I have to import/sweep it ...
2
votes
3answers
153 views

How to subtract two points on an elliptic curve?

Please tell me if there is a formula for A-B, (That is, subtraction of two points / minus). I know how two points are added, A + B this addition is described in detail (Please tell me how you can ...
0
votes
1answer
96 views

How to get uncompressed BTC address and private key from bit module for Python?

I am new in programming and BTC. I want to make some BTC address with private keys. Till now I learn that we have compressed and uncompressed private keys. But I get only compressed private keys and ...
1
vote
0answers
66 views

Re: Old bitcoin address fro BCH and BSV claiming

I have a BTC address from 2013 when I bought my BTC, it is a paper wallet (the BTC have been moved), but I want to claim my BCH and BSV (Is this correct I can also claim BSV?) and move it to my trezor....
0
votes
0answers
33 views

Edge private keys

I want to read the balance on my Edge wallet programatically. I have thus taken the wallet's Master Private Key, which I had expected to be a BIP39 seed phrase but is instead a hex value, and am ...
1
vote
1answer
45 views

Why is 'p2pkh:' prepended at the beginning of private key addresses in electrum?

I recently started a Blockchain course and came across the electrum software. While going through the list of wallet addresses and associated private keys I found that 'p2pkh' is placed at the start ...
0
votes
0answers
53 views

How to Generate an Extended Private Key from Command Line?

I'm trying to create an extended private key so I can create multiple public addresses that can be controlled using a single master key. I have a library which handles most of what I need, but I need ...
0
votes
1answer
66 views

Use hdseedid to give all addresses in bitcoin

I'm using bitcoin core version 0.18.1 and I'm studying Hd Wallet. I can see the value hdseedid, and I understand that it's HASH160 of my hd seed. Can I use this seed to retrieve all my keys? I tried ...
1
vote
1answer
61 views

What is the state of the Wasabi wallet - when will it be ready for mainstream mass usage? [closed]

The wasabi wallet https://twitter.com/wasabiwallet Is still under development. Anyone here who can tell about the roadmap? Whats the status currently and when is expected to be ready for mass ...
0
votes
1answer
40 views

Bitcoin wallets- question about control and centralization

Community, Just a quick simple question very important for me to understand about the security of wallet types. Are there bitcoin wallets which can shut down and block/freeze/control your bitcoin ...
2
votes
1answer
67 views

Bitcoin Private Key question

Thanks for your great content. I've got a question regarding Bitcoin Private Key. If a hacker stole a Private Key and took possession of the coins by entering the Private Key into his own preferred ...
0
votes
1answer
58 views

Delete a specific private key from an Electrum 3.3.8 wallet via the command line?

I imported a few private keys into my electrum wallet via the command line. Now I want to delete these specific private keys from electrum 3.3.8 - What is the command to delete these keys from my ...
0
votes
1answer
55 views

How long would it take for all the Bitcoin Key pairs to be calculated?

Is this even something one should be worried about?
4
votes
3answers
281 views

Are BTC Private Keys evenly distributed in 256bit space?

If we assume that there are ~2^96 private keys for EACH bitcoin address (2^256-160) and we assume that in cryptography it is considered good property of every hash function if it evenly distributes ...
1
vote
1answer
61 views

What exactly happens when I import private keys to my wallet?

I can create addresses with private keys and import those keys into my wallet to receive their unspent outputs to later spend. My question is split into two parts: What exactly happens when you ...
0
votes
1answer
104 views

When generate WIF private key , base58check('80'.decode('hex')) not prefix as '5'

i try to generate WIF private key with python. import base58 import hashlib def b58(hex): return base58.b58encode(hex) def sha256(hex): return hashlib.sha256(hex).digest() def main(): ...
0
votes
0answers
55 views

Getting Error “Unable to sign input, invalid stack size (possibly missing key)”

I have created a key from using coinstring, and then imported it into my wallet. Then I ran: bitcoin-cli signrawtransactionwithkey "$rawtxhex" "[\"$mykey$\"]" But it results in: Unable to sign ...
0
votes
2answers
70 views

How to use BitCoin private keys (a primer)

I am learning about BitCoin private keys and trying to figure out what the best way to use them are. I get their purpose and that they need a strong password, etc. But what I don't understand in ...
0
votes
0answers
46 views

What am I doing wrong when calculating the BitCoin Base58 Private Key?

I have this: const crypto = require('crypto') const bs58 = require('bs58') const a = crypto.randomBytes(32) const b = crypto.createHash('sha256').update(a).digest('hex') const c = '80' + b const d = ...
0
votes
1answer
124 views

How to start using signrawtransactionwithkey instead of signrawtransaction

I am following this tutorial, which says to use signrawtransaction. However, I get: error code: -32 error message: signrawtransaction was removed in v0.18. Clients should transition to using ...
0
votes
1answer
80 views

Is it possible to add two secp256k1 points to get a “shared key”?

As I know from the Elliptic Curve Diffie Hellman (ECDH), you can create a "Shared Key": https://asecuritysite.com/encryption/ecdh2 This will look like this: dA × dB × G = Shared Key QB = dB × G QA ...
3
votes
1answer
57 views

Why can't a longer key combat quantum computers?

Google's new quantum computer performed a calculation in 3.5 minutes that would have taken 10,000 years on a normal computer (so they claim: https://www.space.com/quantum-computer-milestone-supremacy....
2
votes
2answers
233 views

How can someone lose funds in Lightning Network?

In Bitcoin once you own a private key associated with an address that had bitcoins on it, your funds are theoretically safe for ever. But on the Lightning Network, I see that once you send bitcoin to ...
0
votes
1answer
41 views

How can I extract my bitcoin public address from my bitcoin private key using PHP for Nodejs?

I'm building out an application, but I need to verify if the bitcoin private keys have a positive balance. Is there a PHP script or some type of service that I can pass in a private key and outputs ...
0
votes
1answer
61 views

Is OP_RETURN dangerous for Bitcoin?

Please explain something about OP_RETURN to me? https://bitcointalk.org/index.php?topic=1166928.0 I saw a discussion that the contents of OP_RETURN can open the value of access to the private key. I ...
0
votes
1answer
63 views

Can two bitcoin transactions from a Segwit address (p2sh-p2wpkh) have a reused R value?

Good day. I'd found these two transactions: https://www.blockchain.com/es/btc/tx/2b08d658045724aba40b58690ad84ec2af1f01ab58df37387dadd2b27789f44c and https://www.blockchain.com/es/btc/tx/...
0
votes
1answer
315 views

Bitcoin i have been asked to send money for a private key [duplicate]

Hi i have been asked to send money for funds that are nonspendable to receive a private key to unlock it, it's from bitcoin investing. How safe is this as i'm worried i wont receive the payment. It's ...
0
votes
2answers
52 views

Who store seed phrases data

Seed phrases seem to be pretty secure, approximately as strong as bitcoin private key according to this site https://en.bitcoin.it/wiki/Seed_phrase. But who store the private key adresses of these ...
1
vote
1answer
61 views

What does a Bitcoin lightning private key look like?

I know bitcoin private keys start with a 5... But how does a lightning bitcoin private key look like? Say I wanted to printed it out as a paper wallet.
1
vote
0answers
238 views

Bitcoin Private Key Decryption

At present, I have dumped my wallet and have all private key, address information. I am now wanting to understand the decryption process for the private keys within the wallet. I have completed the ...
0
votes
0answers
21 views

At what step does the private key is transformed to mnemonic phrase [duplicate]

If I am correct to make a private key you have to first generate a random 256 bit number then transform it to a WIF private key using base 58 check encode, does the mnemonic phrase is generated from ...
0
votes
1answer
336 views

Bitcoin private key and address generator in golang

I am looking for a golang alternative to https://github.com/richardkiss/pycoin . So far I have found https://github.com/btcsuite/btcd but have not figured out how to generate private keys and ...
2
votes
1answer
66 views

What prevent a smartphone wallet from downloading my keys

Wallet software use variant technologies to protect and hide our private keys like mnemonic or simply using the private keys. What would prevent them from making a patch to their software that will ...
0
votes
1answer
204 views

Convert private key to integer

I have a random private key (compressed or uncompressed) 5HpHagT65TZzG1QDbnQCzdudnpknN7nA1SLEt4ZcxsH2SV92yqt or KwDiBf89QgGbjEmUcXPRwPuKPFnFECvJkvovGNiyjaujMCrQXy98. How do I convert this private key ...

1
2 3 4 5
13