Question
Which of the following is used to add extra complexity before using a one-way data transformation algorithm?
- A. Key stretching
- B. Data masking
- C. Steganography
- D. Salting Correct
Explanation
Salting adds a random value to the input, such as a password, before it is hashed, so identical inputs produce different hashes and precomputed rainbow tables stop working. Key stretching runs the hash many times to slow brute-force attempts, but the extra random input itself is the salt. Data masking hides data from view, and steganography hides data inside other files; neither is used with hashing.