Cybersecurity glossary
Hashing
Hashing turns any data into a short fixed-length fingerprint, the hash, in a way that cannot be reversed, so that any change to the data changes the hash.
SHA-256 gives the same 64 hexadecimal characters for the same file every time. Comparing hashes shows that a download, a backup or a piece of evidence has not changed since its hash was written down.
A hash is not encryption: there is no key and nothing to decrypt. Old functions such as MD5 and SHA-1 are broken for this purpose, because two different inputs can be made to give the same hash.
Learn it hands-on
These free lessons teach it with commands to run in a lab of your own and checked tasks. Read them whole with no account.