Three students in school uniforms work through open books at a classroom table, with textbooks and stationery nearby and study notes on the whiteboard behind them.

What is a Digital Signature? | Public Keys, Verification, Certificates and Document Integrity

What is a digital signature, and how can a computer verify that a file was approved by a particular key holder without being shown that person’s secret key? A digital signature is a cryptographic value calculated using a private signing key and checked using the corresponding public key. People searching for digital signature meaning, how digital signatures work, public-key verification, signed PDF documents, code signing, certificates and digital signature versus electronic signature need to separate three ideas: the message, the mathematical proof attached to it, and the trustworthy connection between a public key and an identified signer.

Digital signatures explained from first principles combine asymmetric cryptography, a defined signing algorithm, exact message bytes and a verification procedure. Properly implemented signatures can help detect modification and provide evidence that a holder of the relevant private key signed data. They do not by themselves encrypt the document, guarantee the signer read it, establish the person’s identity or prove that a financial transaction was legitimate. Those stronger conclusions require reliable key management, identity checks, policies and sometimes legal processes.

Did you know that a digital signature can verify correctly while a document still contains false information? Cryptography checks a relationship between data and a key; it cannot interview an author or fact-check the text. We will build a complete toy arithmetic example, compare real standards such as NIST FIPS 186-5 with educational simplifications, distinguish signing from encryption and hashing, explain certificate chains and failure modes, and develop a practical checklist for evaluating signed software, forms and messages.

Begin with a simple problem of trust

Suppose a research teacher publishes a downloadable worksheet. A student obtains a copy through a messaging group rather than directly from the teacher. The file looks plausible, but another participant might have replaced one answer, added misleading instructions or attached malicious material. How could the student check whether it is exactly the file the teacher approved? A visible signature graphic pasted into the worksheet does not solve the problem, because someone can copy the graphic and paste it into a modified document.

Cryptography offers a different kind of evidence. The teacher signs particular bytes using a private key, and readers verify the signature using the associated public key. A successful check tells them that the observed data are consistent with a signature from that key, assuming the algorithm and implementation are secure. The next question is whether this really is the teacher’s key. That identity question is separate and cannot be answered merely by seeing a green verification icon.

First principle: one secret key, one verifiable public key

A digital-signature system uses asymmetric keys, usually called a private key and a public key. The private key must be protected because it authorises signatures. The public key can be shared because its purpose is to enable verification, not to reconstruct the secret. Mathematical relationships between the keys make it computationally infeasible, under suitable assumptions and key sizes, for someone knowing only the public key to forge valid signatures for new messages.

This distinction is not a claim that every possible key pair or program is safe. Poor randomness, weak algorithms, flawed software or stolen private keys can undermine the security. Moreover, a public key is only a sequence of data until someone reliably associates it with an organisation, employee, software publisher or device. Cryptographic verification establishes a technical relationship; trustworthy attribution requires a secure method for obtaining and validating the public key.

Signing and verifying are different operations

In the signing step, the sender selects the intended content and applies a specified algorithm using their private key. A signature value is produced and distributed with the content or through a reliable linked mechanism. In the verification step, a recipient uses the stated verification algorithm, the public key, the message and the signature. The result is a validation outcome, not the message itself. The signer need not reveal or transmit the private key to a recipient.

A correct verification workflow also checks data format, key usage and the trustworthiness of the key being supplied. If an attacker replaces both the file and the public key on an unauthenticated website, the attacker can sign the malicious file with their own private key and produce a technically valid result for that substituted key. The math has not failed; the procedure for deciding whom to trust has failed. This is the main reason digital signatures are both a cryptography topic and a systems-security topic.

Why the exact bytes matter

Digital signatures usually operate on an exact byte representation of the message, either directly according to the algorithm or through a message-digest and encoding process. A single character change, added whitespace, altered spreadsheet cell or different attachment can change what is being verified. If the signed bytes are modified after signing, correct verification should fail unless the signing format explicitly excludes that part or supports an authorised incremental update.

A human-readable document can present a more difficult problem: some formats support forms, layers, incremental revisions or external resources. A verifier must identify precisely which bytes and fields were covered by the signature. The presence of a signature symbol on a page does not prove every element you currently see was included. When security matters, use a reputable verifier that reports the covered content, alterations and trust status rather than relying on what a thumbnail or PDF viewer happens to display.

Hash functions: a compact representation of a long message

Many digital-signature workflows first calculate a cryptographic hash or digest of the signed data. A well-designed hash maps a potentially large input to a fixed-length output with strong resistance to finding collisions or reversing an arbitrary digest. The signer then uses a defined signature scheme that securely connects this representation, appropriate encoding and the private key. For a conceptual introduction, read what cryptographic hash functions do.

A hash alone is not a signature. Anyone who knows the file can calculate its hash, including an attacker who has modified it. The security gain from a digital signature comes from binding the data to a private signing key in a way that a public verifier can check. Also, not every approved signature scheme simply hashes the whole message beforehand: EdDSA has variants with different internal treatment of the message. The algorithm specification, not a slogan, determines the exact steps.

Integrity, authentication and confidentiality are separate goals

Integrity concerns whether the content changed in an unauthorised way. Authentication in this context concerns evidence about who or what key produced the signature. Confidentiality concerns whether outsiders can read the content. A signature provides no confidentiality by itself: a signed report may remain completely readable by everyone. Encryption can protect secrecy, but an encrypted file is not automatically signed, and the recipient may still need to know who originated it.

Think of a sealed envelope and a publicly checkable wax mark as two different metaphors. Secrecy is like concealing the words inside; signing is like attaching evidence of origin and modification. Real cryptographic schemes work mathematically, not through uncopyable visual marks. Systems often use both encryption and signatures, but they must select compatible protocols and trusted implementations. Combining the wrong primitives does not automatically yield a secure design.

Worked arithmetic example: construct tiny RSA keys

To see why public verification is possible, consider intentionally insecure textbook RSA parameters. Choose primes p = 61 and q = 53. Their product is n = 61 × 53 = 3,233. Euler’s totient for this special product is φ(n) = (61 − 1)(53 − 1) = 60 × 52 = 3,120. Select public exponent e = 17 and private exponent d = 2,753. They satisfy e × d = 46,801, which leaves remainder 1 when divided by 3,120; in other words, e d ≡ 1 (mod 3,120).

The public arithmetic parameters are (n = 3,233, e = 17) and the private exponent is d = 2,753. Real RSA signature implementations use vastly larger approved key sizes and secure encoding schemes. Publishing these toy values teaches modular arithmetic but offers no protection: n is easily factored and the example omits hashing, domain separation and modern padding. Never build a real digital-signature application using these numbers or raw exponentiation as a production signing scheme.

Worked arithmetic example: sign and verify one small integer

Represent a toy message digest as the integer m = 65. Define the classroom signature by s = m^d mod n. Modular exponentiation gives 65^2753 mod 3233 = 588. The recipient checks s^e mod n, obtaining 588^17 mod 3233 = 65. Because the reconstructed value matches m, the mathematical relationship verifies for this educational construction. The numbers can be checked using a modular exponentiation calculator or an implementation that handles large integers without floating-point overflow.

This is not the real RSASSA-PSS signing procedure, and it is unsafe to sign a raw document integer in this manner. Proper RSA signatures transform a digest into a scheme-specific encoded message and follow detailed parameter, randomness and verification requirements. The example teaches only why inverse exponents let one party produce a value that anyone with the public key can test. It does not demonstrate resistance to chosen-message attacks, signature malleability or modern key compromise.

Why the modular example matters even though it is insecure

The small RSA calculation exposes the general direction of information. The verifier does not need the private exponent d to check the relationship, and a different signed integer generally gives a different output. Mathematics supplies a public test without making the signing secret public. Yet the example also shows why a classroom algebra demonstration must be labelled honestly: knowing n = 3,233 gives an attacker a trivial way to factor the modulus and reconstruct the private exponent.

Professional cryptography is not only about choosing a clever mathematical operation. It includes parameter sizes, carefully constructed message encodings, secure random-number generation, resistance to implementation attacks and disciplined key handling. Educators should use toy calculations to develop intuition, then transition explicitly to standards and libraries maintained by security specialists. Recommending raw RSA because it is easy to understand would mistake explanatory simplicity for operational safety.

Modern signature algorithms are specified precisely

