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?
- A.
2n
- B.
2n -1
- C.
(n*(n+1))/2
- 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.