All right, MD5 and MD6.
Okay, message digest two, four and 5 have been around for years.
Md 6 is relatively new.
A hundred and twenty eight bit fingerprint, historically.
The Shaw secure hashing algorithm is a successor to MDs.
Shaw actually comes in a couple of different flavors.
We'll look at Shaw 2 and Shaw 3 in a second.
But MD 5 is not collision resistant.
A collision resistant algorithm builds in a mechanism so that it's
highly unlikely or impossible that two inputs produce the same output.
So a collision or a birthday attack is where you force a collision to take place.
And for example, in a password, if you were to get a collision with the wrong
password, the system would still authenticate you even though it's the
wrong password because you just happened to produce the same hash.
So MD 6 uses Merkle tree structure.
We don't really get much into that.
Md5 and 6 are deployed for digital
signature applications, file integrity checking, and storing passwords.
All right, secure hashing algorithm or Shaw.
Shaw 1 uses a 160 bit digest.
Shaw 2 uses two 26, two 56, 384, and 512 for both Shaw 2 and Shaw 3.
Shaw 3 uses sponge construction.
Little bit different math, but it's the same outputs, 224, 263, 245, 12.
Essentially, the longer the bit output, the more secure it is.
Again, these algorithms are collision resistant where MD5 is not.
Hmac. We defined HMAC in an earlier module.
Remember, it's hash based message authentication code.
You're using an embedded hash function and it's using typically for
authentication some challenge one time password.
There are a variety of MD5 and MD6 hash calculators out there.
Now you will be doing a couple of labs on hash calculation.
A couple of different purposes or
different tools for performing it, different applications.
But at the end of the day, it's the same math.
An MD5 calculator is an MD5 calculator.
It all does the same math, MD6 the same way, but you do have things like hash my
files, MD5 calculator, hashed calc and a bunch of others.
All right, bcT ex Encoder, cryptography tools.
You do have a lab on BC Text Encoder.
Encrypts confidential text in your message.
Uses strong, symmetric and public key algorithms for data encryption.
You do have a lab on this.
I'll leave the details to the lab.