NIST’s FIPS 186-5 Digital Signature Standard covers approved approaches including RSA, elliptic-curve methods and EdDSA, with precise requirements about algorithm variants, parameters and processes. In the RSA family, RSASSA-PSS is a widely relevant modern signature scheme. ECDSA relies on elliptic-curve arithmetic and requires careful per-signature secrets. EdDSA, including widely deployed Ed25519 variants, uses a different design with deterministic aspects specified by the algorithm.

The right choice depends on protocol compatibility, regulatory requirements, key storage, implementation security and long-term support. Do not infer that one named curve or algorithm is universally suitable, and do not invent a ranking without knowing the intended system. NIST standards and the Internet Engineering Task Force’s RFC documents describe exact procedures; this page explains the concepts rather than substituting for those documents. Implementers should rely on validated, maintained libraries instead of reconstructing the algorithms from prose.

Why private-key protection is the real operational challenge

A signature algorithm may be mathematically sound while a private key is stored carelessly in a text file, copied into a public repository or exposed through malware. Anyone who obtains the private key may be able to produce technically valid signatures. The verifier may then be unable to distinguish the legitimate signer from an attacker using the stolen credential. This is not a theoretical footnote: key management is a central part of the security properties people associate with digital signatures.

Security-sensitive organisations use access controls, suitable cryptographic key stores or hardware security modules, backup policies, monitoring and revocation or rotation procedures. Multiple authorised signers may be appropriate when resilience is needed, but too many copies of a private key increase the attack surface. A trustworthy signing workflow also asks who is authorised to press the sign button and what evidence shows that approval took place. Secure cryptography cannot compensate for weak organisational authorisation.

Identity: who owns this public key?

Suppose a program reports “signature valid” under public key K. It has established something about the relationship among K, the message and the signature. It has not established that K belongs to a named bank, a school or a government agency. A malicious actor can generate their own legitimate key pair. If recipients accept arbitrary public keys supplied alongside arbitrary files, technical verification can become a convincing-looking but meaningless ritual.

Identity assurance may come from a previously exchanged trusted key, a verified key fingerprint, an organisational directory, a public-key infrastructure or some other authenticated binding. Different contexts need different levels of assurance. An open-source developer may publish a well-known release-signing key; a corporate document system may use certificates issued after identity checks. The important question is how the recipient learned to trust the public key and whether that trust still applies.

Certificates and public-key infrastructure

A digital certificate commonly binds a public key to an identified subject and related usage information, and is signed by an issuer. Under an X.509-style public-key infrastructure, a verifier may build a chain from the subject’s certificate through intermediate issuers to a trusted root. The verifier checks cryptographic signatures, validity periods, relevant constraints and policies, plus any required revocation information. A certificate being present is not equivalent to all those checks passing.

A trust chain resembles a sequence of vouched-for statements, but the statements are structured digital objects rather than personal introductions. Trusting a root authority does not prove that every document signed by any certificate under it is truthful. It supports a defined identity assertion under particular rules. Certificates can be issued incorrectly, expire or be compromised, and applications can validate chains incorrectly. The proper conclusion is conditional: a public-key binding has been accepted under the verifier’s trust policy.

Certificate validity dates and the problem of time

A certificate normally has a period during which it is valid. But a document may have been signed months ago and opened today after the certificate has expired. That makes time a meaningful part of validation. Some formats can preserve trusted timestamp evidence showing when a signature existed, allowing an appropriate validator to evaluate whether the signing certificate and algorithm were acceptable at the relevant time. A timestamp printed in a document body is not automatically a cryptographically trusted timestamp.

A signature without dependable time evidence cannot independently prove its creation date. Even if the file contains a date field, that field may have been supplied by the signer or software clock. Some legal and archival systems therefore require time-stamping services, validation evidence and long-term preservation arrangements. The conclusion should match the evidence: “this key verifies this file” is more modest than “this named person signed at exactly 10:00 yesterday”.

What happens when a signing key is revoked?

If a private key is compromised or a signer is no longer authorised, an organisation may revoke the associated certificate, stop distributing the public key as trusted or publish updated verification instructions. Some certificate systems support revocation lists or online status protocols; the verifier’s behaviour depends on the application and policy. A signature that is mathematically consistent with a key does not magically become mathematically different when the certificate is revoked.

