main resource Introduction_to_Modern_Cryptography.pdf
Chapter 1: Introduction and classical ciphers
Setting of Private-key encryption
- setting in which communicating parties share some secret information in advance is private-key (or symmetric-key) setting
The syntax of encryption Private-key encryption scheme
- key-generation algorithm:
Genis a probabilistic algorithm that outputs a keykchosen according to some distribution - encryption algorithm:
Enctake as a input a keykand a plantextmand outputs a ciphertextc→ - decryption algorithm:
Dectakes input a keykand ciphertextcand outputs a plaintextm→
Generating keys defines a key space (i.e. set of all possible keys), and encryption scheme is defined over some set of possible plaintext messages denoted
Basic correct requirement of any encryption scheme is that for every key k by Gen and every plaintext messagr , it holds that
In words, an encryption scheme must have the property that decrypting a ciphertext (with the appropriate key) yields the original message that was encrypted.
Keys and Kerckoff’s principle
If adversary knows the algorithm Dec as well as the key k shared by two communicating parties, then that adversary will be able to decrypt all communication between these parties.
Kerckhoffs’ principle: The cipher method must not be required to be secret, and it must be able to fall into the hands of the enemy without inconvenience.