7 Cryptography Concepts EVERY Developer Should Know
Video Overview & Insights
Cryptography is scary. In this tutorial, we get hands-on with Node.js to learn how common crypto concepts work, like hashing, encryption, signing, and more https://fireship.io/lessons/node-crypto-examples/
Is there room for new Algorithms in Cyber Security?
🔗 Resources
Full Tutorial https://fireship.io/lessons/node-crypto-examples/
Any updates on this topic?
Source Code https://github.com/fireship-io/node-crypto-examples
Node Crypto https://nodejs.org/api/crypto.html
Now Muslim are coming inshallah
📚 Chapters
00:00 What is Cryptography
1:23 Nope, some cryptographic algorithm are robust against that.
3:10 It's funny we call thoses digests, because they're indigestible!
00:52 Brief History of Cryptography
01:41 1. Hash
"The British are coming ❌❌", - "The Germans are coming✅✅"
04:07 2. Salt
05:47 3. HMAC
This is all from a great book. It’s almost at every library literally like the only library book that they want to keep on computers. It isn’t how to build a game in Jarvis group right now.
06:35 4. Symmetric Encryption.
08:19 5. Keypairs
I was asked about the concept of salt during a technical interview, and I’m so glad I came across your video beforehand. Thank you for making this!
09:29 6. Asymmetric Encryption
10:22 7. Signing
Seven is NOT a random number.
There are no coincidences.
11:31 Hacking Challenge
🔥 Get More Content - Upgrade to PRO
God Im dumb and haven’t bothered to educate myself what so ever in computer coding or technology.
Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
Maths.
🎨 My Editor Settings
- Atom One Dark
I cannot show you the key, Im also looking for the K, Reodique the discontinued moment.
- vscode-icons
- Fira Code Font
What if Public Benjamin Button of ability to thread time backwards the older his body the younger the mind, the younger the mind the older the body, imagine the tune by radiofrequency to remote and recent memory to and fro gauge lever hang glider connect including all details at sorround by molecules of frames, or at time the code was being thinked. How you solve that? Sleep memory. Or in a cubicle tube like space dark void of no time. " In the beginning was darkness/ void. Then, ...
🔖 Topics Covered
- Cryptography for Developers Basics
Its all just electrons and money expenses for new counter tech complain? Why dont you just sleep, long hours.
- Crypto algorithms: SHA, MD5, argon2, scrypt
- How password salt works
todays vedieo 0:/ 34✓\√~¢_FGR
- Encryption vs Signing
- Difference between Asymmetric vs Symmetric Encryption
I know it’s a short video, but I think you should really mention why people should use HMAC. Almost no developers are familiar with length extension attacks.
- How hacking works and hacks are prevented
Okay so I'm here 4 years later, I assume SHA256 is no good now--so what do I sub in?
More User Perspectives
Thanks for the awesome overview. This is what I'll be teaching in my computer science courses, and I'll try to implement your node code in python together with my students.
@miclehCryptography not for developers it's for programmer 😂
@WebDevCohortI LOVED that HMAC breakdown. I am studying for the CISSP and I like..."understood" it theoretically but I wasn't really able to connect it to an actual use case. Thanks so much for your content <3
@umaimudiaseI can’t thank you enough for this!
@CaseRyleighSHA ~ MD5
@shankarpubg9413Thanks for making this easy to follow.
@shaun-outndastixy2:29 Not quite, you just need to reproduce the hash. In the 90s we had rainbow tables where you could search for a hash value and use its input even if it was different to the original it didn't matter as the computer only checks the hash value
@alexgreenwood3868I've always thought of the public key as more of a lock rather than a key. "hey here's my lock (public key), whenever you send me something, put this thing on it first because I have the (private) key to unlock it - that's the thing I don't share". Key this key that, everything is a key and it makes it super confusing.
@LFSPharaohanswer : superhacker
@GopalNDIt's too bad there are no subtitles.
@maximkasimov8649Amazing video. Liked the explanation...
@michalbalara1It be like ■■■■ ■■■■ ■■ ■■■■■ ■■ ■■■ ■■■ ■■■■ ■■ ■■■ ■■ ■■■■■■■■■■ lol 4:21
@SmilingProudNo you can just write in plan text ... then the magic blow of 💋 😘 😗 change it beautiful 😍 🤩 👌 ✨️ lol 💯 3:47
@SmilingProudsuperhacker
@0xDolve🇨🇦 VDO suggestion: explain if encryption can be used to safely mask a voice. If a YouTuber interviews someone who a gang wants to ID, many voice masking video editors wouldn't be safe because someone who can read the program could possibly reverse the voice masking.😮
I would just use a text to voice program or a paid actor to be 100% safe with peace of mind for person interviewed, like shows like Gangland.
you could HMAC passwords instead of salting them, and it's even better because hashing alone (even with salts) is "Integrity verification" which is not the exact tool you want. HMAC however, is Authentication, which is the exact purpose of a user-password combination.
@IvanMontillaew why js😭🤮🤢
@kameradoanti9901Me: Oh this looks interesting
Me 7 minutes in: Wtf is happening 😳
I love john the ripper, how password generate
@MohamedWaelLabidingomong apa jir
@ketenangansetelahnyaYeah, like theft identity...like to not be stalked by human traffickers...what else? What happened with those donations, Google?
@AndreeaCeCouldn't find anyone else who already posted this, but u said "we can do that by just prepending it to the existing string seperated by a semicolon" but u're using a colon d:^)
@Achmed0Wurrast124"superhacker" is the hash
@LotOFfactorieshacker all this is fine but you have no idea how tired is one of creepy ticks sticking on one online life and just to get their balls jumping so called deliberate passwords being thrown around by hacker in this clip but there are solutions and those are within this so called encryption and shall be created
@MalvinderKaur-e7x😂😂cool bro
@NkitprajI've tried to get a angle off hours of your videos. I'm injured can't do what I used to so I'm homeless and just want to let you know I've got nothing out of this. I've tried no it's time to die thanks for the bs guy
@NTBFW970Appreciate it for posting! Looking for guidance: My Trust Wallet has some USDT trx, and I have the seedphrase: clean party soccer advance audit clean evil finish -tonight involve whip -action-. How to handle moving them to Kraken?
regular hashing always produces the same output for the same input since the algorithm is a deterministic mathematical function.
this means the password "password" hashed with sha256 will always produce "5e884898 etc..."
this makes passwords especially weaker ones vulnerable to lookup attacks using precomputed hash databases like rainbow tables.
a rainbow table is a giant list of common or simple passwords and their corresponding hashes.
attackers can simply search for a known hash and find the original password.
salt prevents this by adding a unique, random value to each password before hashing.
with salt, even if two users have the same password, their hashes are different since their salts are different.
additionally, the system needs to verify passwords during login, so the salt must be stored alongside the hashed password.
when a user logs in, the system retrieves the stored salt, hashes the entered password with it, and checks if the result matches the stored hash.
authentication is only possible with both the salt and the hash, adding an extra layer of security.
however, because the salt is required for verification, it must still be stored securely to prevent attackers from using it in brute-force attacks.
so while salts don’t prevent brute-force attacks, they slow them down significantly by forcing attackers to compute hashes separately for each password attempt per user, making large-scale attacks impractical.
even with billions of hashes per second, brute-force attacks on strong passwords can take years, not just days, especially when combined with slow hashing algorithms like bcrypt, scrypt, or argon2.
as for quantum computing, while it poses a future risk, it won’t make salts or hashing obsolete overnight.
current quantum algorithms like grover’s algorithm speed up brute-force attacks, but only by a square root factor.
if breaking a hash today takes 1000 years, a quantum computer could reduce it to ~30 years.
while significantly faster, it would still take a very long time, making it infeasible especially for strong passwords and with slow hashing algorithms.
public-key cryptography however is at risk from quantum attacks as shor’s algorithm is an exponential speedup and can break pkc once quantum computers reach a sufficient scale.
How is that conforming
@joshytjosejose899how did it say 2025? at 1:16
@varunjohnson9570Can you please make an in-depth video about how end-to-end-encryption works in, for example, messaging apps?
@desertwalker123THis is great
@rdandnayakWell played bro!
@CatrinelMihailescu1:17 who's here in 2025😂
@jistu99