EncodingBase64HashingSHA-256EncryptionAES-GCM

Three things that look similar and get confused constantly — with vastly different uses.

One input, three outputs. Tap any row to read more.

Same input. Three different jobs.

EncodingBase64
Reversible?:Yes — by anyone
Needs a key?:No
What it's for:Safe transport of data
HashingSHA-256
Reversible?:No — one-way
Needs a key?:No
What it's for:Verifying integrity & identity
EncryptionAES-GCM
Reversible?:Yes — with the key
Needs a key?:Yes
What it's for:Secrecy with recovery

Each one, up close

The idea, the math behind it, and something live to poke at.

tier 03

And then humans show up.

The math is the easy part. The hard part is using it safely once real people pick weak passwords and databases get leaked. This is the craft of handling secrets without getting burned.

Have a go

One input through all three at once. Nothing leaves your browser.

Open the bench