> 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).

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` 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>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
