arrow
arrow
arrow
How is the salting technique used in hashing for enhanced security?
Question



How is the salting technique used in hashing for enhanced security?

A.

It converts plain text into hashed text using the MD5 algorithm without adding any extra data.

B.

It adds a random value to the input data before hashing to make each hash unique.

C.

It encrypts the hashed data using a symmetric encryption algorithm.

D.

It stores the hash directly without any modification or additional data.

E.

It compresses the hash to reduce storage space.

Correct option is B

The salting technique in hashing enhances security by adding a random value (salt) to the input data before hashing. This ensures that the resulting hash is unique for each input, even if two inputs are identical. Salting primarily defends against precomputed attacks such as rainbow table attacks.
Important Key Points:
1. Definition of Salting: It involves appending a unique, random value to the input data before hashing.
2. Unique Hashes: Even if two users have the same password, their hashed outputs are unique due to different salts.
3. Protection Against Attacks: Salting prevents rainbow table attacks by making precomputed hashes unusable.
4. Usage in Authentication: Salts are often stored alongside hashes in databases to allow secure password verification.
Knowledge Booster:
· MD5 is a hashing algorithm that does not inherently involve salting. Moreover, MD5 is considered insecure for modern security purposes.
· Encryption and hashing are distinct processes. Salting does not involve encryption; it modifies the input before hashing.
· Storing the hash without salting makes it vulnerable to attacks like rainbow table or brute force attacks.
· Compressing hashes is not related to security and can compromise data integrity required for validation.

Free Tests

Free
Must Attempt
Video Solutions

RBI Assistant Pre 2026 Full Mock Test -01

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon60 Mins
languageIcon English
Free
Must Attempt
Video Solutions

RBI Asst Prelims 2026 : Reasoning Section Test 01

languageIcon English
  • pdpQsnIcon35 Questions
  • pdpsheetsIcon35 Marks
  • timerIcon20 Mins
languageIcon English
Free
Must Attempt
Video Solutions

RBI Asst Prelims 2026 : Quant Section Test 01

languageIcon English
  • pdpQsnIcon35 Questions
  • pdpsheetsIcon35 Marks
  • timerIcon20 Mins
languageIcon English
test-prime-package

Access ‘IBPS SO IT Officer’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
370k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow