Skip to content
Commitpedia
Log in Join & edit

What is hashing?

Hashing turns any data into a fixed length fingerprint that cannot be reversed, used to check files and store passwords.

Drafted with AI from official documentation. Scripts were run in a test environment and repository links verified. Awaiting a human check. Did it work for you? Last edited Outdated?

Edit history of What is hashing?: 1 recorded edit
Edit history · 1 edit
Type
Article
Edits
1
Editors
1
First issued
15 Oct 2026
Last edit
15 Oct 2026
Reading
1 min

Hashing runs data through a one way function that produces a short, fixed size fingerprint called a hash or digest. Change a single letter in the input and the whole hash changes. It is like a fingerprint of a person: it identifies them, but you cannot rebuild the person from the print. Common algorithms are SHA-256 for files and bcrypt or Argon2 for passwords.

Download pages publish a SHA-256 checksum so you can verify the file was not corrupted or tampered with. Git names every commit by its hash. Websites never store your password, only its hash; at login they hash what you typed and compare. Encryption is different: it can be undone with a key, hashing cannot.

sha256sum ubuntu.iso
echo -n "hello" | sha256sum

See also: What is encryption? and What is a commit?

Did this work for you?

No votes yet. Be the first.

If it did not work, the report form below tells the editors what went wrong.

See also

Repos in the wild

History

Every saved edit is kept. The plot on the sleeve draws one line per edit. Open any edit to see exactly what changed.

  1. Dominik +792 chars

Report a problem

Something wrong, unsafe or copied? Tell the editors.
What is wrong?