News for hackers. Stuff that matters.

avidthinker

Re:Understanding ECDSA on Wednesday December 03, 2025 @08:26AM (#46134228)
You can see a group and similar structures as sets of rules an object needs to follow to be considered a group or whatever. Conceptually, a group is anything that behaves like a group. It could be a dog! So, the operator can be anything you want as long as the indicated properties hold. It's like a generic API that lets you use whatever concrete type you want as long as it conforms to certain rules.

edit: What I mean is that, as a consequence, the symbol used is not really important.

Re:Understanding ECDSA on Wednesday December 03, 2025 @08:13AM (#46134110)
Sorry about that. I tried to introduce the necessary concepts starting from zero, or I thought I did.

We devs (take back that "just" :) ) deal with much harder stuff when we build complex APIs, so the problem must be at the syntactic level. To us devs, math may look like an antipattern, with all the short names and operator overloading.

But that's unavoidable, unfortunately. It's normal to spend hours or more on a single concept until it clicks. I'd say don't give up, but I understand one's time is valuable, and the return might not be high enough to justify the cost.

Re:Understanding ECDSA on Wednesday December 03, 2025 @07:51AM (#46133903)
I think that's a little unfair, as there's only a single digression about Fibonacci numbers (a very interesting one, IMO). The section is clearly indicated as skippable and can be quickly skipped by using the tree on the right.

Since my exposition is constructive in nature, the proofs and other remarks are an integral part of the article, not digressions.

Understanding ECDSA

https://avidthinker.github.io/2025/11/28/understanding-ecdsa/

This article is basically an exercise in understanding ECDSA (Elliptic Curve Digital Signature Algorithm) from scratch. All I assume is some basic math and a willingness to pick up a bit of abstract math along the way. I try to explain everything as intuitively as possible, but, despite that, the article still demands some serious effort from the reader.When I analyzed the Extended Euclidean...

( Read More... | 21 comments | 13 points | on HN )
Re: on Tuesday December 02, 2025 @01:00PM (#46124207)
This article is basically an exercise in understanding ECDSA (Elliptic Curve Digital Signature Algorithm) from scratch. All I assume is some basic math and a willingness to pick up a bit of abstract math along the way. I try to explain everything as intuitively as possible, but, despite that, the article still demands some serious effort from the reader.

When I analyzed the Extended Euclidean Algorithm, one thing led to another, and I ended up writing a little intro to generating functions. You can even jump to that part and ignore the rest, if you want! Other readers may instead choose to skip that section altogether, as it's self-contained.