Lazo Lab Sign up

Cryptography / Hashing

Lesson 7 of 25

Hash functions

A hash turns any input into a fixed-length fingerprint. The same input always gives the same hash, and you can't run it backwards.

Key points

  • One-way
  • Fixed length output
  • Tiny change, totally different hash
echo -n 'hello' | sha256sum
Watch a video on thisOpens YouTube search results for “Hash functions” in a new tab

Quiz · +10 XP

Can you get the original input back from a SHA-256 hash?

Log in to save progress and earn XP.