Salting

Salting is a cryptographic technique used to enhance security during the hashing process. It involves adding random data, known as “salt,” to user data before hashing.

Key Features:

  • Prevents attacks such as rainbow table attacks by ensuring unique hashes for identical inputs.
  • Increases the complexity of hash calculations, making it harder for attackers to reverse-engineer passwords.
  • Each user typically receives a unique salt value stored alongside their hashed password.

Benefits:

  • Enhances password security significantly.
  • Protects against precomputed hash attacks.
  • Ensures that even if two users have the same password, their hashed values will differ.

Salting is commonly used in password storage systems to safeguard user credentials from unauthorised access