Author

Topic: Bitcoin private key or nonce find (Read 158 times)

newbie
Activity: 30
Merit: 0
March 20, 2024, 04:13:50 AM
#7
Using the same nonce is very unlikely. But can't nonce be used consecutively in the same transaction? Is there no way to calculate this?
legendary
Activity: 4466
Merit: 3391
March 18, 2024, 05:58:54 PM
#6
Just repeating what Cricktor wrote.

If the same nonce is used in two different signatures using the same private key, then its value can be found. The math is explained at https://learnmeabitcoin.com/technical/cryptography/elliptic-curve/ecdsa/#sign in the "Private Key Recovery" section.
hero member
Activity: 714
Merit: 1010
Crypto Swap Exchange
March 18, 2024, 05:31:22 PM
#5
OP is very likely not speaking of the nonce value as part of the block header and which is one of iterated variable parts during mining. OP refers to nonce value involved in ECDSA signature used to sign a Bitcoin transaction, see also https://learnmeabitcoin.com/technical/cryptography/elliptic-curve/ecdsa/#sign.

I don't understand enough yet of the details and mathematical relations. All I know is that the nonce value for a ECDSA signature needs to be as random as possible. If nonce is chosen "badly" or predictably you can derive the otherwise hidden private key from a known signature. There are examples and stolen coins where bad nonces have been used and particularly when re-used in Bitcoin transaction signatures.
This is explained e.g. in https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch08_signatures.adoc#the-importance-of-randomness-in-signatures.

Sorry, I can't recall the details but this should be enough input or keywords for more of the technical deep-divers of Bitcoin.
sr. member
Activity: 476
Merit: 299
Learning never stops!
March 18, 2024, 11:41:59 AM
#4
Hello. Do you have any code or equation to find the nonce value used in bitcoin transfer? I do not have a known useful method to obtain the private key and I wanted to collect it under this heading. Let's share our knowledge and solve the formula  Huh
I recently  asked a question  based on nonce maybe going thorough it will really  help
Go through:
Understanding Nonce
full member
Activity: 203
Merit: 106
March 18, 2024, 08:57:38 AM
#3
Hello. Do you have any code or equation to find the nonce value used in bitcoin transfer? I do not have a known useful method to obtain the private key and I wanted to collect it under this heading. Let's share our knowledge and solve the formula  Huh
Nonce is unique to a block and if you could find the block the said transaction is or was been mined in, you could as well be able to locate the nonce of that block and in turn, transaction of interest.

About the private key, given the security and importance attached, I don’t understand how you could hope to find this since, it’s a means to import a wallet and take charge of the signatory which is some means to authorize, sign or exchange ownership of value on all or a given amount of Bitcoin required in a transaction. I don’t think this possible.
hero member
Activity: 644
Merit: 661
- Jay -
March 18, 2024, 07:19:27 AM
#2
Hello. Do you have any code or equation to find the nonce value used in bitcoin transfer?
This is included in the header of the block the transaction was mined in.

I do not have a known useful method to obtain the private key and I wanted to collect it under this heading.
Is this the private key to a address you own?

- Jay -
newbie
Activity: 30
Merit: 0
March 18, 2024, 06:55:58 AM
#1
Hello. Do you have any code or equation to find the nonce value used in bitcoin transfer? I do not have a known useful method to obtain the private key and I wanted to collect it under this heading. Let's share our knowledge and solve the formula  Huh
Jump to: