Algorithms

SHA-256

A standard, secure hash algorithm that turns any input into a 256-bit result. SHA-1, an older one, has already been attacked.

Example

The SHA-256 of any file, 1 KB or 10 GB, is 64 characters. Changing 1 byte changes all 64.

Test yourself: SHA-256

Hash algorithms

Adding up letter codes is a bad hash because "ab" and "___" give the same result.

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.