nerdexam
Microsoft

98-372 · Question #26

You are creating an application using .NET Framework 4.0. You write the following code segment in the application: RC2CryptoServiceProvider RC2Crypto = new RC2CryptoServiceProvider(); Console.WriteLin

The correct answer is B. CBC. The RC2CryptoServiceProvider class is used to define a wrapper object to access the cryptographic service provider (CSP) implementation of the RC2 algorithm. The RC2CryptoServiceProvider class cannot be inherited. By default, all encryption classes make use of Cipher Block Chaini

Understanding .NET Framework Concepts

Question

You are creating an application using .NET Framework 4.0. You write the following code segment in the application:

RC2CryptoServiceProvider RC2Crypto = new RC2CryptoServiceProvider(); Console.WriteLine(RC2Crypto.Mode); Which of the following outputs will the above code segment display?

Options

  • ACTS
  • BCBC
  • CCFB
  • DOFB

How the community answered

(49 responses)
  • A
    14% (7)
  • B
    73% (36)
  • C
    4% (2)
  • D
    8% (4)

Explanation

The RC2CryptoServiceProvider class is used to define a wrapper object to access the cryptographic service provider (CSP) implementation of the RC2 algorithm. The RC2CryptoServiceProvider class cannot be inherited. By default, all encryption classes make use of Cipher Block Chaining (CBC) as the cipher mode. Answer: C, A, and D are incorrect. Cipher Feedback (CFB), Cipher Text Stealing (CTS), and Output Feedback (OFB) are not the default cipher mode.

Topics

#RC2CryptoServiceProvider#cipher mode#CBC#symmetric encryption

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice