Entendendo Conceitos Básicos de CRIPTOGRAFIA | Parte 1/2

Errata: When I explain HMAC, it's a simplification, but I show an example of a function called `hmac_sha1` and someone might think that's the complete implementation. *DO NOT* copy what I did; use a decent library like libsodium for HMAC. This week is part 1 of this 2-part micro-series on Cryptography. In the last episode, I talked about the impact of Quantum Supremacy on current cryptography, but many people don't have a good understanding of what cryptography really means. So in today's episode, we'll start with some very basic concepts about symmetric encryption, famous algorithms like DES and AES, understand how common types of attacks like dictionary or length extension occur, and understand what hashes are that programmers use every day without knowing. Jump straight to sections: 07:41 - storing passwords in a database 09:32 - substitution ciphers 11:11 - Enigma 14:57 - DES 19:43 - AES 22:48 - Hashes 26:53 - Collisions 30:12 - Length Extension 35:36 - Dictionaries 37:35 - Birthdays Follow me on social media: Twitter (  / akitaonrails  ) Instagram (  / akitaonrails  ) Facebook (  / akitaonrails  ) Podcasts (https://anchor.fm/akitando) Links: The Enigma Machine Online (https://cryptii.com/pipes/enigma-machine) Can I break an uncracked Enigma code message? (https://www.theguardian.com/technolog...) Cracking the Uncrackable: How Did Alan Turing and His Team Crack The Enigma Code? (https://www.scienceabc.com/innovation...) Everything you need to know about hash length extension attacks (https://blog.skullsecurity.org/2012/e...) Hash Length Extension Attacks (https://www.whitehatsec.com/blog/hash...) I have been Pwned? (https://haveibeenpwned.com) Understanding the Birthday Paradox (https://betterexplained.com/articles/...) Shattered: We have broken SHA-1 in practice. (https://shattered.io) Divide and Conquer: Cracking MS-CHAPv2 with a 100% success rate (https://web.archive.org/web/201603161...) Secure your data with AES-256 encryption (https://www.atpinc.com/blog/what-is-a...) Rainbow Tables: Your Password's Worst Nightmare (https://www.lifewire.com/rainbow-tabl...) Hash Length Extension Attacks(https://www.whitehatsec.com/blog/hash...) Podcast: https://anchor.fm/dashboard/episode/e... Transcript: https://www.akitaonrails.com/2019/11/...