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.

1
vote
1answer
39 views

Bitpay xPrivKey to private key

Network: BCH testnet Client: bitcoin-abc-0.18/bin/bitcoind and bitcoin-cli I want to convert xPrivKey which is from exported Bitpay wallet file to private key for using bitcoin-cli importprivkey ...
1
vote
1answer
31 views

how to dump private key from multisig address

how to dump private key from multisig address ? I tried with dumpprivkey RPC function but return error : Address does not refer to a key
0
votes
1answer
30 views

Private key only wallet for Bitcoin Core regtest

I'm running a private regtest network on GCP. I generated a list of 2000 vanity testnet addresses ordered sequentially from prefixes mooo1 to n2ooo with their respective pub/priv key pairs, and to ...
2
votes
1answer
70 views

Using Python: create a private key of my choosing, then generate public key and address

I'm looking for a simple, easy to use Bitcoin library for Python. What I want to do is verify I can enter a hex private key that I want, and get the expected pubkey in compressed format, and the 1Btc....
0
votes
1answer
39 views

generating private key from bip39 seed

according to bip39, I maked 12 mnemonic words and then get a 512 bit seed from them. now I want to know how must I convert this seed to private key ? what functions must I use ? please introduce me ...
0
votes
2answers
74 views

Is there any way to recover a bitcoin private key using some parts of the key ?

I have a bitcoin wallets private key , but it's incomplete like you can say it's 70% of the private key , there is some alphanumeric missing for the middle of the key , is there anyway to recover it ...
0
votes
1answer
32 views

Who approves my public key in Bitcoin network?

In a PKI approach a public key is approved by a Certificate Authority (CA) with a centralized manner. However, since Bitcoin network is a decentralized network, how my public key validity is approved? ...
0
votes
1answer
35 views

My ripple masterkey is disabled

I have XRP secret key and regular key. but masterkey is disabled. How do i enable masterkey again to move my funds? Thanks
8
votes
3answers
987 views

How would one “Encrypt” a message using a Bitcoin *public key* and use its private key to decrypt it?

I have the following text string: This is a test message. Using my bitcoin public key (bitcoin address?), how can I encrypt this message? How would I decrypt the message using a bitcoin private key?
0
votes
1answer
60 views

How to create ECPoint from raw private key

How to create a bouncy castle ECPoint from a raw private key hex string? I am getting a private key using the 'dumpprivkey' RPC and removing the header byte and the 4 bytes of checksum + 1 byte of ...
0
votes
1answer
27 views

Off Line wallets

I am using Armory .96.4 with bitcoin core of .16.3 I have three wallets which two are encrypted ant the other is watching only. The watching has several bit coins and when I try to do a transaction ...
0
votes
1answer
63 views

Why can a wallet not compute the private-key from a public-key?

my goal of questions this is why any wallet not able to compute private key created with public key generate?
0
votes
1answer
38 views

Can i use one pair public and private key for all transactions?

Can I use one pair public and private key for all transactions, digital signatures and wallet addresses? In the other hand, I have a private key and want to sign all transactions and have a public key ...
2
votes
2answers
78 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
46 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
71 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
29 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
29 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
187 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
187 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
53 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
31 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
122 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
162 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
44 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
85 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
44 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
41 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
119 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
44 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
106 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
35 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
391 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
184 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
381 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
68 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
167 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
67 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
203 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
53 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.
1
vote
1answer
715 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
44 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
131 views

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

Given: p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 r = 0xd47ce4c025c35ec440bc81d99834a624875161a26bf56ef7fdc0f5d52f843ad1 s1 = ...
3
votes
2answers
149 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
54 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
198 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
283 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 ...