If an encryption key is n bits long, then how many distinct encryption keys…

2025

If an encryption key is n bits long, then how many distinct encryption keys are possible?

  1. A.

    2n

  2. B.

    2n -1

  3. C.

    (n*(n+1))/2

  4. D.

    2n

Attempted by 4 students.

Show answer & explanation

Correct answer: A

An n-bit encryption key consists of n binary digits, where each digit can be 0 or 1. The total number of distinct keys is calculated as 2 raised to the power of n, or 2^n.

Explore the full course: Niacl Ao It Specialist