nerdexam
Microsoft

70-516 · Question #22

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application stores encrypted credit car

The correct answer is B. AESCryptoServiceProvider. AESCryptoServiceProvider Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm. DSACryptoServiceProvider Defines a wrapper object to access the cryptographi

Implementing Data Access

Question

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application stores encrypted credit card numbers in the database. You need to ensure that credit card numbers can be extracted from the database. Which cryptography provider should you use?

Options

  • ADSACryptoServiceProvider
  • BAESCryptoServiceProvider
  • CMD5CryptoServiceProvider
  • DSHA1CryptoServiceProvider

How the community answered

(38 responses)
  • A
    5% (2)
  • B
    79% (30)
  • C
    13% (5)
  • D
    3% (1)

Explanation

AESCryptoServiceProvider Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm. DSACryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the DSA algorithm. This class cannot be inherited. MD5CryptoServiceProvider Computes the MD5 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be SHA1CryptoServiceProvider Computes the SHA1 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited. DSACryptoServiceProvider us/library/system.security.cryptography.dsacryptoserviceprovider.aspx) AESCryptoServiceProvider us/library/system.security.cryptography.aescryptoserviceprovider.aspx) MD5CryptoServiceProvider us/library/system.security.cryptography.md5cryptoserviceprovider.aspx) SHA1CryptoServiceProvider Class us/library/system.security.cryptography.sha1cryptoserviceprovider.aspx)

Topics

#symmetric encryption#AES#cryptography#data protection

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice