# Digital Signature Standard (DSS)

With a variant of ElGamal.

* Digital Signature Algorithm (DSA).
* Uses a random value _X_, and its multiplicative inverse, $$X^{-1}$$.
* _r_ depends on _X_, _s_ depends on $$X^{-1}$$.

With elliptic curves (ECDSA).

* Similar to DSA with EC.

<figure><img src="https://3450804385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRIg06sTkCh60KyuJiT39%2Fuploads%2FK9mp00Lm73i3XzvAcFu8%2F2024-01-09_16-03.png?alt=media&#x26;token=cac80ff7-c1c3-4716-8e55-9297b267cd8c" alt=""><figcaption></figcaption></figure>