Revocation changes the trust decision. It means the verifier must reconsider whether signatures from that key should be accepted, and possibly whether older signatures have acceptable evidence of their creation time. Operational response includes identifying affected artifacts, protecting replacement keys, notifying relying parties and reviewing audit logs. This is why secure signing systems need lifecycle management, not just a one-time ceremony for generating a key pair.

Code signing: the software-update example

Software publishers can sign release packages, executable files or update manifests so that devices check whether the content matches what a trusted publisher approved. This helps limit substitution attacks during distribution. The signature check might occur before installation, during package management or at program launch. In a robust design, the system knows the trusted verification key through a secure channel, and update metadata describes which versions and dependencies are acceptable.

Code signing is not a promise that the program has no bugs or malicious functions. A publisher might sign flawed code, and a signing credential can be stolen. Rollback attacks can also arise if a device accepts a correctly signed but vulnerable older version. Signature verification is one necessary control inside a larger update-security system that may also check freshness, permitted versions, transparency records and reproducible build evidence.

Document signing: contracts and official forms

A signed PDF can carry a cryptographic signature object, certificate information and information about which document revision was signed. An application may display a familiar handwritten signature image, but the actual cryptographic proof is separate from that visual decoration. Good viewers allow recipients to inspect validity status, certificate identity and whether changes occurred after signing. People should avoid trusting a screenshot of a green tick because a screenshot is not an independent verification procedure.

Legal acceptance depends on jurisdiction, transaction type, consent, identity evidence and the applicable electronic-transactions law. A technically valid signature can support evidence, but legal effect is not created solely by running cryptographic mathematics. Some jurisdictions recognise a broad range of electronic-signature methods, including non-cryptographic ones in suitable contexts. Therefore, “digitally signed” and “legally binding” overlap in practice but are not interchangeable definitions.

Electronic signatures versus cryptographic digital signatures

An electronic signature is a broad concept: electronic data or an action used to indicate agreement or authentication in an electronic context. Depending on the system and law, it might involve typing a name, clicking to agree, drawing a mark or using a cryptographic credential. A digital signature is more specific: a mathematical mechanism using a private signing key and public verification. Not every electronic signature involves public-key cryptography.

This distinction explains why a click-to-accept process can have legal relevance without exposing a mathematical signature to the user. Conversely, a developer can digitally sign a software archive with no intention of entering a contract with every downloader. Asking “is it signed?” is insufficient. Ask which kind of signature, what data were covered, what identity checks occurred, what the signer intended to approve and what governing rules apply to that activity.

Email signing and encrypted communication

An organisation may digitally sign email to provide evidence about message integrity and the sending identity represented by its credentials. A signed email can still be visible to intermediaries if it is not separately encrypted. Transport-layer encryption protects data while moving between participating systems, but it is not identical to an end-to-end document signature. Sender-address display is also vulnerable to impersonation unless relevant authentication checks are used.

For readers, the practical question is which mechanism produced the trust indicator. Was the individual message cryptographically signed, was the transport connection encrypted, or did the domain pass an email-origin authentication check? Those controls address overlapping but different threats. A bank’s official-looking email footer is no proof of authorship. Verification and phishing resistance also require attention to the communication channel, destination domain and independent contact routes.

Blockchains and authorised transactions

Many blockchain designs use digital signatures to authorise transactions associated with key-controlled addresses. A wallet can construct a transaction message, sign it with a private key and broadcast it. Network participants verify the signature as part of determining whether the transaction satisfies protocol rules. This is a practical use of the public-verification idea, but it does not show that the human who owns the funds intended every transaction that the key signed.

A compromised wallet key can authorise an unwanted transaction that looks cryptographically valid. Wallet security, transaction previews and spending limits can matter as much as the signature algorithm. For broader background, see how blockchains combine signatures, network rules and consensus. Do not confuse a network’s signature checks with independent proof that every asset claim or investment promoted on that network is trustworthy.

Why a signed statement can still be false

A signed report claiming that a bridge is safe might be exactly the report authorised by an engineer. A signature can help a recipient detect subsequent alteration or substitution. It cannot validate the engineering calculations inside the report. Similarly, a signed invoice can contain an inflated price or point to the wrong bank account if the signer was deceived. Trust in origin is not identical to trust in content, expertise or the entire workflow.

