Skip to content
Dev.to1 min read

Implementing ECDSA from Scratch Without Libraries

Introduction In the previous article, we used the Web Crypto API's crypto.subtle to sign and verify with ECDSA. The API made it easy, but the internals remained a black box. In this article, we implement ECDSA signing and verification from scratch using only basic arithmetic and mod — no crypto libraries. We output intermediate values at every step to see exactly what's happening. The code and explanations in this article were developed through conversation with AI (Claude). The idea of using a
Read original on dev.to
0
0

Comment

Sign in to join the discussion.

Loading comments…

Related

Get the 10 best reads every Sunday

Curated by AI, voted by readers. Free forever.

Liked this? Start your own feed.

0
0