Data Integrity - How Hashing is used to ensure data isn't modified - HMAC - Cryptography

  Рет қаралды 50,126

Practical Networking

Practical Networking

2 жыл бұрын

Data Integrity seeks to assure that data has not been modified in transit between a sender and receiver. This assurance is provided using a Hashing Algorithm... but not simply by itself, that leaves you open to an attacker modifying your message and re-calculating the digest. Instead, something else must be done in addition to Hashing.
In this video, we discuss that "something else". This will have us introduce the concept of a Message Authentication Code (MAC), and the most common implementation of a MAC known as the HMAC (Hash Based Message Authentication Code).
This lesson is a free sample lesson from the the most effective TLS and SSL training course ever created. No instructor rambling on about pointless stories. No slides with massive walls of text. No time wasting. Only simple, effective, and precise explanations. Complimented with practical illustrations and visuals.
🔐 More details about the course:
classes.pracnet.net/courses/p...
🏢 Do you configure or troubleshoot TLS/SSL for work? If so, I'm willing to bet your employer would happily pay for this SSL training. Reach out if you'd like to coordinate an introduction for a bulk license purchase with your company. I'm happy to provide a generous referral bonus =)
💬 Join Practical Networking Discord
/ discord
🖧 Want to learn how how data moves through a network?
• Networking Fundamentals
Since you've made it to the bottom of the Description, here's a $100 off coupon code you can use on the full course =)
YT100