This is an important ethical boundary for security communication. A green signature indicator should not be marketed as a universal truth seal. The recipient needs to consider who controls the key, whether that party was authorised, whether the message is within their competence, and whether additional approval or review is required. Cryptography can protect the integrity of a decision record; it cannot substitute for the quality of the decision itself.

Failures: incorrect verification and substituted keys

A verifier might use the wrong algorithm, decode a signature incorrectly, ignore a failed status or let unsigned fields influence decisions. It might also accept a certificate from an unexpected issuer or trust an attacker-controlled root authority. Each failure can turn apparently strong cryptography into a weak real-world control. Secure applications should fail clearly when verification fails and avoid silently treating the absence of a signature as the same as a valid signature.

The safest debugging order separates layers. First confirm that the exact input bytes match those signed. Then check the claimed algorithm and signature format, the public key and required parameters. Next validate the key’s trusted identity and usage. Finally interpret the result for the workflow. A cryptographic validity result and a business authorisation result should be shown separately when that distinction matters. One general-purpose “verified” badge may conceal too many assumptions.

Algorithm and hash choices change with time

Cryptographic algorithms have security lifetimes. Improvements in cryptanalysis, faster computers and new attack techniques can weaken once-popular choices. Systems therefore need algorithm agility: the ability to replace schemes, increase key strengths, issue new certificates and re-sign or preserve evidence when necessary. A file archived for decades presents different risks from a short-lived signed chat message. The consequences of a broken algorithm depend on what an attacker could forge and how signatures are relied upon.

Avoid declaring that one algorithm is unbreakable forever. Standards documents such as NIST FIPS 186-5 specify current approved methods, and the exact revision and applicability date should be verified for regulated deployments. Historical signatures can sometimes be preserved with trusted timestamps and archival validation evidence, but that requires an actual preservation strategy. Security is a moving relationship between mathematical assumptions, operating systems, hardware, organisational practice and time.

Long-term preservation of signed records

A school certificate, research dataset or government record may need to remain verifiable years after the original signing software disappears. Storing the signed bytes is necessary but may not be sufficient. The archive might also need certificates, timestamp tokens, revocation status and enough information to interpret the cryptographic format. Migrating a document into a different file type can change the exact byte representation and invalidate a naïvely transferred signature.

Long-term planning therefore starts with retention objectives. What claim must a future reader verify: exact content, named authorship, authority at signing time or continuity of custody? Record identifiers, verified timestamps and controlled transformations are part of the answer. A document-management system should never promise permanent verifiability solely because a signature field is present today. The useful guarantee must include a path for future validation when dependencies and trusted algorithms change.

How to evaluate a signed file as an ordinary reader

First obtain the file from a legitimate source and use software capable of verifying the relevant signature format. Confirm whether the signature was checked cryptographically, whether the signed portion covers the content that matters, and whether the file changed after signing. Inspect the public-key identity and the chain of trust rather than stopping at a coloured check mark. For high-value documents, validate the issuer or signer’s identity through an independent reliable channel.

Next ask whether the content itself is plausible and whether the signer was authorised to approve it. If the verifier reports an error, do not dismiss it as merely a software nuisance. Preserve the original file, obtain a clean copy and consult the responsible publisher or organisation. For software updates, rely on the vendor’s genuine update mechanism instead of manually bypassing signature requirements. The reader’s goal is not to become a cryptographer but to understand what the evidence actually supports.

How digital signatures differ from access control

An access-control system decides who may open, read, modify or approve a resource. A digital signature provides evidence about a particular signed message and key. The two may work together: a service checks user authentication and permissions before asking a protected signing service to issue a signature. If permission checks are broken, the protected signing key can be misused even when its mathematics is correct. If the signature is strong but no one verifies it, access controls alone may fail to detect tampering.

A robust organisation combines prevention, recording and verification. It specifies signing authority, logs relevant decisions, protects keys, verifies signatures on receipt and maintains procedures for certificate expiry and compromised credentials. The architecture should align with risk. A class worksheet and a hospital system do not need identical administrative machinery, but both benefit from separating “who may approve?” from “did these bytes match an approved signature?”

