Bitzu

CC ยท Data security

Encryption

Symmetric vs asymmetric, data at rest, in transit and in use, keys and key management basics.

Key points

  • Symmetric encryption uses one shared secret key and is fast (AES).
  • Asymmetric uses a public/private key pair and is used to exchange keys and sign (RSA, ECC).
  • Encrypt data at rest (disks, databases), in transit (TLS) and, with special hardware, in use.
  • The algorithm is public; security rests on keeping keys secret, so key generation, storage, rotation and destruction matter.

Practice questions

Single choice

Which statement describes symmetric encryption?

  1. A public key encrypts and a private key decrypts
  2. The same secret key encrypts and decrypts
  3. A one-way function produces a fixed-size digest
  4. No key is needed because the algorithm is secret
Show answer

Answer: B. The same secret key encrypts and decrypts

Symmetric encryption uses the same key to encrypt and decrypt. Using a public/private pair describes asymmetric encryption.

Select all that apply

Which items are examples of protecting data in transit?

  1. HTTPS between browser and web server
  2. Full-disk encryption on a server
  3. A VPN tunnel between two offices
  4. Encrypted columns in a database
  5. Locking the server room
Show answer

Answer: A. HTTPS between browser and web server, C. A VPN tunnel between two offices

HTTPS (TLS) and VPN tunnels protect data moving over a network. Disk encryption and database column encryption protect data at rest.

True or false

True or false: an encryption algorithm is only secure if its design is kept secret.

Show answer

Answer: False

False. Strong algorithms are public and heavily reviewed; security depends on keeping the key secret.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CC topics in this module