Cifrari simmetrici
-
Upload
marco-montanari -
Category
Documents
-
view
114 -
download
7
Transcript of Cifrari simmetrici
CIFRARI SIMMETRICI SEGRETO COMUNE, MEZZO RISCHIO
A FLUSSO
A5 (GSM)
64 bit di chiave ma in realtà misteriosamente gli ultimi 10 bit sono sempre 0
3 Shift-register
o 𝑥19 + 𝑥5 + 𝑥2 + 1
o 𝑥22 + 𝑥 + 1
o 𝑥23 + 𝑥15 + 𝑥2 + 𝑥 + 1
RC4
Registro con 256 caselle e un seed L
Usa SKA per swappare le caselle
Usa PRGA per scambiare le caselle
A BLOCCHI
DSA
64 bit di chiave (56+8)
64 bit di blocco
AL G O R I T M O
1. 8 E-Box 32 48
2. Somma mod 2
3. 8 S-Box
4. P-Box fisso
TRIP LEDES
168 bit di chiave = 3x 56
𝐸𝑘1 𝐷𝑘2 𝐸𝑘3 𝑚 𝐷𝑘3 𝐸𝑘2 𝐷𝑘1 𝑚
AES / R I JNDAEL
128 + k32 bit di chiave
128 bit di blocco
AL G O R I T M O
1. Substitute bytes
2. Shift row
3. Mix columns
4. Arr dound key
MODALITÀ DI CIFRATURA
CBC
Ogni blocco cifrato viene usato come IV del blocco successivo
CFB, OFB
Flusso autosincronizzante (con shift register)
CTR
Flusso sincrono (con contatore)