nerdexam
GIAC

GSSP-JAVA · Question #76

Which of the following init() method calls initializes a cipher object with a key in the SECRET_MODE?

The correct answer is C. cipher.init(3, key). See the full explanation below for the reasoning.

Question

Which of the following init() method calls initializes a cipher object with a key in the SECRET_MODE?

Options

  • Acipher.init(2, key);
  • Bcipher.init(1, key);
  • Ccipher.init(3, key);
  • Dcipher.init(4, key);

How the community answered

(21 responses)
  • A
    10% (2)
  • B
    5% (1)
  • C
    81% (17)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice