You are developing a method to decrypt data that was encrypt

题目
单选题
You are developing a method to decrypt data that was encrypted with the Triple DES Algorithm. The method accepts the following parameters:  The byte array to be decrypted, which is named cipherMessage  The key, which is named key   An initialization vector, which is named iv  You need to decrypt the message by using the TripleDES class and place the result in a string.  Which code segment should you use?()
A

A

B

B

C

C

D

D

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

USER_DATA is a nonencrypted tablespace that contains a set of tables with data. You want to convert all existing data in the USER_DATA tablespace and the new data into the encrypted format.Which methodswould you use to achieve this?()

A. Use Data Pump to transfer the existing data to a new encrypted tablespace

B. Use ALTER TABLE MOVE to transfer the existing data to a new encrypted tablespace

C. Use CREATE TABLE AS SELECT to transfer the existing data to a new encrypted tablespace

D. Enable row movement for each table to be encrypted and then use ALTER TABLESPACE to encrypt the tablespace

E. Encrypt the USER_DATA tablespace using the ALTER TABLESPACE statement so that all the data in the tablespace is automatically encrypted


参考答案:A, B, C

第2题:

You want your Catalyst switch to implement a switching method that holds a packet in its memory until the data portion of the respected packet reaches the switch.Which method should you employ on your Catalyst switch?()

  • A、Fast Forward
  • B、Store and forward
  • C、Frag-free
  • D、None of the above

正确答案:C

第3题:

You are developing a client that sends several types of SOAP messages to a Windows Communication Foundation (WCF) service method named PostData. PostData is currently defined as follows:[OperationContract]void PostData(Order data);You need to modify PostData so that it can receive any SOAP message. Which code segment should you use?()

A. [OperationContract(IsOneWay=true, Action="*", ReplyAction="*")] void PostData(Order data);

B. [OperationContract(IsOneWay=true, Action="*", ReplyAction = "*")] void PostData(BodyWriter data);

C. [OperationContract] void PostData(BodyWriter data);

D. [OperationContract] void PostData(Message data);


参考答案:D

第4题:

You are developing a custom-collection class.You need to create a method in your class. You need to ensure that the method you create in your class returns a type that is compatible with the Foreach statement. Which criterion should the method meet?()

  • A、The method must return a type of either IEnumerator or IEnumerable.
  • B、The method must return a type of IComparable.
  • C、The method must explicitly contain a collection.
  • D、The method must be the only iterator in the class.

正确答案:A

第5题:

You are developing a client that sends several types of SOAP messages to a Windows Communication Foundation (WCF) service method named PostData. PostData is currently defined as follows:[OperationContract]void PostData(Order data);You need to modify PostData so that it can receive any SOAP message. Which code segment should you use?()

  • A、[OperationContract(IsOneWay=true, Action="*", ReplyAction="*")] void PostData(Order data);
  • B、[OperationContract(IsOneWay=true, Action="*", ReplyAction = "*")] void PostData(BodyWriter data);
  • C、[OperationContract] void PostData(BodyWriter data);
  • D、[OperationContract] void PostData(Message data);

正确答案:D

第6题:

You created an encrypted tablespace:You then closed the encryption wallet because you were advised that this is secure.Later in the day, you attempt to create the EMPLOYEES table in the SECURESPACE tablespace with the SALT option on the EMPLOYEE column.Which is true about the result?()

A. It creates the table successfully but does not encrypt any inserted data in the EMPNAME column because the wallet must be opened to encrypt columns with SALT.

B. It generates an error when creating the table because the wallet is closed.

C. It creates the table successfully, and encrypts any inserted data in the EMPNAME column because the wallet needs to be open only for tablespace creation.

D. It generates error when creating the table, because the salt option cannot be used with encrypted tablespaces.


参考答案:C

第7题:

USER_DATA is a nonencrypted tablespace that contains a set of tables with data. You want to convert all existing data in the USER_DATA tablespace and the new data into the encrypted format. Which methodswould you use to achieve this?()

  • A、Use Data Pump to transfer the existing data to a new encrypted tablespace
  • B、Use ALTER TABLE MOVE to transfer the existing data to a new encrypted tablespace
  • C、Use CREATE TABLE AS SELECT to transfer the existing data to a new encrypted tablespace
  • D、Enable row movement for each table to be encrypted and then use ALTER TABLESPACE to encrypt the tablespace
  • E、Encrypt the USER_DATA tablespace using the ALTER TABLESPACE statement so that all the data in the tablespace is automatically encrypted

正确答案:A,B,C

第8题:

You opened the encryption wallet and then issued the following command:Then you closed the wallet. Later, you issued the following command to create the EMPLOYEES table in the SECURESPACE tablespace and you use the NO SALT option for the EMPID column.What is the outcome?()

A. It creates the table and encrypts the data in it.

B. It generates an error because the wallet is closed.

C. It creates the table but does not encrypt the data in it.

D. It generates an error because the NO SALT option cannot be used with the ENCRYPT option.


参考答案:B

第9题:

You are developing a WCF service. The service includes an operation names GetProduct. You need to ensure that GetProduct will accept a POST request and will indicate that the returned data is XML.   Which two actions should you perform?()

  • A、Add the WebGet attribute to the service contract.
  • B、Set WebOperationContext.Current.OutgoingRequest.ContentType to "text/xml" in the GetProduct method.
  • C、Add the WebInvoke attribute to the service contract.
  • D、Set WebOperationContext.Current.OutgoingResponse.ContentType to "text/xml" in the GetProduct method.

正确答案:C,D

第10题:

Your Windows 2000 Professionally computer belongs to the contoso.com domain. You need to encrypt a compressed file named C:/data. You successfully encrypt the file but discover that it is no longer compressed.   What is the most likely cause of this problem?()

  • A、Group Policy is preventing the compression of encrypted files.
  • B、The file is stored on a FAT32 partition.
  • C、Only members of the Administrators and the Power Users groups can compress and encrypt files.
  • D、Encrypted files cannot be compressed.

正确答案:D

更多相关问题