GIAC
GSSP-NET · Question #358
You work as a Software Developer for ABC Inc. You create a Console application named ConsoleApplication4. You use the System.Security.Cryptography namespace. You want to use the key lengths of 384…
The correct answer is A. UnicodeEncoding ByteConverter = new UnicodeEncoding(); byte[] DataToEncrypt = C. UnicodeEncoding ByteConverter = new UnicodeEncoding(); byte[] DataToEncrypt =. See the full explanation below for the reasoning.
Question
You work as a Software Developer for ABC Inc. You create a Console application named ConsoleApplication4. You use the System.Security.Cryptography namespace. You want to use the key lengths of 384 bits to 16384 bits. You use RSACryptoServiceProvider class to encrypt and decrypt data. Which of the following code segments will you use to accomplish this task? Each correct answer represents a part of the solution. Choose all that apply.
Options
- AUnicodeEncoding ByteConverter = new UnicodeEncoding(); byte[] DataToEncrypt =
- BUnicodeEncoding ByteConverter = new UnicodeEncoding(); byte[] DataToEncrypt =
- CUnicodeEncoding ByteConverter = new UnicodeEncoding(); byte[] DataToEncrypt =
- DUnicodeEncoding ByteConverter = new UnicodeEncoding(); byte[] DataToEncrypt =
How the community answered
(29 responses)- A83% (24)
- B7% (2)
- D10% (3)
Community Discussion
No community discussion yet for this question.