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.