From the course: Ethical Hacking: Cryptography

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Cryptographic hashing

Cryptographic hashing

From the course: Ethical Hacking: Cryptography

Start my 1-month free trial

Cryptographic hashing

- [Instructor] Hashing is a one-way mathematical function. So think of encryption and decryption, and the main goal of them is to garble some text and then be able to retrieve that original text. Hashing is the exact opposite. We want to garble some text and have there be no way to retrieve the original value. So it's a one-way mathematical function. It mutates a variable amount of data into a fixed-length output, meaning whether or not I give it a small amount of data or a very large amount of data, I'm going to get the same fixed-size output. Hashing algorithms if they're well designed mean a small input change causes a large output change. So what that means in practice is if I take say the entire text of a 400-page novel, so a large amount of data, and I change just one letter of one word, and I hash the original text and I hash the changed text, where there's one letter of one word in those 400 pages. The output of…

Contents