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
0answers
27 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
41 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
44 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
35 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
43 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
46 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
41 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
232 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
35 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
39 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
33 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
54 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
36 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
52 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
59 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
50 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
181 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
38 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
47 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
32 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
67 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
48 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
51 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
100 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
136 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
63 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
69 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 ...
0
votes
1answer
154 views

Convert EC PRIVATE KEY from .pem into WIF

I have a openssl generated private key in the following form: $ cat priv.pem -----BEGIN EC PARAMETERS----- BgUrgQQACg== -----END EC PARAMETERS----- -----BEGIN EC PRIVATE KEY----- ...
0
votes
0answers
24 views

Bitcoin Core Question, Initialization Vector

I am reviewing Bitcoin Core source code. I am following the code which states take a double sha 256 of the public key to get the IV and use the master key for the encryption key for encrypted wallet....
1
vote
1answer
139 views

How does BIP 39 mnemonic work?

As I already understood the mnemonics are the private key separated in 12 words which joined together in the very same order produces the private key. How are mnemonics generated? Why Ledger ...
0
votes
2answers
53 views

Recovering a Bitcoin Key Made From Rolling Dice

So a few years ago I created a private key by rolling dice. Following the instructions from bitaddress.org, I rolled a dice 99 times and entered the string into the bitaddress.org. Rather than ...
1
vote
1answer
54 views

Conditions for recovering a p2pkh bitcoin private key

Apart from Re-using same R value, What are the necessarily ecdsa values needed or method to recover the private key of a p2pkh address. When same address is reused numerous times to receive bitcoin ...
1
vote
0answers
34 views

how private key is stored? [closed]

How is the private key or master seed managed on iOS or Android? In copay, using Secure Enclave? And as for Android device how is the private key or master seed managed?
0
votes
1answer
91 views

Where is the AES-256 key/ IV pair stored in wallet.dat file?

I have created an encrypted bitcoin file. I know the password and I see the mkey in the hex dump. I would like to know where the AES key / IV pair are located in the wallet.dat file?
0
votes
1answer
74 views

Javascript library or code that can convert an “uncompressed” bitcoin private key to a compressed one

I forked a pretty old brain wallet generator: https://dvdbng.github.io/memwallet/ -- Currently it generates uncompressed bitcoin private keys. Is there a javascript library that can convert an ...
0
votes
0answers
49 views

Mycelium not reading segwit bech32 (bc1) addresses from a private key

I'm trying to import my bitcoin private key into the Mycelium android wallet, but it keeps showing up as the legacy address that starts with 1xxx. I sent some coins to the bc1 address and I verified ...
0
votes
1answer
47 views

Importing private key to bitcoin node is slow. Can it be faster?

I have launched the bitcoin node and synchronized it. The issue is that importing the private key forces the node to scan the blockchain for the operations with the key. Is there a way to import the ...
0
votes
1answer
43 views

Exporting private key from expired bitcoin address (now showing as watch-only)

Is there a way, in theory, to export private key from the bitcoin address (watch-only) that is now expired, but used once before? (even to get a different format of that key, numeric one instead of QR ...
0
votes
0answers
228 views

How can I technically find my private key for bitcoin wallet address (Blockchain) that has been used before?

So I really made a mistake by importing address without knowing I will be asked for a private key later since that address is watch-only. Seems like this address has already been used before on my ...
0
votes
2answers
105 views

What is the need for multiple private keys?

From what I understand, there is initially a seed from which the private keys are derieved and from that the public key respective to each private key is derived. The public key is essentially the ...
1
vote
0answers
69 views

How to send & receive bitcoin using bitcoinjs-lib?

First I create HD Wallet using BIP32 using mnemonics. Now I want to generate new child addresses with private key using xpub & xpriv for every receive. Then for example, I received BTC in 2 ...
0
votes
0answers
55 views

Blockchain Private Key

I have been paying amounts of bitcoin, with the promise from Howard Jones in Texas that I will get my private key to get the bitcoin, but when it was time to give me the key, communication went quiet, ...
3
votes
1answer
64 views

Linking Bitcoin addresses based on a private key - is that possible

I have seen a claim as follows: [We] apply algorithms to detect which bitcoin addresses are sharing the same private keys. In most cases, this leads to a high-level assertion of certain addresses ...
0
votes
1answer
89 views

Two transactions are signed by different private keys, and the value of “R” for these two transactions is the same?

Everyone knows an error in the Blockchain when the same value of "R" can be calculated and find out the private key of the transaction: ECDSA Signature and the "z" value But I have a ...
0
votes
1answer
71 views

Can someone help me find the private key for my bitcoin wallet? [duplicate]

I have a Bitcoin Wallet on Blockchain and i have a imported wallet there where my bitcoin is stuck please help.
0
votes
2answers
265 views

How to recover private key from 12-word passphrase?

I'm wondering if there's anyone out there who knows how to retrieve your private key using your 12-word passphrase? Your advice is much appreciated
0
votes
1answer
82 views

Bitcoin ATM paid out to a phone number, how can the funds be retrieved?

A friend was trying to send me bitcoin using a Bitcoin ATM, she sent the funds to "her phone number" instead of my wallet QR code. The ATM indicated that Bitcoin was sent, but my friend doesn't even ...
0
votes
1answer
44 views

Does Bitcoin Core still use “Bitcoin seed” in addition to a seed like stated in BIP 32?

In BIP 32 it's stated that a Master Private key is generated by hashing the concatenation of a random seed and the string "Bitcoin seed". And is like so in the example implementations. But I couldn't ...
3
votes
1answer
94 views

Is signature/private-key required to accept payment over Lightning Network?

To (1) create an invoice and (2) accept payment in LN, the node has to be online. But does the node need to sign the creating invoice or the accepting payment? We don't have to have private key ...