Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated
A digital signature is a mark that shows a document is genuine and has not been rewritten on the way. NIST's FIPS 186-5 explains that it is used to detect unauthorized changes to data and to verify the identity of the person who signed. It takes on, for electronic documents, the work of a signature or seal on paper.
How does a digital signature work?
Think of a registered seal pressed on a contract together with a joint seal pressed across the join of the pages. The registered seal shows who made it. The joint seal shows that pages have not been swapped afterwards. A digital signature gives these two roles to an electronic document.
A mark is made from the document using a secret key that only the signer holds. The receiving side checks with a publicly available key whether the mark matches. If even one character of the document has changed, the mark no longer matches. FIPS 186-5 is the document that sets the standard for the algorithms (the procedures of calculation) of such signatures.
The law also defines electronic signatures. Article 2 of the Electronic Signature Act defines an electronic signature as a measure that satisfies two requirements together. One is that it shows the information was created by the person who took the measure. The other is that it lets you confirm whether the information has been altered.
The text does not name any particular cryptographic method. The whole of countermeasures against tampering with documents is set out in tampering countermeasures. For questions on how signatures are run in your company, contact us.
Why does a digital signature matter?
Where contracts and invoices are exchanged by email, you need a way to check that the other side is genuine and that nothing was changed on the way. A digital signature is one such way. The same thinking is used where you want to detect tampering with a file, as in distributing software.
Article 3 of the Electronic Signature Act provides that an electromagnetic record, other than one a public official made in the course of duty, is presumed to have been genuinely made when a digital signature by the person has been applied. The target is limited to signatures that only the person can make, with the codes and objects needed for signing properly managed. In other words, if management of the signing key is lax and it is not a state only the person can sign in, the presumption does not apply.
There is also the question of who certifies the owner of the public key used to check a signature. Mechanisms such as a certificate authority and PKI take on that role. In adoption and operation, check these points.
- Manage the key used for signing so that only the person can use it.
- Confirm that the public key used for checking is the person's.
- Run it so documents are not changed after signing.
- Decide the procedure to invalidate signatures when a key leaks.
Related terms
- Public key cryptography: a cipher method that uses a pair of a public key and a secret key
- Hashing: processing that converts data into a form that cannot be reversed to protect passwords
- PKI: the mechanism of keys and certificates that supports electronic identity checks
- Certificate authority: a body that confirms the owner of a public key and issues certificates
Frequently asked questions
If a document has a digital signature, is the contract valid?
Not necessarily. What Article 3 of the Electronic Signature Act provides is that an electromagnetic record, other than one a public official made in the course of duty, is presumed to have been genuinely made when a digital signature by the person has been applied. It is not a provision that decides the content or validity of a contract itself.
Are a digital signature and encryption the same thing?
No. The uses FIPS 186-5 lists are detecting unauthorized changes to data and verifying the identity of the signer. Hiding the contents is not included. When you want to hide contents, use encryption separately.
Next step
Preparation against tampering with documents and files is in tampering countermeasures. The free URL check shows only what is visible from outside, and for help with electronic contracts and signing, contact us.
Frequently asked questions
If a document has a digital signature, is the contract valid?
Not necessarily. What Article 3 of the Electronic Signature Act provides is that an electromagnetic record, other than one a public official made in the course of duty, is presumed to have been genuinely made when a digital signature by the person has been applied. It is not a provision that decides the content or validity of a contract itself.
Are a digital signature and encryption the same thing?
No. The uses FIPS 186-5 lists are detecting unauthorized changes to data and verifying the identity of the signer. Hiding the contents is not included. When you want to hide contents, use encryption separately.