Multiple choice

Which of the following keys is used to encrypt or decrypt a message?

  1. Public

  2. Private

  3. Protected

  4. Only 1 and 2

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In cryptography, both public and private keys are used for encryption and decryption. Public key encryption uses a key pair - one public (shared) for encryption and one private (secret) for decryption, or vice versa for digital signatures. Symmetric encryption uses a single shared key, while asymmetric uses the public/private pair.