312-50 ยท Cryptography
Cryptography concepts
Plaintext, ciphertext, keys, symmetric vs asymmetric, government access to keys, post-quantum basics.
Key points
- Plaintext: readable data. Ciphertext: encrypted result. Key: controls the transformation.
- Symmetric: one shared secret key; fast, bulk data.
- Asymmetric: public/private key pair; key exchange, signatures.
- Hybrid: asymmetric to agree on a key, symmetric to encrypt data.
- Key escrow: a key copy kept by a trusted third party.
- Post-quantum algorithms are designed to resist quantum computers.
Practice questions
Which statement correctly describes symmetric encryption?
- Two different keys are used, one public and one private
- The same secret key encrypts and decrypts the data
- Data is transformed with a one-way function with no key
- The key is derived only from the ciphertext
Show answer
Answer: B. The same secret key encrypts and decrypts the data
Symmetric ciphers use the same secret key to encrypt and decrypt, which makes them fast but raises the key distribution problem. A public/private pair is asymmetric.
Which statements about asymmetric cryptography are true?
- The public key can be shared openly
- Both parties must hold the same secret key
- The private key must remain secret to its owner
- It is generally faster than symmetric encryption
- It never needs a key pair
Show answer
Answer: A. The public key can be shared openly, C. The private key must remain secret to its owner
The public key can be distributed freely; the private key must stay secret. Asymmetric algorithms are slower than symmetric ones, and each party has its own pair rather than one shared key.
True or false: encrypting a message also guarantees that nobody has modified it.
Show answer
Answer: False
Encryption provides confidentiality. Integrity needs a hash, MAC, authenticated encryption mode or signature; unauthenticated ciphertext can sometimes be altered undetected.
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.
