← Glossary

Security

What Is a Digital Signature? How Crypto Transactions Are Authorised

A digital signature is a value computed from a message and a private key that anyone can verify with the matching public key, proving the message was authorised by the key holder and was not altered.

Key takeaways

What a signature proves

When you send crypto, nobody asks for a password. Instead, your wallet creates a digital signature over the transaction using your private key. The network checks the signature against your public key. If it matches, the transaction is accepted as authorised by whoever controls the key. The key itself is never revealed.

How it works in principle

Public-key cryptography uses a pair of linked keys. The private key is secret, and the public key can be shared. To sign, the wallet runs the transaction data and the private key through a signing algorithm. To verify, a node runs the data, the signature and the public key through a verification algorithm, which returns yes or no. Forging a valid signature without the private key is computationally infeasible.

Why message binding matters

A signature covers a particular message. If an attacker changes the amount or destination, the signature no longer verifies, so the network rejects it. That is why a transaction cannot be edited after you sign it, and why you must review the details before approving. The Bitcoin developer reference describes how signature hash types choose which parts of a transaction a signature covers.

What it means in practice

Treat anything that asks you to sign as a request to authorise something. Signing a malicious transaction or message can transfer your coins just as sending would. Never sign data you do not understand, and be wary of sites asking you to sign blind. Your wallet's confirmation screen is the place to check the real details.

Example

You send 5 coins to an address. Your wallet signs the transaction with your private key and broadcasts it. A node verifies the signature with your public key. If a hacker changed the amount to 50 in transit, the signature would fail.

Put it into practice

Approve only what you can read

Scrypt Wallet protects sending with a PIN or passkey. Read the amount and address on the confirmation screen before you approve.

Create a free wallet Get Scrypt for Android

Sources and verification

Last reviewed 2026-10-02 by the Scrypt Wallet team. The factual claims on this page, and where each comes from:

  1. A digital signature demonstrates the authenticity of a message and that it was not altered. [1]
  2. Signature hash types determine which parts of a transaction a Bitcoin signature covers. [2]
  3. Public-key cryptography uses key pairs in which the private key is kept secret. [3]

Sources

  1. Digital signature · Wikipedia · secondary source
  2. Bitcoin developer reference: Transactions · Bitcoin.org · primary source
  3. Public-key cryptography · Wikipedia · secondary source

Primary sources are protocol papers, specifications, source code or a project's own documentation; secondary sources are wikis and explainers. We checked each claim against the source text on the review date. Found an error? Tell us and we will correct it.

Frequently asked questions

Is a digital signature the same as an electronic signature?

No. A digital signature is a cryptographic proof tied to a key and a message. An electronic signature can be any mark of agreement.

Does signing reveal my private key?

No. The signature can be verified with the public key and does not expose the private key when created correctly.

Can I sign a message without sending money?

Yes. Some apps ask you to sign a message to prove you control an address. Only sign messages from sites you trust.

Related terms

Go deeper

Written by the Scrypt Wallet team · Updated 2026-10-02. General education, not financial, tax or legal advice.