














































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















































A MAC is used to prevent Eve from creating a new message and inserting it instead of Alice’s message
Key Key
Alice Bob
Eve
Create MAC Verify MAC
Used to prevent Eve from creating messages and present them as written by of Alice
Private signing key
Public verification key
Alice Anyone
Eve
Create signature
Verify signature
s = md^ mod n
m and se^ mod n
mE = se E mod n
but it is unlikely that s Ee is a meaningful message
(m 1 m 2 )d^ = md 1 md 2 mod n
x = r e^ c mod n
for some r which yields a reasonable message x, where “reasonable” means that Eve can get Alice to sign x
s = xd^ = (r e^ c)d^ = rm mod n
m = sr −^1 mod n
(encryption: (αk^ , βk^ m))
βr^ r s^ = αar^ αk(m−ar^ )/k^ = αm^ mod p
k = m 1 + ar s 1
m 2 + ar s 2 s 2 (m 1 + ar ) = s 1 (m 2 + ar )
a =
s 1 m 2 − s 2 m 1 (s 2 − s 1 )r
From “ECRYPT II Yearly Report on Algorithms and Keysizes (2011-2012)”
Table 7.4: Security levels (symmetric equivalent) Security Protection Comment (bits) 32 Real-time, individuals Only auth. tag size 64 Very short-term, small org Not for confidentiality in new systems 72 Short-term, medium org Medium-term, small org 80 Very short-term, agencies Smallest general-purpose Long-term, small org < 4 years protection (E.g., use of 2-key 3DES, < 240 plaintext/ciphertexts) 96 Legacy standard level 2-key 3DES restricted to 106 plain- text/ciphertexts, ≈ 10 years protection 112 Medium-term protection ≈ 20 years protection (E.g., 3-key 3DES) 128 Long-term protection Good, generic application-indep. Recommendation, ≈ 30 years 256 ”Foreseeable future” Good protection against quantum computers unless Shor’s algorithm applies. From “ECRYPT II Yearly Report on Algorithms and Keysizes (2011-2012)”