# Elliptic Curve Cryptography: ECDH and ECDSA

DevFeed: [Elliptic Curve Cryptography: ECDH and ECDSA](<https://devfeed.tech/articles/elliptic-curve-cryptography-ecdh-and-ecdsa-27103.md>)

Original publisher: [Read original article](<https://andrea.corbellini.name/2015/05/30/elliptic-curve-cryptography-ecdh-and-ecdsa/>)

Author: andreacorbellini

Published: 2015-05-30T19:23:00Z

Content type: tutorial

Language: en

Sources: [Andrea Corbellini](<https://devfeed.tech/sources/andrea-corbellini.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [ECDSA](<https://devfeed.tech/topics/ecdsa.md>), [math](<https://devfeed.tech/topics/math.md>), [Security, Privacy and Abuse Prevention](<https://devfeed.tech/topics/security-privacy-and-abuse-prevention.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [dh](<https://devfeed.tech/tags/dh.md>), [dsa](<https://devfeed.tech/tags/dsa.md>), [ecc](<https://devfeed.tech/tags/ecc.md>), [ecdh](<https://devfeed.tech/tags/ecdh.md>), [ecdhe](<https://devfeed.tech/tags/ecdhe.md>), [ecdsa](<https://devfeed.tech/tags/ecdsa.md>), [hash](<https://devfeed.tech/tags/hash.md>), [math](<https://devfeed.tech/tags/math.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [points](<https://devfeed.tech/tags/points.md>), [random](<https://devfeed.tech/tags/random.md>), [security](<https://devfeed.tech/tags/security.md>), [smart](<https://devfeed.tech/tags/smart.md>), [tls](<https://devfeed.tech/tags/tls.md>)

## AI overview

This tutorial applies elliptic-curve mathematics over finite fields to cryptography, introducing domain parameters and explaining how random seeds can generate curve parameters or base points. It also discusses weak curves and Smart's attack on the discrete logarithm problem.

## Source excerpt

This post is the third in the series ECC: a gentle introduction. In the previous posts, we have seen what an elliptic curve is and we have defined a group law in order to do some math with the points of elliptic curves. Then we have restricted elliptic curves to finite fields of integers modulo a prime. With this restriction, we have seen that ...