EC-Council
312-92 · Question #93
George is writing an application in Java and is using DES in the code to implement the encryption and decryption of data that will be passed. In the following code snippet, what will be…
The correct answer is C. Writes the raw key to a file. See the full explanation below for the reasoning.
Question
George is writing an application in Java and is using DES in the code to implement the encryption and decryption of data that will be passed. In the following code snippet, what will be accomplished? FileOutputStream out = newFileOutputStream (f); out.write(rawkey);
Options
- AConvert the secret key to an array of bytes
- BGenerate a secret TripleDES encryption key
- CWrites the raw key to a file
- DSend the raw key to a decryption output array
How the community answered
(28 responses)- A18% (5)
- B7% (2)
- C71% (20)
- D4% (1)
Community Discussion
No community discussion yet for this question.