HackerTubewatch
Surprise me
Frame from How Does SHA-256 Work? Plays via YouTube's privacy-enhanced embed

How Does SHA-256 Work?

learnmeabitcoin
Explainers
YouTube
3 HN users recommended this explainer3 months2020–2022 score 3.5
Years with an HN recommendation, 2007–2026

Commenters call it clear enough to implement the algorithm from, and teachers use it in courses.

A step-by-step animated explanation of how SHA-256 works, from padding and message schedule to the compression function and final hash, with source code for the animations.

“I found this video to be an excellent explanation and sufficient to implement the algorithm” (HN, 2022)

1 strong recommendations · 2 recommendations · 1 citations · Explainers · intermediate

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@1_player May 2020 Recommends
on HN thread Show HN: SHA-256 Animation
Here's the author doing an in-depth explanation of how SHA-256 works using this code: [this video] I'm halfway through, but looks very well done, thanks!
In-depth author explanation of how SHA-256 works
@oconnor663 Feb 2022 Recommends
on HN thread Show HN: SHA-256 explained step-by-step visually
Read more
Oh this is great. When we taught SHA-256 last semester, we linked to this YouTube video: [this video] . Next time we do it, we'll probably link to both. Having several different ways to visualize the same thing is very helpful, and I like that this one moves quickly. A couple of details missing from this visualization are how you pad a message to be a multiple of the block size, and how you chain blocks together to form a longer message. In the pseudocode at [link] , that's the "Pre-processing (Padding)" part and the "for each chunk" loop just below it. I get why you'd want to leave those things out, since they're not really the interesting part, and the screen is already pretty packed as it is. If anyone's feeling curious about implementing this yourself, take a look at these project notes: [link] . At some point I'll clean that up for public consumption, but for now just ignore the parts about grades and cheating :)
Used in teaching SHA-256 to a class

Citations, criticism and jokes

@newscracker May 2020 Cites it
on HN thread Show HN: SHA-256 Animation
Read more
This looks great, though it requires quite sometime to go through it (and figure out what could possibly be understood by someone with knowledge of programming and bit wise operators, and what can just be skipped because it’s something only cryptographers can understand). If someone were to make a slower video explaining it with all the sections from this dissection, that’d be even more awesome. Edit: Seems like the author created a video for this — [this video] (thanks to 1_player’s comment at [link] ) On a tangent, here’s an animation (by someone else) explaining AES encryption — [link] (thanks to harrigan’s comment at [link] )
Author's video version of the SHA-256 animation

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close