Classical Cryptography
Private-key Cryptography
Symbols
| Notation | Definition |
|---|---|
| Secret key | |
| Key space | |
| Ciphertext | |
| Message / plaintext | |
| Message space | |
| Key-generation algorithm | |
| Encryption algorithm | |
| Decryption algorithm |
Encryption and Decryption Process
Key-generation:
Use the algorithm to generate a secret key
Encryption:
Input the secret key , and a message
Output the ciphertext
Decryption
Input the secret key , and the ciphertext
Output the plaintext , or an error
Kerckhoffs’s Principle
- The encryption scheme is not secret
- The attacker knows the encryption scheme
- Only the key is secret
- The key must be chosen randomly, and be kept secretly
Last updated on