Questions tagged [private-key]

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
1 vote
1 answer
46 views

What's the raw logic for converting a seed phrase to private key

I'm interested in how an actual seed phrase is converted into a private key. I think it's a long the lines of. Generate 11 word seed phrase Convert the numbers into binary Add up the binary numbers ...
Ritzy Dev's user avatar
  • 111
1 vote
0 answers
30 views

Offline Paper Wallet Creation

I was wanting create an offline Paper Wallet, ideally, without using a computer for nothing more that verification. So, that's how I came across Entropy. What is the risk of attempting to create a ...
Scott 123's user avatar
0 votes
0 answers
13 views

Help me recover my lost Bitcoin wallet [duplicate]

In 2015, I bought around 10 BTC at $400 each. I didn't realize I had them until one of these days, while going through my old Skype conversations with a friend, I found out that I had sold him a ...
Julio Izquierdo's user avatar
0 votes
0 answers
18 views

How to know the number of digits in the decimals place in division results (ECC SECP256K1)?

p - is the order of the finite field n - is the order of the group. Private keys can range from 1 (the generator point G) to n - 1. All the private keys (Priv) lie in certain ranges of 2. 2^a < ...
Maltoon Yezi's user avatar
1 vote
0 answers
43 views

How to generate private key from 24-word mnemonic phrase? (Native Segwit)

When Googling, entire first page consists of people linking to online "calculators" (no thank you) or outdated bip39 code which no longer works. I have a 24 word seed phrase (from ledger ...
Cobie Fisher's user avatar
0 votes
2 answers
52 views

Does the 25th password make the wallet harder to crack?

Lets say you have a 24 word seed bitcoin wallet. And then you add a password that's 96 characters long. Does that make it twice as hard to geuss? Is this new private/public key generated completely ...
Trevor Wood's user avatar
0 votes
0 answers
19 views

How to get descriptors private key [duplicate]

When I trie to use the dumpprivkey and then my address.i get an error it says it is only available for legacy users only how can I fix tht problem
Sifiso 's user avatar
2 votes
1 answer
113 views

Partial private key recovery

I had the pleasure of setting up a Bitcoin wallet using the Blue Wallet app and diligently noted down the 52 characters of my private key on a piece of paper for backup purposes. Upon revisiting the ...
minodo's user avatar
  • 21
6 votes
1 answer
458 views

How can a collision attack reveal the private key?

From "Mastering Bitcoin: Programming the Open Blockchain 3d edition, Ch4" : All addresses based on hash functions are theoretically vulnerable to an attacker independently finding the same ...
Vanconts's user avatar
1 vote
1 answer
44 views

Deriving bip84 addresses with python

Does anyone have a python script deriving the bip84 addresses from the private key? I do have the private root key so I don't need to go all the way from the private key. I'd like to do this with the ...
Peder Rustad's user avatar
1 vote
1 answer
35 views

What is one word seed word exactly?

I have the following code import hashlib import binascii def word_to_private_key(word): sha256_hash = hashlib.sha256(word.encode()).digest() private_key = binascii.hexlify(sha256_hash).decode(...
Asif Iqbal's user avatar
0 votes
0 answers
78 views

Is it safe to share half of the private key in WIF format?

Assuming I would generate my keys on https://www.bitaddress.org. Is it safe to share the following four pieces of data? One half of the private key. The public key. An SHA512 hash of the private key. ...
Ohumeronen's user avatar
4 votes
1 answer
75 views

Why checksum the privkey in WIF?

Why does the WIF conversion process mandate the double-hash-and-append on the 80+privkey / 80+privkey+01 string, given that nobody is questioning the correctness of that privkey number?
Lilacrail's user avatar
  • 141
1 vote
1 answer
256 views

Two private keys whose corresponding public keys have the same x-value?

For a given integer m, there are at most two points in the secp256k1 curve whose x-value is m. Have we ever actually found a pair of distinct private keys whose corresponding public keys have the same ...
mathboi's user avatar
  • 191
2 votes
1 answer
70 views

What is the default private key type for legacy and segwit addresses?

In a library I'm reading, I can export a private key to a WIF, which takes a compressed boolean parameter. It reads: "...False if you want a standard WIF export (the most standard option). True ...
Zenul_Abidin's user avatar
0 votes
0 answers
174 views

wallet.dat password recovey

everyone! I forgot the password for my wallet.dat, I tried to recover it myself, I’ve been working on it for a month now, but so far without success...at the moment I got to the pywallet.py program ...
Alex_BTC's user avatar
0 votes
1 answer
69 views

Bitcoin Core for Mac not syncing, can't access private key

Wondering if you can help me guys, I'm new to using bitcoins and recently downloaded Bitcoin Core to my MacBook. I stupidly sent bitcoins to my wallet without realising i had to sync first, but it's ...
miki 02's user avatar
1 vote
1 answer
139 views

Is the "BIP39 words contain all the bitcoin in the world" meme correct?

A common bitcoin meme is to post an image of the BIP39 wordlist with a caption "Here is access to all of the bitcoin in the world, you’re welcome.". Is this strictly true? Does the set of ...
JourneyIntoBTC's user avatar
0 votes
1 answer
70 views

A wrong wallet situation

On 9th of this month I have my dad send me some bitcoin and I gave him my wallet for the payment.. after a while he told me he sent it I didn’t see it and I taught it was network and I would get it ...
Josh's user avatar
  • 1
0 votes
1 answer
206 views

Importaddress and migrate to descriptor

I created a script for studying purposes, generating a private key, a public key, and a P2SH address with a redeem script and RIPEMD160. I stored the address string in address_P2SH.txt. I updated ...
monkeyUser's user avatar
0 votes
2 answers
168 views

Import old paper backup (WIF private key) into modern Bitcoin-QT

When trying to import a WIF private key into Bitcoin-QT i get this error: Only legacy wallets are supported by this command (code -4) How can one import a private key on a non-legacy wallet?
Ken's user avatar
  • 1
0 votes
0 answers
24 views

Can I use 2 individual private keys to spend from my Bip32 HD 2 or 2 multisig?

Example keys are fake: If I build a 2 of 2 in Sparrow or any Bip32 Determ wallet, with P2WSH native segwit, and ONLY send funds to the very FIRST receiving address: m/48'/0'/0'/2'/0/0: ...
George's user avatar
  • 1
1 vote
0 answers
50 views

sweep 52 Character private key beginning with L

I'm trying to sweep an unencrypted private key, created with bitaddress.org 4 years ago into, Electrum. I also gave these to family with small amounts on, so need to figure this out before I go down ...
Mark's user avatar
  • 11
1 vote
0 answers
95 views

Bip32 Root Key in Metamask Signature? [closed]

I recently fell victim to an inferno contract that took a significant amount of my ERC-20 coins. I realize that this is a Bitcoin site, but a white hat hacker approached and offered to help, and told ...
rnaka's user avatar
  • 11
0 votes
1 answer
425 views

How to get scriptPubKey from public key hash

My goal is to create a transaction. For that I need to know the following things: The private key signing the transaction. Who can spend the bitcoins that I'm sending. Valid UTXOs that the sender can ...
Nahum Maurice's user avatar
1 vote
0 answers
435 views

Decrypt an encrypted mkey from a corrupt Bitcoin Core wallet.dat file

I have a 94 digit encrypted mkey that I obtained from my corrupted bitcoin core wallet.dat file. I also have the password, the salt, and the number of iterations. Using the password I’m unable to send ...
Pennyflipper101's user avatar
0 votes
1 answer
89 views

Public key factors - but what's next?

Let's say I found (I know, impossible) public key factors. What to do with them next to compute original private key for that public key?
pbies's user avatar
  • 149
0 votes
0 answers
24 views

Is Clux Wallet Genuine? I am asked to add funds to my Clux Wallet in order tp generate a private key [duplicate]

I am new to crypto trading. My crypto trader refused to send the earnings to Binance or WazirX saying there are issues with these wallets on their side. And deposited my funds in a crypto wallet ...
NEWBIECRYPTOTRADER8's user avatar
1 vote
2 answers
169 views

What if I delete the wallet file but still have my private key

I am just trying to learn more about bitcoin. My question is what if i delete the wallet file from my computer but I still have my private key, still I be able to access my wallet?
Papi's user avatar
  • 23
1 vote
1 answer
49 views

Why are unused offline generated addresses showing up on blockchain.com [duplicate]

I've created two addresses using the nodejs javascript library 'bitcoinjs-lib' version 5.2.0. In both cases if I enter them into blockchain.com, they show a zero balance with zero transactions. I ...
nunya07's user avatar
  • 11
0 votes
1 answer
116 views

Is a private key that is created with an additional passphrase included in the existing 24 worded private key basket?

We know that there are finite number of private keys out there that are derived from 24 words. If I create a wallet with an additional 25th word passphrase (which is not in the existing 2048 seed ...
Efe's user avatar
  • 407
0 votes
1 answer
109 views

What is the purpose of the different types of extended keys, as well as some of its other elements?

I have a few questions about the extended public/private key, i.e. the purpose of its elements. Namely, according to the BIP32 standard, the "format" of the extended key is as follows: [ ...
dassd's user avatar
  • 1,069
1 vote
3 answers
271 views

Do I need to store my hardware wallet's derivation path?

"Not your keys, not your coins" is common mantra. I thought all I needed to do was to safeguard my private keys (via hardware wallet, cold storage) to be able to reconstitute my BTC at any ...
Runeaway3's user avatar
  • 329
11 votes
3 answers
4k views

How can I manually (on paper) calculate a Bitcoin public key from a private key?

I am interested in generating a Bitcoin address by hand for security's sake. After I choose/generate a private key, how do I generate the public key? From there, how would I double check my work? ...
Peter Bergman's user avatar
0 votes
1 answer
80 views

How three addresses from the same (un)compressed key works?

As far as I understand, if we have one private key, we're able to create 4+ matching addresses. I'll use famous int(1) as a private key for example here. Then we can create: P2PKH from the compressed ...
Putnik's user avatar
  • 63
1 vote
2 answers
198 views

Bitcoin keys explained?

I found a diagram, which explains in an excellent way how to convert a public key to a P2PKH address here(1). Also, I found a good map of types of addresses/keys here(2) and a list of all possible ...
Putnik's user avatar
  • 63
1 vote
1 answer
59 views

multiple multisigs with minimal cold devices

I want to maximize security but minimize complexity. Let's say I have large enough sums of BTC that need to be secured into three buckets: KYC Personal BTC Non KYC Personal BTC (mined) KYC Company ...
Francis's user avatar
  • 11
0 votes
0 answers
669 views

is it possible to recover my exodus wallet, from a backup file?

I have a one year old back-up (exodus.zip). When extracted from ZIP and placed that folder in AppData/Roaming/ now it asks for passwords which I don't remember anymore. Inside the 'exodus.wallet' ...
Andrew Kalis's user avatar
2 votes
3 answers
2k views

Is 24 words seed safer than 12 words in terms of bruteforcing the private key

Is a 24 words seed more secure than 12 words in terms of brute forcing the private key? From the following answer I read that a private key is always "just" 128bit even when derived from 24 ...
drivenuts's user avatar
  • 123
3 votes
1 answer
69 views

Terminology on what do hardware wallets actually store?

Going by the BIP39 standard, it seems that what is stored is the seed (lets call it A). But what is confusing is that people elsewhere seem to be conflating the mnemonic (the 24 or 12 word list, lets ...
Cigarette Smoking Man's user avatar
1 vote
0 answers
135 views

multisig vs singlesig

Due to the Ledger debacle I have purchased a Coldcard hardware wallet. I made this decision partly based on watching the Antonopoulos live stream last week. Until now I have backed up my bitcoin on a ...
Sam's user avatar
  • 11
0 votes
0 answers
72 views

Wallet import issues

I had saved 2 private keys starting with K and L respectively which is a 52 characters key along with address some small balances of $300 thought i lost them luckily it was saved in my gdrive But when ...
Beingcrypto's user avatar
0 votes
2 answers
128 views

Command line generated address can't recover with seed phrase, what am I missing?

I have generated a bitcoin address using the following commands along with a ruby script for compression. First I generate a key using echo "24 word seed phrase BIP 39" | openssl sha256 Then ...
va1va2's user avatar
  • 3
0 votes
0 answers
26 views

Customizing the algoritm of the private key of Bitcoin (js)

Is there a way to change the Bitcoin private key creation algorithm so that only private keys are created whose extracted addresses start with "1a"? A guide on the feasibility of this idea ...
user avatar
1 vote
1 answer
240 views

Are satoshis private keys easier to find than modern ones (given proper security in both cases)?

I read that back then, you had entropies of 128 bit instead of 256. Like 12 vs 24 word mnemonic seed phrases. Are their wallets easier to brute force than other ones?
codepleb's user avatar
  • 189
3 votes
1 answer
62 views

Are there CoinSwap-like protocols that don't need access to raw private keys?

Say you would like to atomically swap Bitcoins with a counterparty, without an obvious on-chain link such as a hash pre-image used in an HTLC-like Bitcoin Script. The constructions I am aware of ...
Dominik Spicher's user avatar
2 votes
1 answer
167 views

What am I doing wrong in calculating child private key in HD wallets and reversing back parent private key?

I'm trying to understand the process of creating the children's private key and, in the case of knowing the children's private key and the left 256-bit hash result, the process of returning the parent'...
dassd's user avatar
  • 1,069
3 votes
2 answers
387 views

How are children's private keys in HD wallets obtained and how can knowing them reveal the parent's private key?

I'm reading master bitcoin book and I came to the part related to HD wallets and how to create a Child private key (link). It says the following: The parent public key, chain code, and the index ...
dassd's user avatar
  • 1,069
1 vote
1 answer
280 views

Xpriv can be calculated from the xpub + child private key?

I heard Michael Flaxman say that if an attacker obtains your xpub key as well as any one of your child private keys, they can calculate your master private key? Why is this not a huge deal? Where are ...
chaulmianmints's user avatar
0 votes
1 answer
33 views

Which are considered not-for-public fields of the ones returned by getaddressinfo?

Create a new address in a descriptor wallet, then getaddressinfo - a result like the following is output: { "result": { "address": "bc1qf...", "...
Meglio's user avatar
  • 289

1
2 3 4 5
18