Question 134


5.4.1 Question

Multiple Choice

What class handles the actual data encryption?

  • A. RijndaelManaged
  • B. RSACryptoServiceProvider
  • C. CryptoStream
  • D. RSAKeyInfo

Answer:

C
Explanation
A. Incorrect: RijndaelManaged is a method of encryption and does not create a stream.
B. Incorrect: RSACryptoServiceProvider does not provide a stream.
C. Correct: CryptoStream provides access to an encrypted stream.
D. Incorrect: RSAKeyInfo contains information for managing an RSA key and does manage encryption.