A. Introductin
Security is assessed by the attacks, services and mechanisms.
Several security mechanisms can be combined to provide a 'Security Service'.
The main security mechanisms used in the internet are based on cryptographic techniques.
Different security mechanisms protect against dfferent attacks.
B. Encryption
1. Ceasar Code
就是简单的移位。Key= number of spaces forward in alphabet from plain-letter.
Caesar cipher是一个流密码(stream cipher,)使用简单的单字母替换,非常容易破解。
2. Vigenere Cipher
多字母替换。