nerdexam
GIAC

GSSP-.NET · Question #268

GSSP-.NET Question #268: Real Exam Question with Answer & Explanation

Sign in or unlock GSSP-.NET to reveal the answer and full explanation for question #268. The question stem and answer options stay visible for context.

Question

  • (Topic 3) You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a method to hash data with the Secure Hash Algorithm (SHA) using .NET Framework. The hash data is passed to the method as a byte array named msg. You are required to calculate the hash of the msg array by using the SHA1. It is also mandatory to place the result into a byte array named Myhash. Which of the following code segments should you use to accomplish the task?

Options

  • ASHA1 Mysha1 = new SHA1CryptoServiceProvider();
  • BSHA1 Mysha1 = new SHA1CryptoServiceProvider();
  • CSHA1 Mysha1 = new SHA1CryptoServiceProvider();
  • DSHA1 Mysha1 = new SHA1CryptoServiceProvider();

Unlock GSSP-.NET to see the answer

You've previewed enough free GSSP-.NET questions. Unlock GSSP-.NET for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GSSP-.NET Practice