Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: krashfire on December 31, 2022, 06:03:08 AM



Title: Formula to calculate Private keys
Post by: krashfire on December 31, 2022, 06:03:08 AM
What is the formula to calculate private keys if you already have all the R,S,Z(H) K Value? 
Where d= private_key.


Title: Re: Formula to calculate Private keys
Post by: witcher_sense on December 31, 2022, 09:14:16 AM
What is the formula to calculate private keys if you already have all the R,S,Z(H) K Value? 
Where d= private_key.


d = (k * s - z) * r-1 mod n

Source: https://learnmeabitcoin.com/technical/ecdsa (Why do you need to generate a random point each time? (Mathematical Explanation)


Title: Re: Formula to calculate Private keys
Post by: krashfire on December 31, 2022, 10:26:26 AM
What is the formula to calculate private keys if you already have all the R,S,Z(H) K Value? 
Where d= private_key.


d = (k * s - z) * r-1 mod n

Source: https://learnmeabitcoin.com/technical/ecdsa (Why do you need to generate a random point each time? (Mathematical Explanation)
thank u so much. Cheers brother.