Skip to main content
The 2024 Developer Survey results are live! See the results

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
3 votes
0 answers
47 views

What is exactly Randstorm vulnerability?

I've read the article from Unciphered about it, multiple times, and still fail to understand it It basically says that wallets generated by BitcoinJs front end library from 2011 to 2015 are vulnerable ...
Maltoon Yezi's user avatar
0 votes
1 answer
63 views

Obtaining other portion of my private key

I have only a partial private key due to hard drive damage. I have the full public key I plan to extrapolate back on the secp256k1 elliptic curve to locate the full private key. What are my chances of ...
Jonathan's user avatar
0 votes
0 answers
37 views

How can I create a new prefix for an extended key (xprv, zprv...)?

I'm trying to create a new prefix to change the prefix of a xprv, but it doesn't work, what I need to know for do it? I'm looking to use the prefix 'nxprv'. I'm trying to use this code(it works to ...
Anderson Juhasc's user avatar
0 votes
1 answer
119 views

How to obtain private key from BIP-39 mnemonic

Trying to obtain a lost private key from 24 mnemonic phrases and a 25th word. Has anybody successfully managed to do this ? Have looked at BIP39 converter but not sure if this has that ability, and ...
richard's user avatar
1 vote
0 answers
76 views

Getting "Public key is neither compressed or uncompressed" after trying to send with imported key

I still have a private key from an old Bitcoin wallet (circa 2012), and I have a private key. I downloaded the bitWallet app for iOS, entered my private key there and my wallet with balance and all ...
iKey's user avatar
  • 111
-1 votes
1 answer
42 views

What determines the validity of the Private Key in WIF format?

I understand the sha256 64 string hexadecimal "manually" can be altered, but in case of WIF Private Key the generate one must have very specific strings, and it is really difficult to alter ...
Dan Gonzalez's user avatar
1 vote
1 answer
180 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
49 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
37 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
33 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
161 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
100 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's user avatar
  • 181
0 votes
0 answers
20 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
274 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
517 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
103 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
46 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
86 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
116 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
272 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
101 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
1 answer
88 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
149 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
103 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
285 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
211 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
27 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
68 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
120 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
743 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
563 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
101 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
  • 159
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
198 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
51 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
138 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
136 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,099
1 vote
3 answers
358 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
93 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
209 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
60 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
958 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
3 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
  • 133
3 votes
1 answer
70 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
154 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
2 answers
159 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
1 vote
1 answer
354 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
  • 187
3 votes
1 answer
63 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
182 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,099

1
2 3 4 5
18