How Does SHA-256 Work?
learnmeabitcoin3 HN recommenders · recommended in 3 months, 2020-2022
374K views · 6 years ago · explainer · evergreen
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.
Commenters call it clear enough to implement the algorithm from, and teachers use it in courses.
25:16But how does bitcoin actually work?
3Blue1Brown
18.1M views • 9 years ago
5:06How secure is 256 bit security?
3Blue1Brown
3.7M views • 9 years ago
5:24Diffie-Hellman Key Exchange
Art of the Problem
547K views • 14 years ago
17:50Blockchain 101 - A Visual Demo
Anders Brownworth
3.3M views • 10 years ago
1:06:36Computer Security 161 Cryptocurrency Lecture
Nicholas C Weaver
128K views • 4 years ago
1:44What is Bitcoin? (v1)
WeUseCoins
10.3M views • 15 years ago
8:38Diffie-Hellman Key Exchange
Art of the Problem
938K views • 14 years ago
22:36Computer Scientist Explains One Concept in 5 Levels of Difficulty | WIRED
WIRED
7.2M views • 4 years ago
1:32:08Theory and Practice of Cryptography
Google TechTalks
73K views • 18 years ago
1:04:46Quantum Computing and Bitcoin (Vitalik Buterin, November 2013)
Bitcoin Israel
16K views • 13 years ago
2:16Andreas Antonopoulos - 51% Bitcoin Attack
Rodolfo Díaz
72K views • 11 years ago
24:20Satoshi Has No Clothes: Failures in On-Chain Privacy by Ian Miers (Devcon4)
Ethereum Foundation
5K views • 7 years ago
1:02:041. Introduction for 15.S12 Blockchain and Money, Fall 2018
MIT OpenCourseWare
7.2M views • 6 years ago
1:10:0135C3 - The year in post-quantum crypto
media.ccc.de
8K views • 7 years ago
21:20Cracking Enigma in 2021 - Computerphile
Computerphile
2.9M views • 5 years ago
17:12Cryptocurrency Explained: Money as a System-of-Control
aantonop
144K views • 9 years ago
9:48Bitcoin Q&A: How Do I Secure My Bitcoin?
aantonop
117K views • 9 years ago
35:33How does Computer Memory Work? 💻🛠
Branch Education
5.5M views • 4 years ago
8:14The Lightning Network Explained (Litecoin/Bitcoin)
Franklyn
119K views • 9 years ago
1:30:50Lecture 7: Introduction to Galois Fields for the AES by Christof Paar
Introduction to Cryptography by Christof Paar
278K views • 12 years ago
4 comments from Hacker News
I found this video to be an excellent explanation and sufficient to implement the algorithm: ▶ this video Code: link This site contains a nice visualization: link
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 :)
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 )
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!