Kryptographie und Kryptoanalyse
Kryptographie und Kryptoanalyse
Kryptographie und Kryptoanalyse
Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.
YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.
3 Klassische Verfahren – PM-Substitutionen<br />
Koinzidenzindex I<br />
• Wahrscheinlichkeit, dass zwei unabhängig voneinander<br />
gewählte Zeichen a i übereinstimmen<br />
n1<br />
2<br />
i ,<br />
i0<br />
i ( i), i<br />
I p p p a a A<br />
• I minimal, wenn alle Zeichen gleichwahrscheinlich:<br />
1 1<br />
pi , i0,1,..., n1 : Imin<br />
<br />
n n<br />
A = {A:Z}: n = 26, I min = 1/26 = 0,0385<br />
• I „maximal“ für Texte in natürlichen Sprachen:<br />
Nachricht in deutscher Sprache: I max = 0,0762<br />
Nachricht in englischer Sprache: I max = 0,0655<br />
<strong>Kryptographie</strong> <strong>und</strong> <strong>Kryptoanalyse</strong><br />
3 Klassische Verfahren – PM-Substitutionen<br />
Koinzidenzindex für Beispieltexte (deutsch, nur “A” – “Z”)<br />
I max = 0,0762<br />
─ r = 1 r = 4 r = 12 r = 26<br />
l = 110 038 0,07379 0,07379 0,04769 0,04030 0,03847<br />
l = 10 090 0,07226 0,07226 0,04714 0,04009 0,03856<br />
l = 2 059 0,08002 0,08002 0,04936 0,04107 0,04094<br />
<strong>Kryptographie</strong> <strong>und</strong> <strong>Kryptoanalyse</strong><br />
3 Klassische Verfahren – PM-Substitutionen<br />
Einordnung des Schlüsseltextes in eine Tabelle<br />
Schlüssel k 0 k 1 k 2 … k r-1<br />
Schlüsseltext c 0 c 1 c 2 … c r-1<br />
<strong>Kryptographie</strong> <strong>und</strong> <strong>Kryptoanalyse</strong><br />
c cr c cr+1 c cr+2 … c cr+(r-1) c 2r c 2r+1 c 2r+2 … c 2r+(r-1)<br />
c 3r c 3r+1 c 3r+2 … c 2r+(r-1)<br />
… … … … …<br />
I max = 0,0762<br />
I min = 0,0385<br />
85<br />
86<br />
I min = 0,0385<br />
87<br />
29