Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Bglhn on April 08, 2024, 07:02:06 PM



Title: Rsz - a technical question
Post by: Bglhn on April 08, 2024, 07:02:06 PM
Hello.

I hope someone knows. 🙏 What does it mean that the R value starts with 0?
My other question is, what is the way to find the msb bits for lattice attack?


Title: Re: Rsz - a technical question
Post by: Findingnemo on April 09, 2024, 06:15:55 AM
Hello.

I hope someone knows. 🙏 What does it mean that the R value starts with 0?
My other question is, what is the way to find the msb bits for lattice attack?

In elliptic curve digital signature algorithm (ECDSA), there are three (r,s,v) integers for every curve. The R [1...n-1] represents the x-coordinate on the elliptic curve based on a random point R on the curve which is created randomly thus results in starting with leading zero.

ECDSA Signatures | Digital Signature Algorithms and Keys Generation (https://www.cyfrin.io/blog/ecdsa-signatures#:~:text=ECDSA%20Signatures%20Explained,-Ethereum%20ECDSA%20signatures&text=The%20signature%20can%20be%20notated,of%20the%20private%20key%20p%20.)



Title: Re: Rsz - a technical question
Post by: moltbiscuits on April 15, 2024, 03:50:26 AM
The result or output of an expression or computation is commonly referred to as the "R-value" in mathematics and computer science. Since "R-value starts with 0" is not a widely used scratch games (https://scratchgames.co/) expression, additional context is necessary in order to give a clear explanation. But based on the information provided, it appears that the R-value in question starts with the number 0.