HackerTube

THE VIDEO SHELF · sha-256 hash function

How Does SHA-256 Work?

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.

Why HN readers recommended it

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

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
learnmeabitcoin
Topic
sha-256 hash function
Format
explainer
Level
intermediate
HN recommenders in dataset
3
HN mentions in dataset
4
Recommendation years in dataset
2020–2022

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • I found this video to be an excellent explanation and sufficient to implement the algorithm: [VIDEO] Code: [LINK] This site contains a nice visualization: [LINK]

    7373737373 on Hacker News · 2022-03
    In The SHA-256 Project: learn how hash functions work by implementing one yourself
  • Here's the author doing an in-depth explanation of how SHA-256 works using this code: [VIDEO] I'm halfway through, but looks very well done, thanks!

    1_player on Hacker News · 2020-05
    In Show HN: SHA-256 Animation
  • Oh this is great. When we taught SHA-256 last semester, we linked to this YouTube video: [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 …

    oconnor663 on Hacker News · 2022-02
    In Show HN: SHA-256 explained step-by-step visually

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.