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)

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
Passwords have to be a hash, therefore it is not 3DES but A.SHA for passwords
1
0
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
I chose A, D
1
0