
Cryptography
•Scenario
–Alice wants to send Bob a message x∈ {0,1}∗without letting anyone else know
what xis.
–Alice and Bob can compute with complete secrecy
–Alice and Bob cannot communicate without eavesdroppers
•Cryptographic protocol
–Alice privately computes y=E(e, x) and sends yto Bob
–Bob privately computes x=D(d, y) to recover message x
–Assumptions about E , D, e, d
∗Dand Eare inverse functions with proper keys eand d
∗Dand Eshould be “easily computable”, i.e. in FP
∗Functions Dand Eare publicly known
∗Key dis not publicly known
∗Key e’s secrecy varies depending on cryptographic protocol
•Evaluation criteria for cryptographic protocols
–Implementation issues
–Security guarantee
Private Key Cryptography
•Encryption key eis only known to Alice (and maybe Bob)
•Cryptanalysis (codebreaking) problem
–Input string y
–Knowledge of Eand D
–No knowledge of eor d
–Question: What is xsuch that E(e, x) = y?
•Example protocol: One-time pad
–Implementation
∗e=dand |d|=|x|
∗E(d, x) = d⊕xand D(d, y) = y⊕d
∗Example with x= 1001 and d= 0101
–Security Guarantee
∗Code breaker can only learn length of message without extra information
∗Every string sof length |y|is equally likely to be xbecause there exists a string
ksuch that s⊕k=y
1