Пікірлер: 82
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
👉 *More free lessons:* kzbin.info/aero/PLIFyRwBY_4bTwRX__Zn4-letrtpSj1mzY ✨ *Full course:* pracnet.net/tls 💲 *Coupon Code* for 50% off: youtube50
@techhack8367
@techhack8367 2 жыл бұрын
The Best Teacher I've ever seen in my lifetime!💯😍
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you =)
@danialranjbar9805
@danialranjbar9805 10 ай бұрын
Agree
@DeRizzlo
@DeRizzlo 4 ай бұрын
this video basically explained to me what my entire 3h lecture was tryna say but failed horribly. KZbin is crazy for educational videos like these!! thank you so much
@Eonwe
@Eonwe 2 жыл бұрын
I’m binging your vids this weekend. Your explanation of how ports work and why they exist was so clear and easy to grasp that I’ve been completely sucked down this rabbit hole of your videos. You’d be amazing at explaining how the Bitcoin network works.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Glad you've been enjoying the content, Eönwe =). Bitcoin (and related concepts) are on my list to talk through at some point. At the moment I'm trying to market my TLS course: classes.pracnet.net/courses/practical-tls Thanks for the kind words =)
@piratevv
@piratevv 2 жыл бұрын
Thanks for these. These are Gold. I am seeing networking now with much a solid path to troubleshoot and know what really is happening!!!
@patrickherbert_
@patrickherbert_ 5 ай бұрын
Thank you for taking the time to explain this. I've almost given up understanding the concept. Most websites I read it got me more confused than I was. It's clearer now
@sergiopimentel1479
@sergiopimentel1479 Жыл бұрын
Hey man, I just want to thank you for uploading these videos, they have been of incredible help. There are a few videos out on KZbin but honestly, yours are the only ones I can learn from, I'm an audiovisual learner so again Thank you!
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Thanks for the kind words, Sergio. Glad you're getting so much from this content =). Cheers !
@niyeamerika
@niyeamerika Ай бұрын
Thank you. You have the best explanations on the subject. 🙏👍
@ajayb9392
@ajayb9392 2 жыл бұрын
Awesome explanation👍 You're the best in making things simple. I can never stop watching your videos.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you again, Ajay =). Cheers!
@adedejiemmanuel1
@adedejiemmanuel1 2 жыл бұрын
Another great one. Teaching with passion and conviction. I am your believer. Thank you.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thanks again, Azza =)
@theegg5492
@theegg5492 8 ай бұрын
Thx for the best explanation I’ve seen in months. Helped me a lot. 🙂
@skellybin
@skellybin 3 ай бұрын
I was thinking of this very hard while working on my simple secure communication protocol project. Thank God I understand now
@saravanamanivannan3225
@saravanamanivannan3225 4 ай бұрын
If you are following the entire series, remember that he mentioned that Integrity and Authentication provide Non-repudiation as a byproduct. However, that principle does not work in this scenario. Why? Because in HMAC, the use of the same secret key eliminates non-repudiation. In order to achieve non-repudiation, the sender and receiver must use asymmetric keys (a different pair of keys for encryption and decryption).
@PracticalNetworking
@PracticalNetworking 4 ай бұрын
💯
@iliandrei1408
@iliandrei1408 2 жыл бұрын
That's soo nice, great way to understand how important it's the data integrity in the modern world. Thank's to you I am beginning to get more into networking
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Glad to hear it, Ili. Networking is a great skill to have.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
🥳🥳- Promotion Ended - Congrats @Pratik Dhame and @Mehul 🥳🥳 For the rest of you, you can use this discount code for $100 off the course: YT100 classes.pracnet.net/courses/practical-tls Subscribe + Notification bell to increase your odds of winning when the next video (and giveaway) releases! 📢📢 FREE COURSE GIVEAWAY 📢📢 A random 2 people from the first 25 who comment on this video will be selected to gain free access to the Practical TLS course: classes.pracnet.net/courses/practical-tls -- Good luck everyone =)
@Don-Carillo
@Don-Carillo 2 жыл бұрын
Thanks again. Read so many security plus books and none of them explain it as well as you . Cheers
@pratikdhame
@pratikdhame 2 жыл бұрын
Congrats , thank you
@pratikdhame
@pratikdhame 2 жыл бұрын
Thanks for the great class
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
@@pratikdhame You're welcome!
@guilhermereis8153
@guilhermereis8153 2 жыл бұрын
Thanks for explaning how hash works, hugs from Brazil!
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
You're welcome. Cheers!
@silentrandom
@silentrandom 11 ай бұрын
Pretty neat stuff. Thanks for sharing the videos.
@addie8171
@addie8171 2 жыл бұрын
Thank you for providing this information, it is very helpful and well explained.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
You're very welcome, Adelina. Glad you enjoyed it =)
@VideosfromElle
@VideosfromElle 2 жыл бұрын
This is the definition of crystal clear, and an encouraging way to ultimately F with bahd guyz
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Love it =). Glad you enjoyed it!
@nageswararaovekkanti4110
@nageswararaovekkanti4110 2 жыл бұрын
Excellent and really useful. Really good content as usual.. Thank you so much !!!
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
You're very welcome, Nageswaro!
@hosseinshourabi398
@hosseinshourabi398 Жыл бұрын
I'm enjoying to see these videos, Thanks a lot Ed,
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Cheers, Hosein ! Glad you enjoyed them.
@Nunesi
@Nunesi Жыл бұрын
Great video as always. Thank you a lot🙏🏻❤️🌷
@PracticalNetworking
@PracticalNetworking Жыл бұрын
You're welcome!
@marekgalbavy4408
@marekgalbavy4408 2 жыл бұрын
Great video, thx for help, i am preparing for certification and yours video help me a lot.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Glad to hear it, happy to help! Good luck with the certification!
@satinaklunder7170
@satinaklunder7170 Жыл бұрын
Thank you very much. Very understandable.
@PracticalNetworking
@PracticalNetworking Жыл бұрын
You are welcome!
@jackyyeh1991
@jackyyeh1991 2 жыл бұрын
Finally, know how it works from this video
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
WOhoo! =)
@adedejiemmanuel1
@adedejiemmanuel1 2 жыл бұрын
Yes, I enjoyed it!!
@IliyaDamyanov
@IliyaDamyanov 8 ай бұрын
Very very good video.
@rodica5065
@rodica5065 2 жыл бұрын
Thanks just looking for this explanation
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Happy to help
@prateekalmighty
@prateekalmighty 11 ай бұрын
Yes thanks for this video
@Gcpaws8608
@Gcpaws8608 Жыл бұрын
excellent!
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Thank you !
@krislier22
@krislier22 2 жыл бұрын
beautiful thank you
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
You're welcome, Krislie.
@spearchew
@spearchew 2 жыл бұрын
excellent video
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you =)
@GreenMan42O
@GreenMan42O 2 жыл бұрын
This explains the "Key direction" parameter when an additional HMAC authentication is enabled during OpenVPN configuration.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Yep! Exactly. Can't do an HMAC without a Secret Key. If you aren't manually providing the key, then one has to be produced from an Asymmetric Encryption algorithm (which I'm releasing a video about next week!)
@ayradizem2770
@ayradizem2770 2 жыл бұрын
Thank you
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
You're welcome
@OK-ri8eu
@OK-ri8eu 2 ай бұрын
man, thanks. really
@pratikdhame
@pratikdhame 2 жыл бұрын
Just awesome 😄 ❤️
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Congratulations, you're a winner! Reach out to me on discord to claim free access to the course: pracnet.net/discord
@pratikdhame
@pratikdhame 2 жыл бұрын
@@PracticalNetworking please 🥺 cheak discord
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
@@pratikdhame Congrats again =). Hope you enjoy the course!
@glenngeorgewoolley
@glenngeorgewoolley Жыл бұрын
Hi thanks so much for this explanation! Just one thing I’m struggling with, if hashing cannot be reversed, and we use hmac to send data securely, then how does the receive see the original text before hashing? Is two sets of the same data sent, one in plain text and the other hmac? Thanks so much
@PracticalNetworking
@PracticalNetworking Жыл бұрын
> Is two sets of the same data sent, one in plain text and the other hmac? Yes! Exactly. Both the plain text message, and the HMAC digest are sent. This provides *Integrity* but not *Confidentiality* -- see the other videos in this series to understand what I mean by that. Cheers =)
@mehulpruthi
@mehulpruthi 2 жыл бұрын
Great explanation. I am interested in the Giveaway of this amazing course. Thanks..
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Good luck! =)
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Congratulations, you're a winner! Reach out to me on discord to claim free access to the course: pracnet.net/discord
@mehulpruthi
@mehulpruthi 2 жыл бұрын
@@PracticalNetworking Thank you so much for selecting me for the course.
@RT-kk2gk
@RT-kk2gk 2 жыл бұрын
So are they different??The hashing algorithm and the HMAC???I mean we can use this or that ??Thanks alot.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Yes, they are different. You can do an HMAC with MD5, or with SHA1, or with SHA256, and so on. You can also do an HMAC, or a KMAC, or CMAC, etc... The hashing algorithm is different & independent from the "method to combine hashing + secret key"
@siddharthmanumusic
@siddharthmanumusic 9 ай бұрын
Is the key concatenated with the message or is the message encrypted with the same key? That is not clear.
@PracticalNetworking
@PracticalNetworking 9 ай бұрын
For the sake of this video, we'll say the Key is concatenated with the video. But in reality, the HMAC operation is a little more complicated In a real HMAC, the key is combined with the message multiple times. The real formula is listed in section 2 of RFC 2104: www.rfc-editor.org/rfc/rfc2104.html#section-2
@user-eg5kn9qq3r
@user-eg5kn9qq3r 2 жыл бұрын
Didn't got on how hmac will save the integrity of the message as key, message and digest all can be changed and receiver won't come to know.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
The key is used to calculate the digest. The receiver is also using the key to calculate the digest. An attacker in the middle can still change the message, but can not re-calculate a digest which the receiver will accept since the attacker can not combine the key with the modified message.
@user-eg5kn9qq3r
@user-eg5kn9qq3r 2 жыл бұрын
@@PracticalNetworking Thanks for quick reply, got it.
@nimaforoughi3008
@nimaforoughi3008 Жыл бұрын
In layperson terms
@jcc5566
@jcc5566 10 ай бұрын
26,507 views Oct 4, 2021 Practical TLS - Free Lessons from my SSL Deep Dive training course Data Integrity seeks to assure that data has not been modified in transit between a sender and receiver. This assurance is provided using a Hashing Algorithm... but not simply by itself, that leaves you open to an attacker modifying your message and re-calculating the digest. Instead, something else must be done in addition to Hashing. In this video, we discuss that "something else". This will have us introduce the concept of a Message Authentication Code (MAC), and the most common implementation of a MAC known as the HMAC (Hash Based Message Authentication Code). This lesson is a free sample lesson from the the most effective TLS and SSL training course ever created. No instructor rambling on about pointless stories. No slides with massive walls of text. No time wasting. Only simple, effective, and precise explanations. Complimented with practical illustrations and visuals. 🔐 More details about the course: classes.pracnet.net/courses/p... 🏢 Do you configure or troubleshoot TLS/SSL for work? If so, I'm willing to bet your employer would happily pay for this SSL training. Reach out if you'd like to coordinate an introduction for a bulk license purchase with your company. I'm happy to provide a generous referral bonus =) 💬 Join Practical Networking Discord discord.com/invite/yrexngJ 🖧 Want to learn how how data moves through a network? • Networking Fundam... Since you've made it to the bottom of the Description, here's a $100 off coupon code you can use on the full course =) YT100 Key moments View all Featured playlist 24 videos Practical TLS - Free Lessons from my SSL Deep Dive training course Practical Networking Practical Networking 166K subscribers Videos About 11:42 Hashing, Hashing Algorithms, and Collisions - Cryptography - Practical TLS by Practical Networking 33K views · 1 year ago 7:34 What is SSL & TLS ? What is HTTPS ? What is an SSL VPN? - Practical TLS by Practical Networking 93K views · 2 years ago 5:15 How do SSL & TLS protect your Data? - Confidentiality, Integrity, Authentication - Practical TLS by Practical Networking 38K views · 2 years ago Practical TLS Learn more about Practical TLS ty so much :) Pinned by Practical Networking @PracticalNetworking 1 year ago (edited) 📢 ANNOUNCEMENT: I'm adding 20+ new lessons to the Practical TLS course covering TLS 1.3. 💲 While creating the TLS 1.3 modules, I'm discounting my Practical TLS course to the lowest price I have ever offered until I finish. 📣 Coupon Code: PracticalTLS13 || Promotion Price: $49 (Regular Price $297) 👉 classes.pracnet.net/courses/practical-tls/buy?coupon=PracticalTLS13 The Course returns to full price as soon as I publish the final TLS 1.3 lesson. Don't wait too long. =)
Hashing, Hashing Algorithms, and Collisions - Cryptography - Practical TLS
11:42
The delivery rescued them
00:52
Mamasoboliha
Рет қаралды 10 МЛН
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,2 МЛН
Securing Stream Ciphers (HMAC) - Computerphile
9:24
Computerphile
Рет қаралды 304 М.
IPSEC: What is it and how does it work
15:07
Prabh Nair
Рет қаралды 12 М.
HMAC explained | keyed hash message authentication code
6:33
Jan Goebel
Рет қаралды 64 М.
TLS Handshake - EVERYTHING that happens when you visit an HTTPS website
27:59
Practical Networking
Рет қаралды 103 М.
How are Images Compressed?  [46MB ↘↘ 4.07MB] JPEG In Depth
18:47
Branch Education
Рет қаралды 3,4 МЛН
Authenticating Data with Message Authentication Codes
21:56
Aleksander Essex
Рет қаралды 17 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 4,6 МЛН
Mem VPN - в Apple Store
0:30
AndroHack
Рет қаралды 58 М.
Задача APPLE сделать iPHONE НЕРЕМОНТОПРИГОДНЫМ
0:57
WWDC 2024 - June 10 | Apple
1:43:37
Apple
Рет қаралды 10 МЛН
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 2,5 МЛН
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 555 М.