All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Hash function, digest?

Also known as: hash function · digest

Definition 33.5 High School Computer Science · Chapter 33 — Cryptography and Secure Communication

A cryptographic hash function turns a message of any length into a digest of fixed length, so that finding two messages with the same digest, or a message with a given digest, is out of reach. A change to the message, however small, gives a digest unrelated to the first.

Signing and checking. The signer applies its private key to the digest; the checker recomputes the digest of the message it received, applies the public key to the signature, and compares the two numbers.
Signing and checking. The signer applies its private key to the digest; the checker recomputes the digest of the message it received, applies the public key to the signature, and compares the two numbers.
Read in context →