この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
A signature, or digital signature, is a protocol showing that a message is authentic.
From the hash of a given message, the signing process first generates a digital signature linked to the signing entity, using the entity's private key.
On receiving the message, the verification process
- authenticates the sender - uses the sender's public key to decrypt the signature and recover the hash, which can only be created with the sender's private key, and
- checks message integrity - compares the hash with a newly calculated one from the received document (the two hashes will differ if the document has been tampered with)
The system fails if the private key is compromised or the recipient is deceitfully given the wrong public key.
Learn more
General knowledge
- Digital signature on Wikipedia
- See digest, encryption