Common mistakes when teaching public-key signatures

Beginners often say that signing means encrypting a file with the private key. This loose metaphor fails for many modern signature schemes and can encourage insecure textbook RSA constructions. Another mistake is treating a hash as a signature, as if writing down a digest proved authorship. Others assume certificates are infallible identity cards or that any verified signature guarantees the document is true. A further mistake is forgetting that changing even one signed byte can invalidate a signature unless the format defines controlled exceptions.

Replace these shortcuts with a more precise sentence: a secure signing algorithm uses a protected private key to produce evidence linked to specified data, and a verifier checks that evidence using the corresponding trusted public key. The rest—identity, authority, signing time, legal effect and factual correctness—needs additional context. This formulation is longer than “digital ink” but far more transferable to software, finance, messages and public records.

Transfer exercise: verify a research dataset

Imagine a university publishes a data archive and detached signature file. The student downloads both and finds the university’s public verification key on a web page. A successful signature check confirms that the archive matches a signature associated with that key, assuming the program and algorithm are trustworthy. But what if the key page itself was replaced? The student should compare the key fingerprint or identity through an authenticated source such as an independently trusted institutional channel.

What if the archive later receives a correction? The new bytes require their own valid signature, and the publisher should describe the change. What if the original data were fabricated? The digital signature does not discover that. This exercise demonstrates three layers: content integrity, attribution to a trusted key, and scientific quality. It is useful in any discipline where evidence crosses organisational boundaries and recipients need to separate authenticity of a file from reliability of a claim.

What to remember for future technologies

New signing schemes, identity wallets and document platforms may look very different, but the same questions recur. What exact data are approved? Which private key can issue that approval? Which public key verifies it? How is that public key authenticated? How long should the proof remain trusted? What happens when a key is lost or compromised? The questions are stable even when cryptographic algorithms and software interfaces evolve.

The most transferable principle is to resist overclaiming. A signature is strong when its mathematical assumptions and operational context are strong. It is weak when a recipient trusts an arbitrary substituted key, the owner neglects private-key security, or the application reports “valid” without telling users what was actually checked. Good security is the disciplined alignment of algorithms, trust relationships, implementation and human decision-making.

Frequently asked questions about digital signatures

What does a digital signature prove?

It provides cryptographic evidence that specified data match a signature produced using the private key corresponding to the verification key, under the security assumptions of the scheme. Attribution to a person or organisation depends on a trusted public-key binding and relevant process. It does not independently prove the content is true or that the key holder intended every consequence.

Can anyone verify a digital signature?

In a public-key digital-signature system, anyone who has the appropriate public key, signature, data and algorithm can perform mathematical verification. Whether they should trust the result depends on authentication of the public key, certification status and context. Public verification is a design feature, not permission to assume any key belongs to a named person.

Is a digital signature the same as an electronic signature?

No. Electronic signature is a wider legal and operational category that may include typed names, approval clicks or digital signatures. A cryptographic digital signature specifically uses private signing material and public verification. Different jurisdictions and transactions impose different rules for acceptable evidence of intent and identity.

Does signing a document keep it private?

No. Signing helps verify integrity and the relevant key relationship; it does not conceal the words. Encryption is the mechanism commonly used to protect confidentiality. A system can apply both, but doing so securely requires correctly designed protocols and implementations. Never send a sensitive document publicly just because a signature viewer reports that it is signed.

What happens if one letter changes after signing?

If the letter is part of the signed data and no authorised transformation is defined by the format, correct verification should fail. Some document formats support signed revisions or limited permitted changes, so the verifier must specify exactly which part was covered. A visual signature graphic may stay on the page even when underlying cryptographic validation fails.

What is the private key for?

The private key is the secret signing credential. Its possession permits signature generation in the associated system. It should be protected from disclosure, unauthorized use and inappropriate copying. Losing control of it threatens the trustworthiness of future signatures and may force incident response, key replacement and trust updates.

What is a public-key certificate?

A certificate is a structured signed claim that links a public key to an identified subject and associated properties or permitted uses. A recipient may validate a chain leading to a trusted issuer while checking validity dates, constraints and revocation information. The certificate does not make the signer’s every statement true or confer unlimited authority.

How does a digital signature differ from a hash?

