Encryption for Security Flashcards

(8 cards)

1
Q

What is Secret-Key Encryption?

A

Uses one shared key for both encryption & decryption.

Main challenge = secure key exchange. Common ciphers: DES, RC4, AES, Blowfish, Twofish, IDEA.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the difference between Block and Stream Ciphers?

A

Block: Encrypts chunks (e.g. 128-bit blocks).
Stream: Encrypts bit-by-bit in real-time.

Use stream for speed & low latency (e.g., voice, video).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are common types of Hash Attacks?

A

Rainbow Table: Precomputed hashes used to reverse plaintext.
Brute-Force: Try all possible combinations.
Dictionary: Try common words.
MITM: Intercept communication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Salting in encryption?

A

Salt: Random data added to make hashes unique.
Entropy: Unpredictability = stronger encryption.

Salting + strong entropy = better hash protection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the problem with Key Exchange?

A

Problem: How to safely share secret keys.
Perfect Forward Secrecy (PFS): Past keys stay secure if long-term key is leaked.

Methods: DHE / ECDHE (temporary, per-session keys), Public key exchange.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the Key Exchange Quiz Tips?

A

PFS = Protects past session keys.
To share a key: Sender encrypts session key with receiver’s public key.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Tunneling in data protection?

A

Used to protect data in untrusted networks.

Techniques: VPN, SSL/TLS, IKE (Internet Key Exchange), Tor (onion routing).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the quick facts about SSL/TLS?

A

Tunnel built with symmetric keys.
Server sends: Digital certificate, Cipher suites.
Uses asymmetric encryption to exchange session key.

After handshake, communication is symmetric.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly