Hashes

Learn about hashes and how they work.

What is a hash?

First, we need to cover the basics. Hashing is not encryption. A hashing function calculates a fixed-size string from an input. Passwords should be one-way hashed. This means they are impossible to decrypt, making them “one-way.” There is never a need to display a password back to a user or admin. Once a password is entered, it becomes a hash that can be recreated only when the original password is given as input.

Popular attacks

Before discussing any further, let’s delve into popular attacks against hashing algorithms.

Lookup tables

A lookup table is a table of hashes where the ...