Which technique can be used to make an encryption scheme more resistant to a known plaintext attack?
A. Hashing the data before encryption
B. Hashing the data after encryption
C. Compressing the data after encryption
D. Compressing the data before encryption
Answer should be D
Compressing plaintext before encryption makes the raw text scrambled. Hashing only produce another fixed-length text which does not change the raw plaintext before encryption.
1
0