Skip to main content
Cipher Visualizers home

Tag

#SHA-256

3 articles with this tag.

A visual representation of a hash length-extension attack forging a message authentication tag
Modern & Applied Cryptography Breakers Intermediate

Forging MACs with a Hash Length-Extension Attack

Using a plain hash as a MAC, with tag = H(secret || message), is a classic mistake. A length-extension attack appends your own data and forges a valid tag without ever knowing the secret. Learn the attack on SHA-256, with runnable Python, and why HMAC exists.

11 min read

A visual representation of the Balloon Hashing Algorithm
Key Derivation Functions Advanced

The Balloon Hashing Algorithm

Balloon hashing is a memory-hard password hashing function built from an ordinary hash such as SHA-256. Learn how it expands a buffer, mixes it with salt-driven reads, why its memory access never depends on the password, and what attacks it faces.

16 min read

A visual representation of the HMAC Algorithm
Message Authentication Codes Beginner

HMAC: Hash-Based Message Authentication

A hash alone can't prove a message wasn't tampered with. Anyone can recompute it. HMAC fixes that by mixing in a secret key, becoming one of the most quietly essential building blocks in TLS, SSH, and beyond.

8 min read

← All tags