QamoosTech
SecurityData protectionIntermediate

Hashing

PronunciationHASH-ing

Definition

Turning data into a fixed-length fingerprint that cannot be reversed. It is used to store passwords safely.

Where you hear it

Password storage and data integrity checks.

Examples

  • We store a hash of the password, never the password itself.
  • Use bcrypt or Argon2 for passwords.
  • The login checks the typed password against the stored hash, never against plain text.

Common mistake

Mixing up hashing and encryption. You can decrypt encrypted data, but you cannot "un-hash" a hash.

Don't confuse with

Hashing is often confused with encryption; the key difference is that encryption is a two-way function designed to be reversible with a key, whereas hashing is a one-way process meant to be irreversible.

Say it at work

  • In a meeting or chatMake sure we are hashing the user's password before saving it to the database.
  • In an email or ticketI have updated the authentication module to use a stronger hashing algorithm for better security.