> For the complete documentation index, see [llms.txt](https://hub.bsvblockchain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hub.bsvblockchain.org/higher-learning/bsv-academy/bitcoin-primitives-digital-signatures/what-are-digital-signatures/background-digital-signatures.md). Agents can also search and read this documentation through its [MCP server](https://hub.bsvblockchain.org/~gitbook/mcp).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
