CompTIA Security+ (SY0-701) — Question 206
Which of the following methods to secure credit card data is best to use when a requirement is to see only the last four numbers on a credit card?
Answer options
- A. Encryption
- B. Hashing
- C. Masking
- D. Tokenization
Correct answer: C
Explanation
Masking is the correct choice because it allows for the display of only specific parts of the credit card number, in this case, the last four digits, while obscuring the rest. Encryption and hashing are not suitable for this requirement, as they do not allow for the retrieval of partial information, and tokenization does not focus on revealing any part of the original data.