# Background: Digital Signatures

**Digital signatures** are one of the most important applications of **asymmetric cryptography**. They play a vital role in today’s digital world, where trust and verification are essential.

At their core, a digital signature is a **unique numerical value**—often a string of up to **2048 bits**. This value is generated using algorithms such as:

* **RSA**
* **ECDSA**
* **DSA**

| Algorithm | Key Size       | Strengths                           | Common Use Cases           |
| --------- | -------------- | ----------------------------------- | -------------------------- |
| RSA       | 1024–4096 bits | Well-tested, strong                 | Banking, certificates      |
| ECDSA     | 256–521 bits   | Efficient, strong with shorter keys | Bitcoin, blockchain        |
| DSA       | 1024–3072 bits | Standardized, older                 | Government, legacy systems |

***

#### Why They Matter

With the rapid growth of **digital commerce**, digital signatures make online communication and transactions more secure. They provide critical protections, including:

* **Tamper resistance** – ensuring data is not altered after signing.
* **Impersonation prevention** – proving the identity of the sender.

#### Legal Recognition

By the early 2000s, many countries passed laws that gave **digital signatures legal status**. This meant:

* A digitally signed contract can be **enforced by law**.
* Digital signatures are treated the same way as a **handwritten signature** on paper.

#### Key Takeaway

Digital signatures combine cryptography and law to create **secure, trusted, and legally binding digital agreements**. They form the foundation for safe online commerce, communication, and governance.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hub.bsvblockchain.org/higher-learning/bsv-academy/bitcoin-primitives-digital-signatures/what-are-digital-signatures/background-digital-signatures.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