A hash provides a digest of input bytes and helps detect changes when compared to a trusted reference. Anyone can calculate a new hash after changing a file. A digital signature provides an asymmetric cryptographic check tied to the private signing key. The two are often combined in signing schemes, but their security jobs are different.

Can a thief sign with a stolen key?

Yes, if the thief gains the ability to use a signing key and the system has no additional effective controls, signatures may be produced that verify mathematically. This is why access controls, secure key storage, monitoring and revocation matter. A successful verification result is conditional on the integrity of key custody and trust policy.

Is the small RSA example safe for real documents?

Absolutely not. The modulus 3,233 can be factored immediately, the key is tiny and the construction omits secure hashing and padding. It is an arithmetic demonstration of public verification only. Production systems should follow current established standards and use maintained cryptographic implementations rather than copying classroom modular-exponentiation examples.

Do signed PDF files always have legal force?

No universal answer exists. Legal treatment varies by jurisdiction, document type, evidence of intent, signer identity and applicable requirements. A technically valid cryptographic signature is helpful evidence in many workflows, but it is not a blanket legal opinion about enforceability. For important transactions seek the applicable official guidance and qualified legal advice.

What should I do if verification fails?

Do not silently bypass the error. Check that the file was obtained from a trusted source, that the viewer supports the signature format, that the correct public key and certificate chain are available, and that the file was not changed. Obtain a clean authenticated copy or consult the purported signer. For software, avoid installing an update whose required signature check failed.

Authoritative standards and further reading

For current standards and scheme definitions, start with NIST FIPS 186-5, Digital Signature Standard (final publication February 2023, with subsequent planning notes to monitor), and the Internet Research Task Force’s RFC 8032 describing Edwards-curve digital signatures. For RSA standards consult RFC 8017, PKCS #1. These primary documents define algorithms; they are not substitutes for secure implementation and identity-management policy. The educational toy RSA values here intentionally do not meet production standards.

For a reader who understands only one distinction, remember this: a public verification result belongs to an exact message, a cryptographic signature scheme and a specific key. Whether the key belongs to the claimed party, whether approval was authorised, and whether the information is true are additional questions. Asking all four prevents the most persistent digital-signature misunderstanding.

Explore the connected learning guides

Choose the question that brought you here. Open one useful guide, try a small task, and stop when you have what you need.

Take one question further

The same learning habit can travel across subjects, while each subject keeps its own methods. These routes help you notice a difficulty, understand one part of it, and return to something you can do.

A word is familiar, but using it is difficult.

Move from recognising a word to retrieving it in a new context. Understand vocabulary plateaus.

Try it without the guide: Choose one word you already know. Close the guide and use it in a new sentence. Explain why it fits; try another context tomorrow.

A piece of writing has ideas, but the reader loses the thread.

Make the order of events and the links between sentences clear. Explore composition writing.

Try it without the guide: Choose one short paragraph. Read the relevant explanation, close it, and revise the paragraph. Ask someone to tell you what happened and why.

The Mathematics seems familiar, but marks still disappear.

Find the first point where the working stops being reliable. Find Secondary 4 A-Math mark leakage.

Try it without the guide: For a Secondary 4 A-Math question you have attempted, locate the first uncertain line. Repair that step, then try a comparable question without the worked answer.

A Science fact is remembered, but the explanation is incomplete.

Connect the evidence to a scientific idea and the resulting change. Follow the Primary Science learning route.

Try it without the guide: Choose a familiar Primary Science example. Explain the evidence, the idea and the result without notes. Then change one condition and explain your prediction.

Two accounts of the world seem to disagree.

Check the question, source, date and evidence before combining claims. Explore the World Knowledge research library.

Try it without the guide: Take one claim. Find the source best placed to support it, note its date, and state what remains uncertain. Return to your original question.

There is plenty of help, but independence is hard to see.

Check what the learner can understand and do after support is removed. Understand how education works.

Try it without the guide: Choose one small task the child has practised. Agree on a calm, brief attempt without prompts. Use what happens to choose one next step, then stop.

For the structure behind these connections, read the eduKateSingapore runtime manifest and the eduKate ecosystem boot contract. The reader map describes public navigation; those manifests preserve the wider ownership and return rules.