PrepAway - Latest Free Exam Questions & Answers

Which of the following should be used to accomplish this task?

A programmer must write a piece of code to encrypt passwords and credit card information used
by an online shopping cart. The passwords must be stored using one-way encryption, while credit
card information must be stored using reversible encryption. Which of the following should be used
to accomplish this task? (Select TWO)

PrepAway - Latest Free Exam Questions & Answers

A.
SHA for passwords

B.
3DES for passwords

C.
RC4 for passwords

D.
AES for credit cards

E.
MD5 for credit cards

F.
HMAC for credit cards

3 Comments on “Which of the following should be used to accomplish this task?

  1. Lake says:

    Encryption data can be decrypted, it means it is two-way.
    Example: 3DES is symmetric algorithm, it means it is NOT one-way.

    Hashing Algorithm must be one-way. It means it is not reversible.
    Example: SHA is hashing algorithm, it means it is one way.

    Choice B is definitely wrong based on the question. Therefore, the correct answers are AD.




    1



    0

Leave a Reply