Hooepage Cybersecuritv Cyberpace Menschen
Nachrichtendienste kybernetische Waffen Bildung
Fertigkeiten Wie lange sicher ? Studienmaterial Standardwerk Friedman Archiv Wissen Lexika Bildung via Satellit Fachexperten ?
 

 

Weitere Informationen finden Sie unter: http://scz.bplaced.net/iindexhtmll ; aus rechtlichen Gründen ist eine Verlinkung nicht möglich
 Geheimhaltungsgrad aufgehoben


Für die Kryptoanalyse ist nur der deutsche Text verbindlich

VVS 596/64

Ex.-Nr.: 043
22 Blatt

STUDIENMATERIAL
Nr. 7
(Kryptologie)


VVS 1084/64



S t u d i e n m a t e r i a l
Nr. 7
(Kryptologie)

Bestätigt: gez. Schürrmann
Oberst

Berlin, den 15. 5. 1964


2 VVS 1084/64

Einleitung
Im vorliegenden Studienmaterial werden folgende Schwerpunkte
behandelt:

I. Einteilung der Codeverfahren
II. Schlüsselcodes
III. Gesicherte Codegruppenvorräte

Prägen Sie sich durch intensives Selbststudium und durch Lösung der
gestellten Aufgaben die Berichtigung verstümmelter Codegruppen mit
Hilfe der Entstümmelungstafel ein.
Bei bidifferenten und bidifferent - tauschfreien Codegruppenvorräten
soll die Berichtigung verstümmelter Codegruppen mit Hilfe der Code-
gruppengleichung beherrscht werden.

I. Einteilung der Codeverfahren nach verschiedenen Gesichtspunkten

Im Studienmaterial Nr. 1 wurden die Chiffrierverfahren nach ver-
schiedenen Gesichtspunkten eingeteilt. Da die Codeverfahren we-
sentliche Besonderheiten aufweisen und um Voraussetzungen für den
Überblick über Codeverfahren zu schaffen, soll die Einteilung nach
einigen wichtigen Gesichtspunkten zusätzlich vorgenommen werden.

Nach ihrem hauptsächlichen Verwendungszweck werden unterschieden:

a) Geheimcodes
Die dienen zur Geheimhaltung unter gleichzeitiger Verkürzung
des Klartextes.
Die Geheimcodes werden eingeteilt in:

aa) Überschlüsselten Codes
Der Codetext wird mittels eines Chiffreverfahrens über-
schlüsselt.
Überschlüsselte Codes mit vereinfachter, vor allen
konstanter Zuordnung der Codegruppen zu den Phrasen
werden Schlüsselcodes genannt.


3 VVS 1084/64

ab) Nichtüberschlüsselte Codes
Der Codetext wird als solcher übermittelt. Tarntafeln
werden im allgemeinen als nichtüberschlüsselte Codes
benutzt.

b) Öffentliche Codes
Sie dienen hauptsächlich zur Verkürzung des Klartextes.
Öffentliche Codes stellen an sich keine Chiffriermittel dar
und Unterligen nicht der Geheimhaltung. Es besteht jedoch
die Möglichkeit, Sie bei Bedarf als Schlüsselcodes einzusetzen.

Nach dem Anwendungsbereich werden u. a. unterschieden:

a) Militärcodes
Sie werden als Geheimcodes im militärischen Nachrichten-
verkehr angewandt.

b) Diplomatische Codes
Sie werden im Nachrichtenverkehr zwischen den Regierungen
und ihren diplomatischen Auslandsvertretungen angewandt
und stellen ebenfalls im allgemeinen Geheimcodes dar.

c) Handelscodes
Sie werden im Nachrichtenverkehr des Handels benutzt und
stellen meist öffentliche Codes dar.

d) Verkehrscodes
Sie werden im Nachrichtenverkehr der Schiffahrt, Luftfahrt,
Eisenbahn und anderen Verkehrsinstitutionen angewandt.

e) Wettercodes
Sie dienen zur Übermittlung meteorologischer Beobachtungen
und Vorhersagen.

Nach der Größe des Phrasenbestandes werden unterschieden:

a) Kurzcodes
Sie enthalten bis einige Tausend Phrasen


4 VVS 1084/64

b) Satzbücher
Sie enthalten einige Tausend bis einige Hunderttausend Phrasen.

Nach der Sprache, in der die Phrasen abgefaßt sind, werden
unterschieden:

a) Einsprachige Codes
Sie sind nur in einer Sprache abgefaßt. Nach der Sprache werde
sie weiter eingeteilt in deutschsprachige, englischsprachige
Codes usw.

b) Mehrsprachige Codes
Sie sind in mehreren Sprachen abgefaßt, wobei den verschieden-
sprachigen Phrasen mit gleicher Bedeutung die gleichen Code-
gruppen zugeordnet sind. Nach der Anzahl der verschiedenen
Sprachen werden sie weiter eingeteilt in zweisprachige, drei-
sprachige Codes usw.

Nach der Beschaffenheit der Codegruppen werden unterschieden:

a) Buchstabencodes
Die Codegruppen bestehen aus Buchstaben.

b) Zifferncodes
Die Codegruppen bestehen aus Ziffern.

c) Mischcodes
Die Codegruppen bestehen aus Buchstaben und Ziffern.
(Der Code MALACHIT ist kein Mischcode, sondern ein Buch-
staben- und Zifferncode. Er wird entweder als Buchstaben-
code oder als Zifferncode benutzt.)

d) Signalcodes
Die Codegruppen bestehen aus anderen Zeichen als Buchstaben
und Ziffern oder enthalten außer Buchstaben und Ziffern
andere Zeichen z. B. Flaggen.


5 VVS 1084/64

Nach der Länge der Codegruppen werden unterschieden:

a) Gleichstellige Codes
Die Codegruppen sind von gleicher Länge.
Die gleichstelligen Codes werden weiter eingeteilt in:

aa) Zweistellige Codes
Die Codegruppen haben die Länge 2.

ab) Dreistellige Codes
Die Codegruppen haben die Länge 3.

ac) Vierstellige Codes
Die Codegruppen haben die Länge 4.
Einstellige und mehr als fünfstellige Codes sind auf Grund
des Codegruppenvorrates bzw. des Verlängerungsfaktors un-
gebräuchlich.

b) Wechselstellige Codes
Die Codegruppen sind von verschiedener Länge.

Nach der satztechnischen Anordnung der Codegruppen und Phrasen
werden unterschieden:

a) Codebücher
Die Phrasen stehen auf den einzelnen Seiten Zeilenweise unter-
einander. Daneben steht die zugeordnete Codegruppe in ge-
schlossener Form.

b) Codetafeln
Die Phrasen stehen in den durch die Zeilen und die Spalten
gebildeten Feldern der Tafeln. Die Codegruppen werden meist
durch Verbindung der Tafel-, Zeilen- und Spaltenbezeichnungen
gebildet. Sind die Phrasen in einer einzigen Tafel untergebracht,
so entfällt die Tafelbezeichnung bei der Bildung der Codegruppen.


6 VVS 1084/64

Nach der Anzahl verschiedener Anordnungen der Phrasen, in denen
ein Code vorliegt, werden unterschieden:

a) Einfachcodes
Das Phrasenverzeichnis liegt nur in einer Anordnung vor.
Diese dient sowohl zum Codieren als auch zum Decodieren.
Bei umfangreichen Einfachcodes (Satzbücher) sind Codegrup-
pen und Phrasen gewöhnlich parallel, d. h. gleichlaufend
lexikographisch bzw. numerisch geordnet, um beim Codieren
die Phrasen und beim Decodieren die Codegruppen rasch auf-
finden zu können. Bei Einfachcodes geringeren Umfangs(Kurzcode)
kann auf die parallele Zuordnung verzichtet werden.
Codetafeln, die nach dem Prinzip der Einfachcodes aufgebaut
sind, werden als Einfachcodes bezeichnet.

b) Mehrfachcodes
Das Phrasenverzeichnis liegt in mehr als einer Anordnung vor.
In jeder Anordnung ist jeder Phrase dieselbe Codegruppe zuge-
ordnet. Mehrfachcodes werden angewandt bei umfangreichen
Codes (Satzbüchern) mit nicht paralleler Zuordnung der Phrasen
und Codegruppen, sowie bei mehrsprachigen Codes, bei denen
sich stets eine verschiedene lexikographische Anordnung der
Phrasen in den einzelnen Sprachteilen ergibt.
Die Teile des Codes, in denen die Phrasen geordnet sind, um
diese beim Codieren rasch auffinden zu können, werden als
Codierteil bezeichnet.
Der Teil des Codes, in dem die Codegruppen geordnet sind, um
diese beim Decodieren rasch auffinden zu können, wird als De-
codierteil bezeichnet. Die häufigste Form der Mehrfachcodes
sind die Zweifachcodes, wobei eine Ausführung als Codierteil,
die andere als Decodierteil dient.

Nach der Anzahl der Phrasen, die den einzelnen Codegruppen zuge-
ordnet sind, werden unterschieden:

a) Einstufige Codes
Jeder Codegruppe ist nur eine Phrase zugeordnet.


7 VVS 1084/64

b) Mehrstufige Codes
Im wesentlichen ist einer Codegruppe mehr als eine Phrase zuge-
ordnet. Die wichtigsten mehrstufigen Codes sind die zweistufigen
Codes, bei denen im wesentlichen einer Codegruppe zwei Phrasen
zugeordnet sind.

Zur Zusammenfassung der Einteilung der Codes nach verschiedenen
Gesichtspunkten soll folgende Übersicht dienen:


Zusammenfassung

Codeverfahren werden nach folgenden Gesichtspunkten eingeteilt:
Nach ihrem hauptsächlichen Verwendungszweck werden unterschieden:

a) Geheimcodes
aa) Überschlüsselte Geheimcodes
ab) Nichtüberschlüsselte Geheimcodes

b) Öffentliche Codes

Nach ihrem Anwendungsbereich werden u. a. unterschieden:

a) Militärcodes

b) Diplomatische Codes

c) Handelscodes

d) Verkehrscodes

e) Wettercodes

Nach der Größe des Phrasenbestandes werden unterschieden:

a) Kurzcodes

b) Satzbücher


8 VVS 1084/64

Nach der Sprache, in der die Phrasen abgefaßt sind, werden unter-
schieden:

a) Einsprachige Codes

b) Mehrsprachige Codes

Nach der Beschaffenheit der Codegruppen werden unterschieden:

a) Buchstabencodes

b) Zifferncodes

c) Mischcodes

d) Signalcodes

Nach der Länge der Codegruppen werden unterschieden:

a) Gleichstellige Codes

b) Wechselstellige Codes

Nach der satztechnischen Anordnung der Codegruppen und
Phrasen werden unterschieden:

a) Codebücher

b) Mehrfachcodes

Nach der Anzahl der Phrasen, die den einzelnen Codegruppen
zugeordnet sind, werden unterschieden:

a) Einstufige Codes

b) Mehrstufige Codes


9 VVS 1084/64

Übung 1: 1. Teilen Sie die Ihnen bekannten Codeverfahren
nach den erläuterten Gesichtspunkten ein.

2. Bilden Sie Codegruppen eines Mischcodes.

3. bilden Sie Codegruppen eines Signalcodes.


II. Schlüsselcodes

Schlüsselcodes sind Codes mit vereinfachter, vor allen konstan-
ter Zuordnung der Codegruppen zu den Phrasen. Sie werden in
Verbindung mit Chiffreverfahren benutzt. Der Code dient im
wesentlichen zur Verkürzung der Texte unter gleichzeitiger
(vollständiger oder teilweiser) Erzeugung eines homogenen,
nur aus Buchstaben oder Ziffern bestehenden Zwischentextes.

Beispiel 1: 0121 Abfahrtzeit
0122 Abfahrtzeit wird noch mitgeteilt
0123 Ablauflinie passieren im Abschnitt
0124 Aktion läuft unter dem Namen
0125 Alarmbereitschaft für den gesamten
Personalbestand

Da die Sicherheit hauptsächlich durch das Chiffreverfahren erreicht
wird, können die Codegruppen den Phrasen in numerischer Reihen-
folge konstant zugeordnet werden.
Als Mittel zur rationelleren Umwandlung der Klartexte in Geheim-
texte kann der Schlüsselcode ein Zusatzverfahren zum Hauptver-
fahren oder ein Bestandteil des Hauptverfahrens sein.

Beispiel 2: hKT: Alarmbereitschaft für den gesamten Personal-
bestand/Abfahrtzeit wird noch mit geteilt

ZT: 0125 0122


10 VVS 1084/64

Die 76 Klarelemente des hergerichteten Klartextes wurden rationell
in 8 Geheimelemente des Zwischentextes umgewandelt.
Dieser aus Ziffern bestehende Zwischentext wird mit einem Chiffre-
verfahren überschlüsselt. Dabei muß beachtet werden, daß vor allem
vom Standpunkt der Sicherheit aus sich nicht jedes Chiffreverfahren
zur Überschlüsselung eignet.
Chiffreverfahren, welche mit Schlüsselcodes kombiniert werden,
sind kombinierte Verfahren.

Bei der Benutzung solcher kombinierter Verfahren ergeben sich
folgende Vorteile:

a) Im Vergleich zur alleinigen Anwendung von Chiffreverfahren
ergibt sich eine Verkürzung der Geheimtexte mit allen
Vorteilen, die daraus entstehen.

b) Solche Verfahren haben im Vergleich zu Tarntafeln eine höhere
Sicherheit, die jedoch vom angewandten Chiffreverfahren ab-
hängig ist.

c) Durch den angewandten Schlüsselcode bieten solche kombinier-
ten Verfahren die Möglichkeit der Sicherung gegen die am
häufigsten auftretenden Verstümmelungen. Dazu werden gegen
solche Verstümmelungen gesicherte Codegruppenvorräte benutzt.

Diesen Vorteilen eines kombinierten Verfahrens steht als Nachteil
die doppelte Chiffrierung gegenüber. Für die Chiffrierung und De-
chiffrierung wird eine längere Zeit benötigt als bei der alleinigen
Anwendung eines Codeverfahrens. Jedoch ist die Bearbeitungszeit
im allgemeinen kürzer als bei der alleinigen Anwendung eines
manuellen Chiffrierverfahrens.

Auswahl der Phrasen

Bei allen Codes hängt von der richtigen Auswahl und Anordnung der
Phrasen ab, in welchem Maße eine Textverkürzung und eine rasche
Codierung möglich sind.


11 VVS 1084/64

Bei der Zusammenstellung des Phrasenverzeichnisses eines Schlüssel-
codes sind in erster Linie folgende Punkte zu beachten:

1. Es sind die Phrasen aufzunehmen, die in dem betreffenden Nach-
richtenverkehr am häufigsten gebraucht werden. Als beste Grund-
lage für die Auswahl dienen Originalsprüche. Die Auswahl von
Phrasen ohne Spruchmaterial ist meist sehr schwierig.

2. Die Phrasen sind einheitlich, knapp und möglichst vielseitig
verwendbar zu formulieren.

Beispiel 3: Nicht: Beobachter sichteten eine gegnerische
Kolonne, welche in Richtung ... fährt
sondern: Gegnerische Kolonne (mit Richtung) ....

3. Die Phrasen sind so anzuordnen, daß sie schnell aufgefunden
werden können.

a) Im allgemeinen wird eine durchgehende lexikographische
Ordnung am zweckmäßigsten sein, wobei Wortfolgen unter
ihrem ersten Wort oder unter ihrem wesentlichen Wort
eingeordnet werden.

Beispiel 4: "Fachliche und politische Beurteilung" wird einge-
ordnet unter "Fachlich" oder unter "Beurteilung".

b) In bestimmten Fällen ist eine Anordnung nach Sachgebieten
oder die Hervorhebung bestimmter Phrasen durch Fett- oder
Farbdruck vorteilhaft.

Das festgelegte Ordnungsprinzip muß innerhalb des Codes strikt ein-
gehalten werden, um die Codierzeit nicht dadurch zu verlängern,
daß die Phrasen nach verschiedenen Gesichtspunkten aufgesucht wer-
den müssen.


12 VVS 1084/64

4. Die Anzahl der Phrasen ist so zu wählen, daß eine optimale
Lösung für das geforderte Verhältnis von Textkürzung und
Codiergeschwindigkeit erreicht wird.

5. Außerdem ist zu berücksichtigen, daß die Phrasenanzahl dem
Umfang des Codegruppenvorrates angepaßt ist.


Auswahl der Codegruppenvorräte

Im Studienmaterial Nr. 6 wurde bereits die Ausrechnung von
maximalen Codegruppenvorräten vorgenommen. Es wurde dabei be-
handelt, daß bei gleicher Länge der Codegruppen die Codegrup-
penvorräte aus Buchstabengruppen stets größer sind, als die aus
Zifferngruppen bestehenden, da für Buchstabengruppen 26 Geheim-
elemente und bei Zifferngruppen nur 10 Geheimelemente zur Ver-
fügung stehen. Bei gleicher Länge der Codegruppen ist die Elemen-
teanzahl ausschlaggebend für die Größe des Codegruppenvorrates.
Unter Elementeanzahl ist die Anzahl der verschiedenen Elemente
zu verstehen, die zur Bildung der Codegruppen des gesamten Code-
gruppenvorrates verwendet werden, nicht etwa die Länge der Code-
gruppen. Um einen günstigen Verlängerungsfaktor zu erreichen,
wird man stets versuchen, Codegruppen geringster Länge zu ver-
wenden.
Folgendes Beispiel soll die Aufstellung eines numerisch geordneten
Codegruppenvorrates erleichtern:

Beispiel 5: Es soll ein Codegruppenvorrat aus den Elementen
0, 1, 2 gebildet werden. Die Codegruppen habe die
Länge 4.

Ausrechnung:
An der 1. Stelle kann jede der 3 Ziffern stehen =
3 Möglichkeiten.
Nach jeder dieser Ziffern der 1. Stelle können an
der 2. Stelle wieder alle 3 Ziffern stehen =
3 × 3 Möglichkeiten.


13 VVS 1084/64

Das gleiche trifft für die 3. und 4. Stelle zu.
Der Codegruppenvorrat beträgt also 3 × 3 × 3 × 3 =
81 Codegruppen.

Codegruppenvorrat

0000 1000 2000
0001 1001 2001
0002 1002 2002
0010 1010 2010
0011 1011 2011
0012 1012 2012
0020 1020 2020
0021 1021 2021
0022 1022 2022

0100 1100 2100
0101 1101 2101
0102 1102 2102
0110 1110 2110
0111 1111 2111
0112 1112 2112
0120 1120 2120
0121 1121 2121
0122 1122 2122

0201 1201 2201
0202 1202 2202
0210 1210 2210
0211 1211 2211
0212 1212 2212
0220 1220 2220
0221 1221 2221
0222 1222 2222


14 VVS 1084/64


Übung 2: Bilden Sie einen Codegruppenvorrat aus den Ele-
menten a, b, c, d mit Codegruppen der Länge 3.
Der Codegruppenvorrat muß lexikographisch ge-
ordnet sein.


III. Gesicherte Codegruppenvorräte
Jeder Chiffreur weiß aus eigener Erfahrung, wie schwer es manch-
mal schon bei Chiffrierverfahren ist, Übermittlungs- oder Bearbei-
tungsfehler bei der Dechiffrierung zu beseitigen. Noch viel
schwieriger ist es aber, fehlerhafte Geheimtexte, die mit einem
Codeverfahren oder einem zusammengesetzten Verfahren herge-
stellt wurden, in einem Klartext umzuwandeln. Besonders ge-
fährlich ist es, wenn diese Fehler nicht erkannt werden und es
auf diese Art zu Sinnentstellungen kommt. Deshalb wird bei
Schlüsselcodes und Satzbüchern Wert darauf gelegt, daß die
häufigste Verstümmelungen der Codegruppen erkannt und be-
richtigt werden können.
Codegruppenvorräte, in denen Verstümmelungen erkannt und be-
richtig werden können, bezeichnet man als gesicherte Code-
ruppenvorräte.
Als häufigste Verstümmelungen treten in folgender Reihenfolge
auf:

1. Ausfall eines Elementes
2. Auftreten eines falschen Elementes
3. Vertauschung zweier benachbarter Elemente.

Codegruppenvorräte, in denen der Ausfall eines Elementes oder
das Auftreten eines falschen Elementes innerhalb einer Code-
gruppe erkannt und berichtigt werden soll, müssen mindestens
bidifferent sein.
Unter einem k-stelligen bidifferenten Codegruppenvorrat versteht
man einen Codegruppenvorrat, bei dem sich alle Codegruppen
untereinander mindestens an zwei Stellen unterscheiden, z. B.

1 0 1 1
1 0 2 0
1 1 2 2


15 VVS 1084/64


oder mit anderen Worten, jede Codegruppe ist durch die Vorgabe
von beliebigen k − 1 Stellen eindeutig bestimmt, z. B.

. 0 1 1 = 1011
1 . 2 0 = 1020
1 1 . 2 = 1122 usw.

Die unter 3. genannten Verstümmelungen können bei Verwendung
eines tauschfreien Codegruppenvorrates erkannt und berichtigt
werden.

Unter einem tauschfreien Codegruppenvorrat versteht man einen
Codegruppenvorrat, bei dem durch Vertauschung zweier benachbar-
ter Elemente keine Codegruppe in eine andere desselben übergeht.

Beispiel 6: a) Die Codegruppe a b c d e
und a c b d e
sind nicht tauschfrei, da sie durch Vertau-
schung des 2. und 3. Elementes ineinander
übergehen.

b) Dagegen sind die Codegruppen a b c a e
und a b c d c
tauschfrei, da sie durch Vertauschung des 4.
und 5. Elementes nicht ineinander übergehen.

Ein Codegruppenvorrat, in dem alle drei genannten Verstümmelun-
gen erkannt und mit Hilfe des Phrasenverzeichnisses im allgemeinen
berichtigt werden können, muß bidifferent - tauschfrei sein.

Unter einem bidifferenten - tauschfreien Codegruppenvorrat versteht
man einen Codegruppenvorrat, der sowohl bidifferent als auch
tauschfrei ist.

Beispiel 7: Die Codegruppen 0 0 0 0
0 0 1 1
0 1 1 0
sind bidifferent - tauschfrei, da alle drei Code-
gruppen an zwei Stellen unterschiedlich sind und
außerdem durch Vertauschung zweier benachbarter
Elemnte nicht ineinander übergehen.


16 VVS 1084/64

Zur Aufstellung eines gesicherten Codegruppenvorrates können als
Erleichterung Codegruppentafeln erarbeitet werden, aus denen die
bildbaren Codegruppen abgelesen werden können. Diese Codegrup-
pentafeln werden dann auch zur Entstümmelung fehlerhafter Code-
gruppen benutzt. Man bezeichnet sie dann als Entstümmelungstafeln.
Diese Codegruppentafeln liegen im allgemeinen lateinischen Quadra-
te zugrunde.

Unter einem lateinischen Quadrat versteht man eine quadratische
Anordnung von Elementen mit der Forderung, daß in jeder Zeile
und in jeder Spalte jedes Element genau einmal vorkommt.

Beispiel 8:


0 1 2
1 2 0
2 0 1
Eine Codegruppentafel für bidifferente Codegruppenvorräte besteht
aus einer Anfangsspalte, einem oder mehreren lateinischen Quadra-
ten und der Schlußzeile oder Schlußspalte.

Beispiel 9:

0 0 1 2
1 1 2 0
2 2 0 1
0 1 2 0
1 2 0 1
2 0 1 2


17 VVS 1084/64

Soll mit Hilfe einer Codegruppentafel ein ungesicherter Codegruppen-
vorrat aufgestellt werden, so wird die Schlußzeile bzw. Schlußspalte
als lateinisches Quadrat geschrieben.

Beispiel 10:

0 0 1 2
1 1 2 0
2 2 0 1
0 1 2 0 1 2
1 2 0 1 2 0
2 0 1 2 0 1
Das folgende Beispiel soll die Entstümmelungstafel für einen bidif-
ferenten Codegruppenvorrat erläutern.

Beispiel 11: Der Codegruppenvorrat soll aus bidifferenten
Codegruppen der Länge 4 bestehen, die aus
den Ziffern 0, 1, 2 gebildet werden.

Die Codegruppentafel besteht also aus 2 la-
teinischen Quadraten, einer Anfangsspalte und
der Schlußspalte.
Die Quadrate und Spalten werden mit X1, X2,
X3, X4 bezeichnet.


18 VVS 1084/64

Codegruppentafel




X1 X2 X4

0 0 1 2
1 1 2 0
2 2 0 1
0 1 2 0
1 2 0 1
2 0 1 2
X3
Es muß nochmals darauf hingewiesen werden.
daß in jeder Zeile und Spalte der lateinischen
Quadrate X2 und X3 jedes Element nur ein-
mal vorkommen darf.

Mit dieser Tafel können Codegruppen, bei
denen eine Ziffer fehlt oder falsch ist, mit
Hilfe des Textzusammenhanges berichtigt
werden.

Handhabung:
Zur Verkürzung der Schreibweise werden die einzelnen Elemente
der vierstelligen Codegruppe der Reihe nach mit z1, z2, z3 und
z4 bezeichnet.


19 VVS 1084/64

Beispiel 12: Codegruppe 0120
z1 = 0
z2 = 1
z3 = 2
z4 = 0

Die Codegruppe kann auf zwei Arten aus der Entstümmelungstafel
abgelesen werden:

a) Vorwärts: z1 aus Xi,
z2 aus X2 in derselben Zeile wie z1,
z3 aus X3 in derselben Spalte wie z2,
z4 aus X4 in derselben Zeile wie z3
z. B. 0120

b) Rückwärts: z4 aus X4,
z3 aus X3 in derselben Zeile wie z4,
z2 aus X2 in derselben Spalte wie z3,
z1 aus X1 in derselben Zeile wie z2.

Ist die Stellung einer falschen oder fehlerhaften Ziffer bekannt, so
ist eine eindeutige Rekonstruktion der Codegruppe möglich.

Eine Kombination beider Ablesevorschriften ist dann erforderlich,
wenn z. B. z2 oder z3 bestimmt werden soll.


20 VVS 1084/64

Beispiel 13: z1, z3, z4 bekannt,
z2 wird bestimmt.

z1 aus X1 ablesen,
z4 aus X4,
z3 aus X3 in derselben Zeile wie z4
z2 aus X2 im Schnittpunkt der durch z1 be-
stimmten Zeile und der durch z3 be-
stimmten Spalte.

z. B. 2.11 = 2211

Tritt bei der Decodierung eine nicht im Code enthaltene Gruppe
auf, so muß angenommen werden, daß sie eine falsche Ziffer ent-
hält. Es wird jeweils eine der Ziffern z1, z2, z3, oder z4 falsch
angesehen und aus der Entstümmelungstafel die berichtigte Code-
gruppe herausgelesen.

Beispiel 14: Übermittelte Gruppe sei 2021
-021 - 0021
2-21 - 2121
20-1 - 2001
202- - 2022

Paßt eine der Codegruppen in den Textzusam-
menhang, so ist sie als die richtige anzusehen.
Ist da nicht der Fall, muß eine Rückfrage erfolgen.

Fehlt in einer übermittelten Gruppe eine Ziffer, so ist entsprechend
Beispiel 14 zu verfahren.


21 VVS 1084/64

Übung 3: 1.) Berichtigen Sie folgende verstümmelte
Gruppe mit Hilde der im Beispiel 11 ange-
gebenen Enstümmelungstafel:
2002, 1210, 0110, 1022

2.) Berichtigen Sie folgende Gruppen, bei denen
ein Element ausgefallen ist, mit Hilfe der
Entstümmelungstafel, die im Beispiel 11 an-
gegeben ist:
122. 211. 012. 100.

3.) Lesen Sie aus der Entstümmelungstafel im
Beispiel 11 alle möglichen Codegruppen in
numerischer Reihenfolge heraus und schrei-
ben Sie diese auf. Beginnen Sie mit der
Codegruppe 0000.

4.) Stellen Sie lateinische Quadrate mit folgen-
den Elementen auf:

1) 4, 5, 6, 7,
2) 2, 3, 8,
3) a, b, c, d.


Berichtigung verstümmelter Codegruppen nach Codegruppengleichung

Vom Chiffrierverfahren "001" her ist bekannt, daß bei der kryptogra-
phischen Addition Ihnen im allgemeinen nicht bekannte Rechen-
operationen angewendet werden. Die bekannte Rechenoperationen
würden umständlich zu handhaben sein, zu Schwierigkeiten bei der
fortlaufenden Schreibung der Chiffreeinheiten führen und die Sicher-
heit des Verfahrens beeinträchtigen.
Bei der Addition werden daher die Zehner weggelassen.
Bei der Subtraktion wird im Bedarfsfall 10 addiert, Dadurch wird
eine der Zahlen 0 - 9 erhalten.


22 VVS 1084/64

Beispiel 15: a) 6 + 5 = 10
10 : 10 = 1 Rest 0

b) Bei der Subtraktion ergäbe
3 − 4 = −1
Um eine positive Zahl zu erhalten,
wird zur 3 die 10 addiert, also
13 − 4 = 9

Die Schreibweise dieser Rechenoperation lautet:

a) 6 + 4 ≡ 0 (mod 10)
b) 3 − 4 ≡ 9 (mod 10)

(Das Zeichen "≡" ist als "kongruent" zu lesen.
Die Ausdrücke im Beispiel heißen nicht Glei-
chung, sondern Kongruenz).

Die im Beispiel 15 angeführte Rechenart nennt man Rechnung
modulo 10 oder in abgekürzter Schreibweise mod 10.
Dabei werden die Zahlen 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 verwendet.
Alle Zahlen, die größer sind als 9, werden auf diejenige Zahl
zurückgeführt, die sich bei der Division durch 10 als Rest ergibt.
Die Ziffern 0 - 9 heißen deshalb Restzahlen mod 10.

Beispiel 16: a) 7 + 8 = 15
15 : 10 = 1 Rest 5, also ist
7 + 8 ≡ 15(mod 10)

b) 3 + 4 = 12
12 : 10 = 1 Rest 2, also ist
3 + 4 ≡ 2(mod 10)

Um die Restzahlen zu finden, auf die eine negative Zahl zurückge-
führt wird, muß zu dieser Zahl 10 oder so soft ein Vielfaches von
10 addiert werden, bis eine der positiven ganzen Zahlen 0, 1, ...,
9 erhalten wird.


23 VVS 1084/64

Beispiel 17: a) 5 − 8 = −3/(+10)
15 − 8 = 7 also
− 3 ≡ 7(mod 10) also ist
7 die Restzahl, auf die -3 zurückgeführt wird.

b) 20 − 13 ≡ 7(mod 10)
7 ist also die Restzahl

c) 4 − 12 + 6 − 5 = −7/(+10)
10 − 7 = 3 also ist
4 − 12 + 6 − 5 ≡ 3(mod 10)
also ist 3 die Restzahl, auf die −7
zurückgeführt wird.

Übung 4: Bilden Sie die Restzahlen
5 + 7 ≡ (mod 10)
8 + 6 ≡ (mod 10)
4 + 9 ≡ (mod 10)
6 − 8 ≡ (mod 10)
2 − 9 ≡ (mod 10)
15 − 26 ≡ (mod 10)
4 + 11 − 3 ≡ (mod 10)
7 + 8 − 2 ≡ (mod 10)
12 + 7 − 6 ≡ (mod 10)
13 − 7 + 8 − 4 ≡ (mod 10)
24 − 21 + 9 − 18 ≡ (mod 10)
21 − 14 + 12 − 15 ≡ (mod 10)
42 − 18 + 6 − 23 ≡ (mod 10)
16 − 9 + 18 − 12 ≡ (mod 10)
29 − 7 + 11 − 5 ≡ (mod 10)


24 VVS 1084/64

131
Bisher wurde nur die Rechnung mod 10 behandelt, die sich daraus
ergibt, daß bei der Bildung der Codegruppenvorräte 10 verschiedene
Elemente Verwendung finden. Werden in einem Codegruppenvorrat
zur Bildung der Codegruppe 26 Elemente benutzt, so rechnet man
mit mod 26. Wurde zur Bildung der Codegruppen 9 Elemente be-
nutzt, so rechnet man mit mod 9. Die Zahlen 0, 1, 2, 3, 4, 5, 6,
7, 8 heißen dann die Restzahlen mod 9.

Beispiel 18: a) Die Restzahlen vom mod 7
sind: 0, 1, 2, 3, 4, 5, 6.

b) Die Restzahlen von mod 11
sind: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.

Beispiel 19: (Vergleiche Sie dese Beispiel mit Beispiel 17)
6 + 4 = 10 ≡ 4(mod 6)
7 + 8 = 15 ≡ 3(mod 6)
24 ≡ 5(mod 19)
17 + 6 = 24 ≡ 6(mod 9)

Beispiel 20: (Vergleichen Sie dieses Beispiel mit Beispiel 17)

a) (mod 6)
4 − 4 = −1 /(+6)
6 − 1 = 5
also − 1 ≡ 5 (mod 6)
also ist 5 die Restzahl, die auf −1 zurückge-
führt wird.

b) (mod 19)
3 − 4 = −1 /(+19)
19 − 1 = 18
also − 1 ≡ 18 (mod 19)
also ist 18 die Restzahl, auf die −1 zurückge-
führt wird.


25 VVS 1084/64

Übung 5: Bilden Sie die Restzahlen

15 + 7 ≡ .. (mod 8)
9 + 3 + 12 ≡ .. (mod 9)
11 + 8 + 15 ≡ .. (mod 26)
19 + 6 + 9 ≡ .. (mod 7)
9 − 3 − 2 ≡ .. (mod 9)
6 − 2 − 4 ≡ .. (mod 5)
8 − 9 + 6 − 1 ≡ .. (mod 6)
7 − 9 + 4 − 6 ≡ .. (mod 8)
2 − 6 + 5 − 9 ≡ .. (mod 13)
5 − 8 + 7 − 2 ≡ .. (mod 5)

In der Übung 3 wurde die Aufgabe gestellt, mit Hilfe der Code-
gruppentafel einen Codegruppenvorrat aufzustellen. Es gibt aber
auch noch die Möglichkeit der Herstellung von Codegruppenvor-
räte mittels Codegruppengleichung. z. B.

X1 + X2 + X3 + X4 ≡ 0 (mod 9)

Diese Codegruppengleichung sagt aus, daß die Codegruppen vier-
stellig sind und die 0 das Ergebnis der Addition der einzelnen Ele-
mente der zu diesem Vorrat gehörenden Codegruppen nach mod 9 ist.
Da der Modulo auch angibt, aus wieviel Elementen die Codegruppen
des Codegruppenvorrates gebildet werden, sagt mod 9 zur Errechnung
der Menge des Codegruppenvorrates weiterhin, daß 9 verschiedene
Elemente Verwendung finden.

Ein aus vierstelligen Codegruppen bestehender ungesicherter Code-
gruppenvorrat, zu dessen Bildung 9 verschiedene Elemente benutzt
werden, würde maximal 94 = 6 561 Codegruppen enthalten.
Die angeführte Codegruppengleichung sagt aber aus, daß es sich
um bidifferenten Codegruppenvorrat handelt. Bei diesem
verringert sich die Anzahl der Codegruppen.
Um die maximale Anzahl der Codegruppen eines k - stelligen bi-
differenten Codegruppenvorrates zu errechnen, muß von der Defi-
nition ausgegangen werden. Darin heißt es, daß jede Codegruppe
durch Vorgabe von beliebigen k-1 Stellen eindeutig bestimmt ist.


26 VVS 1084/64

Beispiel 21: Zur Bildung der vierstelligen Codegruppen des
Codegruppenvorrates sollen 9 verschiedene Ele-
mente benutzt werden. (Das gesamte Beispiel
bezieht sich auf einen Codegruppenvorrat, be-
stehend aus solchen Codegruppen).

a) Ungesicherter Codegruppenvorrat
An der 1. Stelle kann jedes der 9 Elemente
stehen = 9 Möglichkeiten.
Nach jedem Element der 2. Stelle kann an
der 2 Stelle wieder jedes der 9 Elemente
stehen = 9 × 9 Möglichkeiten.
Das gleiche trifft für die 3. und 4. Stelle zu.
Der Codegruppenvorrat beträgt also
9 × 9 × 9 × 9 = 6 561 Codegruppen.

b) Bidifferenter Codegruppenvorrat
In einem bidifferenten Codegruppenvorrat
ist jede k-stellige Codegruppe durch die Vor-
gabe von k-1 Stellen eindeutig bestimmt,
d. h. die vierstelligen Codegruppen sind ein-
deutig bestimmt, wenn drei Stellen bekannt
sind. Da zur Bildung der Codegruppen des
Codegruppenvorrates 9 verschiedene Elemente
benutzt werden können, ergibt sich die
maximale Anzahl der Codegruppen des Code-
gruppenvorrates wie folgt:
An der 1. Stelle kann jedes der 9 Elemente
stehen = 9 Möglichkeiten. Nach jedem Element
der 2. Stelle kann an der 2. Stelle wieder
jedes der 9 Elemente stehen = 9 × 9 Möglich-
keiten. An der 3. Stelle ist es ebenso
= 9 × 9 × 9 Möglichkeiten. An der 4.Stelle
kann aber nur 1 Element
stehen, welches durch die Elemente der an-
deren 3 Stellen eindeutig bestimmt wird.


27 VVS 1084/64


= 9 × 9 × 9 × 1 = 729 Codegruppen.

Mit Hilfe der Codegruppengleichung X1 + X2 + X3 + X4 = 0(mod 9)
soll ein Codegruppenvorrat aufgestellt werden.

Beispiel 22: Codegruppen, welche dieser Codegruppengleichung
entsprechen:

0000 0045 1080 4284
0018 0054 1053 5733
0027 0063 2061 7452
0036 0072 3141 8073

Die Codegruppe 2061 entspricht dieser Code-
gruppengleichung, da 2 + 0 + 6 + 1 = 9 ist.
9 : 9 = 1 Rest 0

Im Beispiel 11 ist eine Codegruppentafel angeführt, welche der bi-
differenten Codegruppengleichung

X1 + X2 + X3 + X4 ≡ 0 (mod 3)

entspricht. In dieser Codegruppentafel sind die lateinischen Qaudra-
te X2 und X3 als Diagonaltafel enthalten.
Unter einer Diagonaltafel versteht man eine Tafel, in der die
gleichen Elemente entweder in den Parallelen zur Hauptdiagonalen
(von links oben nach rechts unten) oder in den Parallelstellen zur Neben-
diagonalen (von rechts oben nach links unten) stehen.
Man unterscheidet daher Hauptdiagonaltafeln und Nebendiagonal-
tafeln.

Im Beispiel 11 ist X2 der Codegruppentafel eine Nebendiagonaltafel
und X3 eine Hauptdiagonaltafel.


28 VVS 1084/64

Übung 6: a) Wenden Sie die Codegruppengleichung
X1 + X2 + X3 + X4 ≡ 0 (mod 9) an und er-
gänzen Sie das fehlende Element der vier-
stelligen Codegruppen.

013. .881 6.32 30.1
014. .172 4.84 82.4
015. .354 6.83 43.7
016. .772 2.13 61.5
017. .242 5.62 77.0
018. .104 4.33 18.4

b) Berichtigen Sie nach der Codegruppenglei-
chung X1 + X2 + X3 + X4 ≡ 0 (mod 9)
folgende verstümmelte Codegruppe, indem Sie
nacheinander annehmen, daß das 1., 2., 3.,
4. Element falsch ist.

1.) 2363 2.) 4782 3.) 5102 4.) 1861
-363
2-63
23-3
236-

5.) 3724 6.) 5613 7.) 4481 8.) 0760
9.) 2432 10.) 6451 11.) 1524 12.) 2137

c) Überprüfen Sie anhand der Codegruppen-
gleichung X1 + X2 + X3 + X4 ≡ 0 (mod 3),
ob mit Hilfe der Codegruppentafel
(Beispiel 11) bildbare Codegruppen bi-
different sind.

d) Vervollständigen Sie nachstehende Entstüm-
melungstafel unter Anwendung der Code-
gruppengleichung X1 + X2 + X3 + X4 ≡ 0 (mod 9)


29 VVS 1084/64


X2
X1 0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
1 X4
1
1
1
1
1
1
1
1
X3
e) Errechnen Sie die maximale Anzahl der Code-
gruppen folgender bidifferenter Codegruppen-
vorräte:

ea) Die Codegruppen sind vierstellig und
werden aus 7 Elementen gebildet.

eb) Die Codegruppen sind fünfstellig und
werden aus 25 Elementen gebildet.

ec) Die Codegruppen sind dreistellig und
werden aus 22 Elementen gebildet.


30 VVS 1084/64

(Hinweis: Benutzen Sie für die Errechnung
der bidifferenten Codegruppenvorräte die Ta-
belle der ungesicherten Codegruppenvorräte
des Studienmaterials Nr. 6 unter Beachtung
ak-1. Lesen Sie dazu nochmals das Bei-
spiel 21 in diesem Studienmaterial durch).

f) Vervollständigen Sie die Tabelle der bidif-
ferententen Codegruppenvorräte im Studien-
matial Nr. 6.

Beispiel 23: Codegruppengleichung X1 + X2 + X3 + X4 ≡ 0 (mod 9)
Es werde X1 = 2
X2 = 1 gesetzt
Dann lautet die Codegruppengleichung:

2 − 1 + X3 ≡ 0 (mod 9)
Zusammengefaßt: 1 + X3 ≡ 0(mod 9)
Daraus wird bestimmt: X3 = 8
Die Codegruppe lautet: 218

Die im Beispiel 23 angeführte Codegruppengleichung weicht von
der Codegruppengleichung im Beispiel 22 ab.
Wir haben also schon zwei Arten von Codegruppengleichungen für
gesicherte Codegruppenvorräte kennengelernt.

1. Codegruppengleichung für bidifferente
Codegruppenvorräte
X1 + X2 + X3 + ... Xk ≡ b (mod m)

2. Codegruppengleichung für bidifferent -
tauschfreie Codegruppenvorräte
X1 − X2 + X3 − ... ± Xk ≡ b (mod m)

wobei m ungerade sein muß.


31 VVS 1084/64

Unter einem tauschfreien Codegruppenvorrat versteht man einen
solchen Codegruppenvorrat, bei dem durch Vertauschung zweier
benachbarter Elemente keine Codegruppe in eine andere desselben
Codegruppenvorrates übergeht.
Wird zur Bildung eines bidifferent – tauschfreien Codegruppenvor-
rates eine ungerade Elementeanzahl benutzt, so wird die Code-
gruppengleichung so aufgestellt, daß wechselnde Vorzeichen (alter-
nierend) vorhanden sind.

Beispiel 24: Es sei gesetzt:

X1 + X2 + X3 + X4 + X5 ≡ 0 (mod 5)

X1 − X2 + X3 − X4 + X5 ≡ 0 (mod 5)

Ein Codegruppenvorrat mit den Codegruppen

12340 und 12304

ist nicht tauschfrei, da die Codegruppen durch Vertauschung des
4. und 5. Elementes ineinander übergeht. Sie genügen daher
auch nicht der Codegruppengleichung eines bidifferent - tausch-
freien Codegruppenvorrates. Diese beiden Codegruppen sind aber
bidifferent, da sie der bidifferenten Codegruppengleichung ent-
sprechen und an zwei Stellen unterschiedlich sind.

Tritt bei Anwendung eines bidifferent - tauschfreien Codegruppen-
vorrates bei der Decodierung eine nicht im Code enthaltene Grup-
pe auf, so muß zunächst angenommen werden, daß sie ein falsches
Element enthält.

Paßt keine der berichtigten Codegruppen in den Textzusammenhang,
so ist zu prüfen, ob die verstümmelte Gruppe zwei vertauschte
Element enthält.

Beispiel 25: Der Codegruppenvorrat entspricht der Codepruppen-
gleichung
X1 − X2 + X3 − X4 ≡ 0 (mod 9).


32 VVS 1084/64

Die Codegruppe 0432 ist im Code nicht enthalten und muß ent-
stümmelt werden:

1. Der Ausfall eines Elements bzw. des Auftreten eines fal-
schen Elementes kann nur eindeutig berichtigt werden, wenn
die Fehlerstelle bekannt ist. Andernfalls wird der Reihe nach
angenommen, daß das 1., 2., 3., oder 4. Element falsch ist.

X1 − 4 + 3 − 2 ≡ 0(mod 9) 1. Element = 3 3432
0 − X2 + 3 − 2 ≡ 0(mod 9) 2. Element = 1 0132
0 − 4 + X3 - 2 ≡ 0(mod 9) 3. Element = 6 0462
0 − 4 + 3 - X4 ≡ 0(mod 9) 4. Element = 8 0438

Gewöhnlich wird aus dem Textzusammenhang ersichtlich sein,
welche der zu den gebildeten Codegruppen gehörenden Phrasen
die richtige ist. Läßt der Textzusammenhang keine Gruppe als
die richtige erscheinen, muß überprüft werden, ob die ver-
stümmelte Gruppe zwei vertauschte Elemente enthält.

2. Vertauschungen zweier benachbarter Elemente können berichtigt
werden, indem nacheinander das 1. und 2. Element, das 2. und
3. Element und das 3. und 4. Element ausgetauscht werden.

0432 soll auf Vertauschung untersucht werden

4 − 0 + 3 − 2) Diese Codegruppen entsprechen nicht
0 − 3 + 4 − 2) der Codegruppengleichung. Die be-
0 − 4 + 2 − 3) nachbarten Elemente wurden nicht
vertauscht.

Paßt keine der berichtigten Gruppen in den Textzusammenhang,
so muß eine Rückfrage erfolgen.


33 VVS 1084/64

Übung 7: Entstümmeln Sie nachstehende Codegruppen in folgender Form:

Codegruppengleichung:
X1 − X2 + X3 − X4 ≡ 0 (mod 9)

Setzen Sie die fehlenden Elemente ein
. 6 5 4
7 . 5 4
7 6 . 4
7 6 5 .

7 6 5 4 (verstümmelte Gruppe)
6 7 5 4 richtig
7 5 6 4 falsch
7 6 4 5 richtig

Verstümmelte Gruppen
a) 6 3 1 0
b) 4 8 1 8
c) 3 4 3 8
d) 4 3 0 7
e) 8 5 7 6
f) 6 2 5 3
g) 7 0 4 8
h) 5 3 1 9
i) 4 0 6 5
j) 4 3 8 7

Es wurde bereits erwähnt, daß gesicherte Codegruppenvorräte be-
stimmten Gesetzmäßigkeiten unterworfen sind. Es gibt Codegruppen-
vorräte, welche mit Hilfe einer Codegruppengleichung aufgestellt
wurden und andere Codegruppenvorräte, die mit Hilfe einer Code-
gruppentafel aufgestellt wurden, wobei keine Codegruppengleichung
in Anwendung kam.

Bei der Erarbeitung eines bidifferent - tauschfreien Codegruppenvor-
rates mit Codegruppengleichung geht man im allgemeinen von einer
ungeraden Elementeanzahl aus, da bei gerader Elementeanzahl ver-
schiedene Schwierigkeiten auftreten.


34 VVS 1084/64

Bei ungerader Elementeanzahl ist die maximale Anzahl der Code-
gruppen eines bidifferent - tauschfreien Codegruppenvorrates gleich
der eines bidifferenten Codegruppenvorrates. Im allgemeinen
werden tauschfreie Codegruppenvorräte so aufgestellt, daß sie
gleichzeitig den Bedingungen bidifferenter Codegruppenvorräte
entsprechen.

Beispiel 26: Die Codegruppen werden aus 9 verschiedenen
Elementen gebildet und haben die Länge 5.
Bidifferenter Codegruppenvorrat = 95-1 = 6561
Tauschfreier Codegruppenvorrat = 95-1 = 6561

Tridifferente Codegruppenvorräte
In verschiedenen Bereichen ist eine besonders große Sicherheit
gegen Verstümmelungen erforderlich. In solchen Fällen können
tridifferente Codegruppenvorräte benutzt werden.

Ein k - stelliger Codegruppenvorrat heißt tridifferent, wenn je zwei
Codegruppen des Codegruppenvorrates sich an mindestens drei der
k Stellen unterscheiden oder mit anderen Worten, wenn jede Code-
gruppe im Codegruppenvorrat eindeutig bestimmt ist, sobald man
an k − 2 Stellen der k Stellen die Elemente kennt. (Vergleichen
Sie die im Beispiel 21 erläuterten Definition bidifferenter Code-
gruppenvorräte mit der Definition tridifferenter Codegruppenvor-
räte).

Der im Beispiel 29: aus der Entstümmelungstafel herauszulesende
Codegruppenvorrate soll der Erläuterung der Definition dienen.

Folgende Codegruppen sind z. B. in diesem Vorrat enthalten:

00000 02120
00131 02201
00212 02332
01022 .....
.....

Zwei beliebige Codegruppen unterscheiden sich voneinander an
mindestens drei der fünf Stellen. Wenn an zwei bekannten Stellen


35 VVS 1084/64

die Elemente ausfallen oder falsch sind, kann mit Hilfe der Ent-
stümmelungstafel die eindeutige Rekonstruktion der Codegruppe
vorgenommen werden. (Nähere Erläuterungen werden bei der Be-
handlung der Entstümmelungsvorschriften gegeben).

Tridifferente Codegruppenvorräte werden meistens, ebenfalls wie
tauschfreie Codegruppenvorräte, aus einer ungeraden Anzahl von
verschiedenen Elementen gebildet.
Die Anzahl der Codegruppen eines tridifferenten Codegruppenvor-
rates ist höchstens gleich ak-2, wenn a die Anzahl der Elemente
und k die Codegruppenlänge ist.

Beispiel 27: Die Codegruppen sollen aus den Ziffern 0 - 8 ge-
bildet werden und fünfstellig sein.
Tridifferenter Codegruppenvorrat = 95-2 = 729
Da diese Menge im allgemeinen nicht ausreicht,
werden als Codeelemente oft Buchstaben verwen-
det.

Es wurde schon darauf hingewiesen, daß bidifferent - tauschfreie
und auch tridifferente Codegruppenvorräte in der Regel aus einer
ungeraden Anzahl von Elementen gebildet werden.
In folgenden Beispiel soll gezeigt werden, daß bei Benutzung einer
geraden Elementeanzahl die Codegruppengleichung zwar der eines
bidifferent - tauschfreien Codegruppenvorrates entspricht, der Code-
gruppenvorrat selbst aber nicht tauschfrei ist.


36 VVS 1084/64

Beispiel 28: Die Codegruppen sollen aus den Elementen
0, 1, 2, 3 gebildet werden und dreistellig
sein.
Codegruppengleichung


X2
X1 0 0 1 2 3
1 1 2 3 0
2 2 3 0 1
3 3 0 1 2
0 1 2 3
X3
Codegruppenvorrat

000 103 200(a)(b) 301
011 110 213(d) 312(c)
022(a) 121 220(b) 323
033 132(c) 231(d) 330

Alle Codegruppen des Codegruppenvorrates entsprechen der Code-
gruppengleichung, jedoch sind die unterschrichenen Codegruppen
nicht tauschfrei. Der Codegruppenvorrat ist nicht tauschfrei.
Ein tridifferenter Codegruppenvorrat ist immer tauschfrei. Deshalb
können mit einem tridifferenten Codegruppenvorrat Verstümme-
lungen, die durch Vertauschung zweier benachbarter Elemente ent-
stehen, berichtigt werden, nachstehend sollen Eigenschaften eines
tridifferenten Codegruppenvorrates, bestehend aus fünfstelligen
Codegruppen, angeführt werden. (diese Eigenschaften besitzt jeder
fünfstellige tridifferente Codegruppenvorrat).

a) Vier richtig übermittelte Elemente einer Codegruppe gestatten
die eindeutige Rekonstruktion eines falschen Elementes, ohne
daß dessen Stellung in der Codegruppe bekannt sein muß.
Fehlt ein Element, dessen Stellung in der Codegruppe nicht be-
kannt ist, so ist eine eindeutige Rekonstruktion der Codegruppe


37 VVS 1084/64

nicht möglich, Paßt keine der berichtigten Codegruppen in den
Textzusammenhang, so muß eine Rückfrage erfolgen.

b) Drei richtig übermittelte Elemente einer Codegruppe gestatten
die eindeutige Rekonstruktion von zwei flachen oder fehlenden
Elementen, wenn deren Stellung in der Codegruppe bekannt ist.

c) Die Vertauschung zweier benachbarter Elemente in einer Code-
gruppe ergibt in keinem Fall wieder eine Codegruppe des gelei-
chen Codegruppenvorrates.

Verstümmelte Codegruppen eines tridifferenten Codegruppenvorrates
können mit Hilfe der für diesen Codegruppenvorrat zutreffenden
Codegruppengleichungen oder mit der Entstümmelungstafel berich-
tigt werden. Da die Anwendung tridifferenter Codegruppenglei-
chungen schwieriger ist, als die der tauschfreien Codegruppenglei-
gungen, wird im allgemeinen die Entstümmelung von tridifferenten
verstümmelten Gruppen mit Hilfe der Entstümmelungstafel vorge-
nommen.

Beispiel 29: (Zur besseren Übersicht wurde ein kleiner
Codegruppenvorrat gewählt).

Die fünfstelligen Codegruppen werden aus den
Elementen 0, 1, 2, 3 gebildet.


38 VVS 1084/64

Enstümmelungstafel


I
1 00 13 21 +
2 01 + 22 30
3 02 10 23 31
4 03 11 + 32
5 + 12 20 33 1 2 3 4 5
0 1 2 3 00 22 + 11 33 III
1 2 3 + 31 03 20 + +
2 3 + 0 12 + 01 23 +
3 + 0 1 + 10 32 + 21
+ 0 1 2 + + 13 30 02
II
Die links vom Quadrat I stehende Spalte und
die oberhalb des Quadrates III stehende Zeile
dienen nur zum Herauslesen der Codegruppen
aus den Quadraten.

Zur Verkürzung der Schreibweise werden die
einzelnen Elemente der Codegruppe der Reihe
nach mit z1, z2, z3, z4 und z5 bezeichnet.

Beispiel 30: Codegruppe 12133
z1 = 1
Z2 = 2
z3 = 1
z4 = 3
z5 = 3


39 VVS 1084/64

Handhabung:

Die Codegruppe kann auf zwei Arten aus der Enstümmelungstafel
abgelesen werden:

a) Vorwärts:

z1z2 aus I
z3 aus II in derselben Spalte wie z1z2,
z4z5 aus III in derselben Zeile z3,
in der Spalte, deren Spaltennummer gleich
der Zeilennummer von z1z2 ist,
z. B. 02201.

b) Rückwärts:

z4z5 aus III
z3 aus II in derselben Zeile wie z4z5,
z1z2 aus I in derselben spalte wie z3,
in der Zeile, deren Zeilennummer gleich
der Spaltennummer von z4z5 ist.
z. B. 32230.

Eine Kombination beider Ablesevorschriften ist dann erforderlich,
wenn z. B. z3 und z4 bestimmt werden sollen.

Beispiel 31: z1 z2 aus I,
z5 aus III, in der Spalte, deren Spaltennummer
gleich der Zeilennummer von z1 z2 ist,
z4 aus III im sleben Feld wie z5,
z3 aus II im Schnittpunkt der durch z1 z2
bestimmten Spalte und der durch z4 z5 be-
stimmten Zeile.


40 VVS 1084/64

Tritt bei der Decodierung eine nicht im Code enthaltene Codegrup-
pe auf, so muß zunächst angenommen werden, daß sie ein falsches
Element enthält. Es wird jeweils der Reihe nach angenommen, daß
z1, z2, z3, z4, oder z5 falsch ist.

Beispiel 32: Übermittelte Codegruppe 31013

310.. = 31001
31.13 = 31213
..013 = 10013

Unterscheidet sich eine der Codegruppen von der übermittelten
Codegruppe nur an einer Stelle (im Beispiel: 31213), so ist sie als
die richtige Codegruppe anzusehen. Ist diese Codegruppe nicht im
Code enthalten, so ist zu prüfen, ob in der verstümmelten Code-
gruppe zwei benachbarte Elemente vertauscht sind.

Beispiel 33: Übermittelte Codegruppe sei 20120

Vertauschung z1 und z2 : 02120 = Codegruppe
" z2 und z3 : 21020 = keine Codegr.
" z3 und z4 : 20021 = keine Codegr.
" z4 und z5 : 20202 = Codegruppe

Paßt eine der Codegruppen in den Textzusammenhang, so ist sie
als die richtige anzusehen. Ist das nicht der Fall, so ist zu prüfen,
ob die verstümmelte Codegruppe zwei falsche Elemente enthält.
Es werden jeweils zwei Elemente (10 Möglichkeiten) als falsch an-
gesehen, und aus der Entstümmelungstafel wird die berichtigte Code-
truppe herausgelesen.


41 VVS 1084/64

Beispiel 34: Übermittelte Codegruppe sei 21230

..230 = 32230
.1.30 = 11030
.12.0 = 21200
.123. = ...
2..30 = ...
2.2.0 = 21200
2.23. = 20233
21..0 = 21200
21.3. = 21331
212.. = 21200

Paßt keine der Codegruppen in den Textzusammenhang, so muß eine
Rückfrage erfolgen.

Übung 8: a) Lesen Sie aus der Entstümmelungstafel alle
bildbaren Codegruppen heraus und schreiben
Sie diese numerisch geordnet auf.

b) Berichtigen Sie folgende Codegruppen, bei
denen ein Element fehlt bzw. falsch ist:

23031 1123.
32310 1310.
13002 2210.
32303 0221.
00110 0021.

Beachten Sie dabei, daß bei Ausfall eines Ele-
mentes alle fünf Möglichkeiten überprüft
werden müssen.

c) Berichtigen Sie folgende Codegruppen, bei
denen zwei Elemente fehlen bzw. falsch sind.
Prägen Sie sich dabei außer der Handhabung
der Entstümmelungstafel das Aufstellen der
jeweils 10 zu berichtigenden Codegruppen ein.


42 VVS 1084/64

(vergl. Beispiel 34)

312 00123
321 11023
002 21222

d) Berichtigen Sie folgende Codegruppen, bei
denen zwei benachbarte Elemente vertauscht
wurden: (vgl. Beispiel 33)

10202 23131
31123 33112
01013 11300

Zu der im Beispiel 29 angeführten tridifferenten Enstümmelungs-
tafel soll noch eine Erklärung über den betreffenden Codegruppen-
vorrat gegeben werden.
Trotzdem bisher gesagt wurde, daß ein tridifferenter Codegruppen-
vorrat im allgemeinen aus einer ungeraden Anzahl von verschiede-
nen Elementen gebildet wird, wurde der im Beispiel 29 mit Hilfe
der Entstümmelungstafel bildbare Codegruppenvorrat unter Vorgabe
von 4 Elementen erarbeitet. Dabei entspricht die Entstümmelungs-
tafel Codegruppengleichungen mit mod 5, d. h., daß eigentlich
der Codegruppenvorrat mit 5 Elementen aufgestellt wurde.
Anstelle des 5. Elementes erscheint in den Feldern der Entstüm-
melungstafel, in denen dieses 5. Element stehen wird, ein Plus-
zeichen, das nicht zur Bildung von Codegruppen benutzt wird.
Die Anzahl der Codeelemente ist gleich 4.
Bei der Ausarbeitung eines tridifferenten Codegruppenvorrates nach
den bisher bekannten Gesetzen müßte zur Bildung der Codegruppen
zur nächst niederen ungeraden Anzahl von Codeelementen zurück-
gegangen werden. Der Codegruppenvorrat würde also höchstens
35-2 Codegruppen enthalten. Im Beispiel 29 beträgt dagegen
der Codegruppenvorrat 43 Codegruppen. Somit gestattet die oben-
erwähnte Möglichkeit einen größeren Codegruppenvorrat.
In der Praxis werden solche geringen Codegruppenvorräte nicht
aufgestellt. Bedeutung gewinnt die Möglichkeit der Hinzunahme
eines Elementes, aus dem aber keine Codegruppen gebildet werden,


43 VVS 1084/64

wenn der Codegruppenvorrat unter Verwendung aller 10 Ziffern
aufgestellt werden soll. Es wird dann mit mod 11 gerechnet, wo-
bei es keine Codegruppe gibt, welche das 11. Element enthält.
Bei Ausnutzung dieser Möglichkeit ergeben sich 2 Vorteile:

1. Erhöhung der Sicherheit
Da ein tridifferenter Codegruppenvorrat im allgemeinen aus
einer ungeraden Elementeanzahl gebildet wird, könnte bei
Benutzung von Ziffern die Codegruppen eigentlich nur aus 9
Ziffern gebildet werden. Würde z. B. die Ziffer 9 in allen
Codegruppen eines Codegruppenvorrates fehlen, so verringerte
sich die Sicherheit bei Überschlüsselung mit einem nicht
absolut sicheren Verfahren.

2. Vergrößerung des Codegruppenvorrates
Die Anzahl der Codegruppen des Codegruppenvorrates würde
sich erhöhen.
Ein Codegruppenvorrat, bestehend aus fünfstelligen Codegrup-
pen, welche unter Verwendung von 9 Ziffern gebildet werden,
enthält höchstens 95-2 = 729 Codegruppen.
Bei Verwendung der Elemente 0 - 10 nach mod 11 ergibt sich
die Möglichkeit, den Codegruppenvorrat auf zirka 830 Code-
gruppen zu erhöhen. Der Codegruppenvorrat nach mod 11 ist
also größer. Im allgemeinen ist eine exakte Ausrechnung der
Anzahl der Codegruppen eines solchen Codegruppenvorrates
nach Formel nicht möglich. Es besteht nur die Möglichkeit einer
annähernden Bestimmung der Anzahl der Codegruppen eines sol-
chen Codegruppenvorrates, wobei die Differenz bei den einzelnen
Beispielen im Verhältnis unterschiedlich sein kann.


44 VVS 1084/64

Zusammenfassend sei festgestellt:

1.) Gesicherte Codegruppenvorräte bieten die Möglichkeit der
Berichtigung verstümmelter Codegruppen dieser Codegruppen-
vorräte.

2.) Gesicherte Codegruppenvorräte enthalten bei gleicher Elemen-
teanzahl, aus denen die Codegruppe gebildet werden, immer
weniger Codegruppen als ungesicherte Codegruppenvorräte.
Um den Verlängerungsfaktor nicht ungünstig zu gestalten,
wird manchmal auf die Anwendung gesicherter Codegruppen-
vorräte verzichtet.

Die Zielstellung in diesem Studienmaterial ist erreicht, wenn Sie
in der Lage sind, verstümmelte Codegruppen mit Hilfe der Ent-
stümmelungstafeln und der angegebenen Codegruppengleichungen
zu berichtigen.


Studi materiality four classification lifted

For the cryptanalysis of the German text is authentic


VVS 596/64
Ex. no: 043
22 sheets

STUDIES MATERIAL
No. 7
(Cryptology. )


VVS 1084/64



S t U this I e n m a t e R I a l
No. 7
(Cryptology. )

Confirmed: Signed stirring up man
Colonel

Berlin, the 15. 5. 1964


2 VVS 1084/64

Introduction
Becoming the following main emphases in the studies material on hand
treat:

I. division of the code methods
II. key codes
Code group stocks secured for III

You stamp himself this one by an intensive private study and by solution
provided tasks the correction of mutilated code groups
Help of the Entstümmelungstafel.
At bidifferenten and bidifferent - exchange free code group stocks
the correction of mutilated code groups shall with the help the code
group equation being mastered.

I. division of the code methods after different points of view

The encoding methods became in the studies material no. 1 to ver
schiedelen points of view divided up. We since the code methods-
unusual features show and around prerequisites for it essential
Overlook about code methods to make, the division shall after
some important points of view be carried out in addition.

Being distinguished after her main use:

a) hidden codes
These serve for the secrecy under a simultaneous shortening
the plain text.
The hidden codes are divided up in:

aa) Überschlüsselten codes
The code text becomes about by means of a code method
schlüsselt.
Überschlüsselte codes with more simplified in front of everyone
constant assignment of the code groups to the phrases
are key codes mentioned?


3 VVS 1084/64

as of) Nichtüberschlüsselte codes
The code text is transmitted as such. Disguising panels
become generally codes as nichtüberschlüsselte?
used.

b) public codes
You serve mainly for the shortening of the plain text.
Public codes do not represent any encoding means to themselves
and not sub-leagues of the secrecy. There is, however, it
the possibility of using you as key codes when required.

Become application field and a. distinguished after this:

a) armed forces codes
You become news as hidden codes in the military one
run used.

b) diplomatic codes
You become in the message traffic between the governments
used and her diplomatic agency abroads
and generally also represent hidden codes.

c) trade codes
You are and taken advantage of in the message traffic of the trade
public codes usually represent.

this) traffic codes
You become in the message traffic of the navigation, aeronautics,
Used for railway and other traffic institutions.

e) weather codes
You serve for the conveyance of meteorological observations
and forecasts.

Being distinguished after the size of the phase stock:

a) short codes
You contain to some thousand phrases


4 VVS 1084/64

b) sentence books
You contain some thousand to some hundred thousand phrases.

Being after the language in which the phrases are written
distinguished:

a) monolingual codes
You are written only in a language. After the language becomes
she divided up into German-speaking, English-speaking further
Codes etc.

b) multilingual codes
You are, in which the been different written in several languages
this one is code like-language phrases with the same meaning
groups are assigned to. After the number of the different
They become, languages three divided up into bilingual further
-language codes etc.

Being distinguished after the composition of the code groups:

a) letter codes
The code groups consist of letters.

b) number codes
The code groups consist of numbers.

c) mixing codes
The code groups consist of letters and numbers.
(The code malachite is no mixing code but one book
and number code died. Either he becomes as letters
code or as a number code uses. )

this) signal codes
The code groups consist of other signs than letters
and numbers or contained apart from letters and numbers
other signs e.g. flags.


5 VVS 1084/64

Being distinguished after the length of the code groups:

a) equal-digit codes
The code groups are of same length.
The equal-digit codes are further divided up in:

aa) two-digit codes
The code groups have the length 2.

as of) three-digit codes
The code groups have the length 3.

ac) four-digit codes
The code groups have the length 4.
Single-digit and more as five-digit codes are due to
the code group stock or the prolongation factor Un-
common.

b) change-digit codes
The code groups are of different length.

According to the sentence technical order of the code groups and phrases
do you distinguish?

a) code books
The phrases stand sides in lines under on the single one
each other. The assigned code group stands besides that in ge
closed form.

b) code panels
The phrases stand into this one by the lines and the columns
formed countries of the panels. The code groups get most
by connection of the panel, lines and column names
formed. The phrases are put in one single panel,
the panel name is so dropped at the formation of the code groups.


6 VVS 1084/64

After the number of different orders of the phrases, into the
one, code exists be distinguished:

a) simple codes
There is the Phrasenverzeichnis only in an order.
This serves both coding and decoding.
Codegrup are at extensive simple codes (sentence books)
pen and phrases normally parallel, i.e. parallel
organized lexicographically or numerically, around code
the phrases-and decode the code groups quickly
find to be able to do. At simple codes of a smaller size (short code. )
the parallel assignment can be renounced.
Code panels, this one built up according to the principle of the simple codes
are, you describe as simple codes.

b) multiple codes
There is the Phrasenverzeichnis in more than an order.
Everybody is phrase the same code group in every order train
organize. Multiple codes are used at extensive
Codes (sentence books) with a not parallel assignment of the phrases
the, and code groups as well as at multilingual codes, at
himself always a different lexicographical order this one
Phrases yield into the individual language parts.
The parts of the code in which the phrases are ordered
be able to find these when coding quickly, become when
Coding part described.
The part of the code in which the code groups are ordered
it becomes to be able find these when decoding quickly as De
coding part described. The most frequent form of the multiple codes
the double codes are, in which an execution as a coding part,
the different one than decoding part serves.

After the number of phrases, this one, the individual code groups train-
organizes are, you distinguish:

a) one-level codes
Only a phrase is assigned to every code group.


7 VVS 1084/64

b) multistage codes
Train essentially is for a code group more than a phrase
organize. The most important multistage codes are the two-step ones
Codes, at which essentially a code group two phrases
you assign.

For the combination of the division of the codes after different
The following overview shall serve points of view:


Summary

Code methods are divided up after the following points of view:
Being distinguished after her main use:

a) hidden codes
aa) Überschlüsselte hidden codes
as of) Nichtüberschlüsselte hidden codes

b) public codes

Become application field and a. distinguished after hers:

a) armed forces codes

b) diplomatic codes

c) trade codes

this) traffic codes

e) weather codes

Being distinguished after the size of the phase stock:

a) short codes

b) sentence books


8 VVS 1084/64

Be after the language in which the phrases are written under
departed:

a) monolingual codes

b) multilingual codes

Being distinguished after the composition of the code groups:

a) letter codes

b) number codes

c) mixing codes

this) signal codes

Being distinguished after the length of the code groups:

a) equal-digit codes

b) change-digit codes

According to the sentence technical order of the code groups and
Phrases are distinguished:

a) code books

b) multiple codes

After the number of phrases, this one, the individual code groups
assigned are, you distinguish:

a) one-level codes

b) multistage codes


9 VVS 1084/64

Exercise 1: 1. Share the code methods known to you
after the explained points of view.

2. form you for code groups of a mixing code.

You form 3. for code groups of a signal code.


II. key codes

Key codes are codes constantly with simplified, in front of everyone
ter assignment of the code groups to the phrases. You become in
Connection with code methods taken advantage. The code serves in this
essential for the shortening of the texts under more simultaneous
(complete or partial) production of one homogeneous,
inserted text consisting only of letters or numbers.

Example 1: 0121 departure time
0122, departure time still is informed about
0123, expiry line pass in the section
0124, action is going on under the name
0125 alert for the complete one
Number of staff

Since the safety achieves mainly due to the code method
the phrases become, the code groups can into numeric rows
follows be assigned constantly.
As a remedy for the more efficient transformation of the plain texts into secret-
an additional method to it writes the key code can heads
drives or be a component of the main proceedings.

Example 2: HKT: Alert for the complete one staff-
was/departure time still is shared

ZT: 0125 0122


10 VVS 1084/64

The 76 clear elements of the plain text got ready got efficient
changed into 8 secret elements of the inserted text.
This inserted text consisting of numbers becomes code with one
überschlüsselt proceed. You must take into account, that primarily
of the point of view of the safety not from himself every code method
dedicate to the Überschlüsselung.
Code methods which are combined with key codes,
composite methods are.

Arising in the context of the use of such composite methods
following advantages:

a) in comparison with the only application of code methods
a shortening of the secret texts arises everyone
Advantages which arise from it.

such methods have a higher b in comparison with disguising panels)
Safety, the code methods used of this, however, as of-
is sloping.

by the applied key code such offers) c deduces
ten proceedings the possibility of the safeguarding against this one at this
most frequent appearing mutilations. Become to this
such code group stocks secured for mutilations used.

These advantages of a composite method stand as a disadvantage
Dechiffrierung doubled the opposite. For the Dechiffrierung and De-
One becomes needed Dechiffrierung for some time than at the only one
Application of a code method. The time for processing, however, is
generally shorter than at the only application of one
manual encoding method.

Choice of the phrases

This one hangs choice and order at all codes of the right
Phrases as of, in which measure of a text shortening and a quick one
Coding is possible.


11 VVS 1084/64

At the composition of the Phrasenverzeichnisses of one key-
the following points have to be primarily taken into account codes:

1 It has the phrases to be taken, this one in this concerning after
judging traffic being most frequently used. When good reason-
for the choice original sayings serve situation. The choice of
It is usually very difficult for phrases without saying material.

2 The phrases are uniform, scarce and as versatile as possible
formulating usably.

Example 3: Not: Observers sighted an opposing one
Column drives, which one in the direction of ..
but: Opposing column (with direction ) .....

3 The phrases have to be ordered so that she found fast
gets be able to do.

a continuous lexicographical generally becomes a)
Order is, the most useful in which word orders
her first word or under her essential word
being put in order.

Example 4: A "technical and political judgement" becomes some
subordinates "technical" or under "judgement".

an order is b in certain cases) to subject areas
-or the emphasis of certain phrases by grease or
Colour print advantageous.

The fixed order principle must strictly one within the code
being held to not prolong this the coding time through,
the phrases found after different points of view that who
this one have to.


12 VVS 1084/64

4 The number of phrases has to be chosen so that an optimal one
Solution for the demanded relationship of text cut and
Coding speed is reached.

5 In addition, the Phrasenanzahl has to be taken into account that this
Size of the code group stock is adapted.


Choice of the code group stocks

The end invoice already became of in the studies material no. 6
maximum code group stocks carried out. It became be
acts, that at the same length of the code groups the Codegrup
penvorräte is, as which out always greater from letter groups
Number groups passing, since for letter groups of 26 secret
elements and with number groups of only 10 secret elements to the Ver-
chance standing. At the same length of the code groups is the element
teanzahl decisive for the size of the code group stock.
The number of different elements is under Elementeanzahl
understand, this one for the formation of the code groups the complete one code
group stock be used, not approximately the length the code-
groups. To reach a favourable prolongation factor,
one will always code groups of the lowest length have a try, to ver
turning round.
The list of a numerically ordered shall the following example
Code group stock make easier:

Example 5: A code group stock shall from the elements
0, 1, 2 being formed. This one has the code groups
Stretch 4.

From invoice:
Each of the 3 numbers can be at the 1st place =
3 possibilities.
Be able to do after each of these numbers of the 1st place
= all 3 numbers stand for the 2nd authority again
3 × 3 possibilities.


13 VVS 1084/64

The same applies to the 3rd and 4th places.
The code group stock amounts therefore 3 × 3 × 3 × 3 =
81 code groups.

Code group stock

0000 1000 2000
0001 1001 2001
0002 1002 2002
0010 1010 2010
0011 1011 2011
0012 1012 2012
0020 1020 2020
0021 1021 2021
0022 1022 2022

0100 1100 2100
0101 1101 2101
0102 1102 2102
0110 1110 2110
0111 1111 2111
0112 1112 2112
0120 1120 2120
0121 1121 2121
0122 1122 2122

0201 1201 2201
0202 1202 2202
0210 1210 2210
0211 1211 2211
0212 1212 2212
0220 1220 2220
0221 1221 2221
0222 1222 2222


14 VVS 1084/64


Exercise 2: You form a code group stock the Ele from
a, b, meant c, this with code groups of the length 3.
The code group stock must lexicographically ge
organizes be.


Code group stocks secured for III
Every Chiffreur knows it some from its own experience, how heavy
conveyance or Bearbei already paints is, at encoding methods
removing tungsfehler at the Dechiffrierung. Still many
however, it is more difficult this one with one, faulty secret texts
Code method or a combined method herge-
puts became to change in a plain text. Particularly ge-
it is annual, if these faults are not recognized and it
comes onto this way to meaning distortions. Therefore becomes
Key codes and sentence books value on this put that this one
most frequent mutilations of the code groups recognized and be
being able to get right.
Code group stocks, mutilations recognized and be in which-
code can, one describes as protected get right
ruppenvorräte.
When most frequent mutilations step in the following order
on:

1st failure of an element
2nd appearance of a wrong element
3rd exchange two neighbouring elements.

Code group stocks, in which the failure of an element or
the appear a wrong element code within one
shall group, must at least be recognized and corrected?
being bidifferent.
Understands by a k-digit bidifferenten code group stock
one a code group stock, at which himself all code groups
under each other at least to two places distinguish e.g

1 0 1 1
1 0 2 0
1 1 2 2


15 VVS 1084/64


or with other words every code group is by the specification
1 obviously determine places 0 1 1 = 1011 of arbitrary k - , e.g.


1 . 2 0 = 1020
1 1 . 2 = 1122 etc.

The under 3. mentioned mutilations can at use
an exchange free code group stock recognized and corrects
becoming.

One understands one by an exchange free code group stock
Code group stock, at this by exchange two neighbouring-
no code group passes over ter elements into a different one of the same.

Example 6: A) the code group a b c this e
and a c b this e
they are not Vertau exchange freely, here through
Swing of the 2nd and 3rd element into each other
changing.

the code groups of a are //b//) //b// c a e against this
//c// and a b this //c//
exchange free, there she by exchange of 4.
pass over and 5th element not into each other.

A code group stock, in which everyone mentioned to three mutilation-
toward recognized and with the help of the Phrasenverzeichnisses generally
can be corrected, must bidifferent - be exchange free.

An exchange free code group stock understands under a bidifferenten
one a code group stock, this one both bidifferent and
is exchange free.

Example 7: The code groups of 0 0 0 0
0 0 1 1
0 1 1 0
bidifferent are all three code - exchange free, there
groups are and different to two places
by exchange in addition two neighbouring
Not passing over elements into each other.


16 VVS 1084/64

Be able to when do for the list of a protected code group stock
Relief code group panels is, from which worked out this one
code groups can malleable be read. This Codegrup-
pentafeln then become code more faultily an Entstümmelung, too
groups taken advantage. One then describes her as an Entstümmelungstafeln.
These code group panels generally lie Latin Quadra
te.

One understands a square one by a Latin square
Order of elements with the demand, that in every line
and every element exactly happens in every column once.

Example 8:


0 1 2
1 2 0
2 0 1
There is a code group panel for bidifferente code group stocks
from an initial column, one or several Latin Quadra-
ten and the end line or end column.

Example 9:

0 0 1 2
1 1 2 0
2 2 0 1
0 1 2 0
1 2 0 1
2 0 1 2


17 VVS 1084/64

An unsecured shall for code groups with the help of a code group panel
stock is built, the end line or end column gets that way
when a Latin square written.

Example 10:

0 0 1 2
1 1 2 0
2 2 0 1
0 1 2 0 1 2
1 2 0 1 2 0
2 0 1 2 0 1
The Entstümmelungstafel shall the following example bidif for one
Explaining speakers code group stock.

Example 11: The code group stock shall from bidifferenten
Code groups of the length 4 consist, this one
numbers 0, 1, 2 are formed the.

So the code group panel consists of 2 Laly
tannin niches squares, an initial column and
the end column.
Become the squares and columns with X1, X2,
X3, X4 described.


18 VVS 1084/64

Code group panel




X1 X2 X4

0 0 1 2
1 1 2 0
2 2 0 1
0 1 2 0
1 2 0 1
2 0 1 2
X3
It must be pointed out to it again.
in every line and column that the Latin
Only a squares X2 and X3 of everybody element-
happen may.

Code groups can, with this panel
the a number is missing or is wrong
Help of the text connection corrected
becoming.

Handling:
The individual elements become a shortening of the notation
the four-digit code group of the row after with z1, z2, z3 and
z4 described.


19 VVS 1084/64

Example 12: Code group of 0120
z1 = 0
z2 = 1
z3 = 2
z4 = 0

The code group can in two ways from the Entstümmelungstafel
being read:

a) forwards: Z1 from xi,
z2 from X2 in the same line as z1,
z3 from X3 in the same column as z2,
z4 from X4 in the same line as z3
e.g. 0120

b) backwards: Z4 from X4,
z3 from X3 in the same line as z4,
z2 from X2 in the same column as z3,
z1 from X1 in the same line as z2.

Is the position of a wrong or faulty number confessed so
a clear reconstruction is possible for the code group.

A combination of both Ablesevorschriften is then required,
z2 or z3 shall certainly e.g. be if.


20 VVS 1084/64

Example 13: Known to Z1, z3, z4,
z2 is determined.

reading z1 from X1,
z4 from X4,
z3 from X3 in the same line as z4
z2 from X2 in the intersection point this one by z1 be-
line and this one were correct by z3 be
openings were correct.

e.g. 2.11 = 2211

A group not contained in the code steps at the decoding
you must assume, so, she that a wrong number ent-
holds. One of the numbers z1, z2, z3 or z4 gets respectively wrong
looked and this one corrected code from the Entstümmelungstafel
group here selected.

Example 14: 2021 -021 - 0021 is transmitted group

2-21 - 2121
20-1 - 2001
202- - 2022

One of the code groups fits into the Textzusam
menhang, it is that way to consider her the right one.
If the case is not here, a question must be carried out.

A number is missing in a transmitted group, is that way correspondingly
Example 14 proceeding.


21 VVS 1084/64

Exercise 3: 1. ) You correct the followings mutilated
Group with Hilde this one in the example of 11 ange-
asked Enstümmelungstafel:
2002, 1210, 0110, 1022

2 ) You correct the following groups, at the
one, element has been cancelled, with the help this one
Entstümmelungstafel, this one in the example 11 at-
you give:
122. 211. 012. 100.

3 ) Read from the Entstümmelungstafel in it
Example 11 all possible code groups in
numeric order out and yell
Ben you this. Start with it
Code group of 0000.

4 ) You put Latin squares follow
the elements:

1) 4, 5, 6, 7,
2) 2, 3, 8,
3) a, b, c, this.


Correction of mutilated code groups after code group equation

The kryptogra is known from the encoding method "001", that at
generally addition did not confess rakes for you Phi's
operations being used. Confessed calculations the
would have to be handled circumstantially to difficulties this one?
running away and this one secure lead spelling of the code units
impairing heit of the method.
At the addition the tenners are therefore left out.
The subtraction is added up in the need 10, through this is at
getting one of the numbers 0 - 9.


22 VVS 1084/64

Example 15: A ) 6 + 5 = 10
10 : 10 = 1 rest 0

at the subtraction b would yield)
3 -4 =-1
To get a positive number,
is so the 10 adds the 3 up to
13 -4 = 9

The notation of this calculation is:

a ) 6 + 4 = (0 mod 10 )
3 -4 = 9 b mod 10.) ( )

(The sign "=" has to be read as "congruent".
The expressions in the example are not called Glei
Chung but congruence).

One calls the type of calculation specified in the example 15 invoice
modulo 10 or in abbreviated notation mod 10.
The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 are used.
Become all numbers on the number which are larger than 9
led back this one arises in the context of the division by 10 as a rest.
The numbers 0 - 9 are therefore called rest numbers mod 10.

Example 16: A ) 7 + 8 = 15
15 : 10 = 1 rest 5, therefore is
***7 + 8 ≡ 15(mod 10) ***

b ) 3 + 4 = 12
12 : 10 = 1 rest 2, therefore is
***3 + 4 ≡ 2(mod 10) ***

To find the rest numbers goes back to this negative number
leads becomes, a multiple must to this number 10 or so soft of
10 being added up to one of the positive integer numbers 0, 1, ...,
Get 9 will.


23 VVS 1084/64

Example 17: 5 -8 = A), 3/(+10 )
15 - 8 = 7 so
so 3 = 7 of (mod 10) - is
7 the rest number by which-3 is explained.

20 -13 = 7 b mod 10.) ( )
So 7 is the rest number

5 = c) - 12 + 6 - 4, 7/(+10 )
So 7 = 3 is 10
5 = 3 4 12 + 6 - - (mod 10 )
so 3 is the rest number on the-7th
you lead back.

Exercise 4: Form the rest numbers
***5 + 7 ≡ (mod 10) ***
***8 + 6 ≡ (mod 10) ***
***4 + 9 ≡ (mod 10) ***
6 -8 = (mod 10 )
2 -9 = (mod 10 )
15 -26 = (mod 10 )
3 = 4 + 11 mod 10. - ( )
***7 + 8 − 2 ≡ (mod 10) ***
***12 + 7 − 6 ≡ (mod 10) ***
4 = 13 7 + 8 - - (mod 10 )
18 = 24 21 + 9 - - (mod 10 )
15 = 21 14 + 12 - - (mod 10 )
23 = 42 18 + 6 - - (mod 10 )
12 = 16 9 + 18 - - (mod 10 )
5 = 29 7 + 11 - - (mod 10 )


24 VVS 1084/64

131
Only the invoice mod 10 was treated, the himself from this till now
yields that been different at the formation of the code group stocks 10
Finding elements use. Become in a code group stock?
used for the formation of the code group of 26 elements one calculates so
with mod 26. Be became a formation of the code groups of 9 elements
one uses, expects mod 9 so. The numbers 0, 1, 2, 3, 4, 5, 6,
7, 8 are then called the rest numbers mod 9.

Example 18: A) the rest numbers of the mod 7
are: 0, 1, 2, 3, 4, 5, 6.

b) the rest numbers of mod 11
are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1 0.

Example 19: (Compare you the example with example 17 )
6 + 4 = 10 = (4 mod 6 )
7 + 8 = 15 = (3 mod 6 )
24 = (5 mod 19 )
17 + 6 = 24 = (6 mod 9 )

Example 20: (You compare this example with example 17 )

a) (mod 6 )
4 -4 =, 1 /(+6 )
6 -1 = 5
1 = therefore - (5 mod 6 )
so 5 are, the rest number which goes back on-1
leads becomes.

b) (mod 19 )
3 -4 =, 1 /(+19 )
19 - 1 = 18
1 = therefore - (18 mod 19 )
so 18 are, the rest number-1 goes back which
leads becomes.


25 VVS 1084/64

Exercise 5: Form the rest numbers

15 + 7 = . . (mod 8 )
9 + 3 + 12 = . . (mod 9 )
11 + 8 + 15 = . . (mod 26 )
19 + 6 + 9 = . . (mod 7 )
9 -3-2 = . . (mod 9 )
6 -2-4 = . . (mod 5 )
1 = 8 9 + 6 - - . . (mod 6 )
6 = 7 9 + 4 - - . . (mod 8 )
9 = 2 6 + 5 - - . . (mod 13 )
2 = 5 8 + 7 - - . . (mod 5 )

In the exercise 3 the task was, with the help provided the code
group panel build a code group stock. However, gives
also the possibility of the production of Codegruppenvor-
councils by means of Codegruppengleichung. e.g

X1+X2+X3+X4 = (0 mod 9 )

This code group equation says, that the code groups four
and the 0 is-digit the result of the addition of the single Ele
this one thought 9 about code groups belonging to this stock to mod is.
From how many since also indicates the modulo, elements the code groups
the code group stock is formed, mod 9 says to the calculation
the set of the code group stock furthermore that 9 different ones
Finding elements use.

A consisting of four-digit code groups unsecured code-
group stock for whose education 9 uses different elements
will, 94 = 6 561 would contain code groups at most.
However, the specified code group equation says that it himself
bargains for bidifferenten code group stock. At this
the number of code groups is reduced.
Around the maximum number of code groups of a k - -digit bi-
different code group stock must to calculate, of the Defi
nit ion being gone out. It is said into this that every code group
specification of arbitrary k 1 places is obviously determining.


26 VVS 1084/64

Example 21: For the formation of the four-digit code groups of this one
9 different shall code group stock Ele
thought be used. (The complete example
refers to a code group stock, be
standing from such code groups).

a) unsecured code group stock
Each of the 9 elements can in the 1st place
stands 9 possibilities =.
After every element of the 2nd place can
the 2 place again of each of the 9 elements
stands 9 × 9 possibilities =.
The same applies to the 3rd and 4th places.
So the code group stock amounts
9 × 9 × 9 × 9 = 6 561 code groups.

b) Bidifferenter code group stock
In a bidifferenten code group stock
every k-digit code group is in front of through this one
gift obviously determined by k 1 places,
i.e. the four-digit code groups one is
deutig determines if known to three authorities
are. There for the formation of the code groups of this one
Code group stock 9 different elements
can be used, this one gives up
the maximum number of code groups code-
group stock as follows:
Each of the 9 elements can in the 1st place
stands 9 possibilities =. After every element
can for the 2nd authority in the 2nd place again
= possibly for 9 × 9 each of the 9 elements stand
none. It is just in the 3rd place
9 × 9 × 9 possibilities =. In the 4th place
however, only 1 element can
which one queues, by the elements this one at
you determine for the 3 authorities obviously.


27 VVS 1084/64


9 × 9 × 9 × 1 = 729 code groups =.

With the help of the code group equation of X1+X2+X3+ X 4 = 0( mod 9 )
a code group stock shall be built.

Example 22: Code groups, which of this code group equation
corresponding:

0000 0045 1080 4284
0018 0054 1053 5733
0027 0063 2061 7452
0036 0072 3141 8073

The code group of 2061 corresponds code to it
group equation, since 2 + 0 + 6 + 1 = 9 is.
***9 : 9 = 1 Rest 0 ***

In the example 11 a code group panel is, specified which one the bi
different code group equation

X1+X2+X3+X4 = (0 mod 3 )

corresponds. The Latin are Qaudra in this code group panel
containing te X2 and X3 as a diagonal panel.
One understands a panel by a diagonal panel, in which this one
either elements are like the main diagonals in the parallels to
(from the left above to the right below) or in the parallel places to this one besides-
diagonal stand (from on the right above to the left below).
One therefore distinguishes head diagonal panels and side diagonal
feasting.

X2 of the code group panel is a side diagonal panel in the example 11
and X3 a head diagonal panel.


28 VVS 1084/64

Exercise 6: A) turns you the code group equation
X1+X2+X3+X4 = 0 of (mod 9) to and he
you shine the missing element four
-digit code groups.

013. .881 6.32 30.1
014. .172 4.84 82.4
015. .354 6.83 43.7
016. .772 2.13 61.5
017. .242 5.62 77.0
018. .104 4.33 18.4

b corrects you the Codegruppenglei after)
Chung X1+X2+X3+X4 = (0 mod 9 )
code group mutilated the followings by you
assume after each other that the 1., 2., 3.,
4., element is wrong.

1 ) 2363 2. ) 4782 3. ) 5102 4. ) 1861 -363

2-63
23-3
236-

5 ) 3724 6. ) 5613 7. ) 4481 8. ) 0760
9 ) 2432 10. ) 6451 11. ) 1524 12. ) 2137

c checks you the code groups) with
equation X1+X2+X3+X4 = 0 of (mod 3),
whether with the help of the code group panel
(Example 11) malleable code groups bi-
are different.

this completes you Entstüm) taking second place
melungstafel under application the code-
group equation X1+X2+X3+X4 = (0 mod 9 )


29 VVS 1084/64


X2
X1 0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
1 X4
1
1
1
1
1
1
1
1
X3
the maximum calculate you e) number the code
bidifferenter following groups code groups-
stocks:

the code groups are four-digit ea) and
do you form from 7 elements?

the code groups are five-digit eb) and
do you form from 25 elements?

the code groups are three-digit EC number) and
do you form from 22 elements?


30 VVS 1084/64

(Note: Using you for the calculation
the bidifferenten code group stocks the Ta-
the unsecured code group stocks bark
the studies material's no. 6 considering
reading the ak 1st time you to this again this at
acts 21 out in this studies material).

f completes you the table) the bidif
ferententen code group stocks in this studies-
matial no. 6.

Example 23: Code group equation X1+X2+X3+X4 = (0 mod 9 )
It becomes X1 2. =
Set X 2 = 1
The code group equation then is:

2 -1, +X3 = (0 mod 9 )
Summarized: 1 +X3 = (0 mod 9 )
From this gets certain: X3 = 8
The code group is: 218

The code group equation specified in the example 23 soaks of
the code group equation in the example 22.
So we already have two kinds of code group equation
secured code group stocks got to know.

1st code group equation for bidifferente
Code group stocks
X1+X2+ X 3 + .... Xk = (b mod m. )

2nd code group equation for bidifferent-
exchange free code group stocks
X1 - X2+X3 - ... ± Xk = (b mod m. )

in which m must be odd.


31 VVS 1084/64

One understands one by an exchange free code group stock
such code group stock, at this by exchange two
neighbouring elements no code group into a different one of the same
Code group stock passes over.
Exchange opens become - a formation of a bidifferent Codegruppenvor
gets that way instalment an odd Elementeanzahl used the, code
group equation built so ages, that changing omens (
nierend is available).

Example 24: It is sedate:

X1+X2+X3+X4+X5 = (0 mod 5 )

X4+X5 = 0 X1 - X2+X3 - mod 5. ( )

A code group stock with the code groups

12340 and 12304

is not exchange freely, here the code groups by exchange of this one
4th and 5th element in each other passes over. You therefore suffice
neither the code group equation of a bidifferent swaps -
free code group stock. However, these two code groups are
bidifferent, since she the bidifferenten code group equation ent-
speak and are different to two places.

Exchange opens kick - code groups at application of a bidifferent
stock at the decoding Grup a not contained one in the code-
pe must be assumed, so at first, she that a wrong one
Element contains.

None of the corrected code groups fits in the text connection,
it is that way to check whether the mutilated group mixed up two
Element contains.

Example 25: The code group stock corresponds the code groups
equation
X4 = 0 of (mod 9) X1 - X2+X3.


32 VVS 1084/64

The code group of 0432 is not contained in the code and ent must
stammers become:

1 The failure of an element or the appearance one fal-
s element can be corrected only obviously, if
is known to the Fehlerstelle. Otherwise becomes the row after
assumed, that the 1., 2., 3. or 4th element is wrong.

2 = 0 X1 4 + 3 (mod 9) 1st element = 3 3432
2 = 0 - - X 2 + 3 0 (mod 9) 2nd element = 1 0132
0 -4+X 3 - 2 = 0 of (mod 9) 3rd element = 6 0462
4 + 3 - X4 = 0 - 0 (mod 9) 4th element = 8 0438

Ordinary will be obvious from the text connection,
which of the phrases being part of the formed code groups
the right one is. The text connection does not let any group when
it must be checked the right ones appear, ver whether this one-
group of two elements mixed up stammered contains.

Twos of neighbouring elements can corrected 2nd exchanges
the 1st and 2nd element becomes, by after each other, the 2nd and
3., element the 3rd and 4th is exchanged.

0432 shall be examined for exchange

These code groups do not correspond 4 0 + 3 - - ) 2
0 - 3 + 4 - 2) the code group equation. This one be-
Elements did not become 0 - - ) neighbouring 3
mixed up.

None of the corrected groups fits in the text connection,
so a question must be carried out.


33 VVS 1084/64

Exercise 7: Entstümmeln you following code groups in the following form:

Code group equation:
X4 = 0 X1 - X2+X3 - mod 9. ( )

You use the missing elements .
6 5 4
7 . 5 4
7 6 . 4
7 6 5.

7 6 5 4 ( mutilated group. )
6 7 5 4 right
7 5 6 4 wrong
7 6 4 5 right

Mutilated groups
a ) 6 3 1 0
b ) 4 8 1 8
c ) 3 4 3 8
this ) 4 3 0 7
e ) 8 5 7 6
f ) 6 2 5 3
g ) 7 0 4 8
H ) 5 3 1 9
I ) 4 0 6 5
J ) 4 3 8 7

It was, already mentioned that protected code group stocks be
legitimacies were correct you subject to. There are code groups
stocks, which one built with the help of a code group equation
and other code group stocks became this one with the help of one code
group panel was built, in which no code group equation
in application came.

At the acquirement of a bidifferent - exchange opens Codegruppenvor-
one generally goes instalment with code group equation from one
odd Elementeanzahl, since at straight Elementeanzahl ver-
difficulties departed appear.


34 VVS 1084/64

Odd Elementeanzahl is the maximum number at the code
groups of a bidifferent - exchange free code group stock the same
this bidifferenten code group stock. Generally
exchange free code group stocks are built so that she
simultaneous the conditions bidifferenter code group stocks
corresponding.

Example 26: 9 different ones turn into the code groups
Elements formed and have the length 5.
Bidifferenter code group stock = 95-1 = 6561
Exchange suitor code group stock = 95-1 = 6561

Tridifferente code group stocks
A particularly big safety is in different areas
against mutilations required. Being able to do in such cases
tridifferente code group stocks being used.

-digit code group stock is - called tridifferent a k if two each
Code groups of the code group stock himself to at least three this one
everybody k places distinguish or with other words, if code
group is determined obviously in the code group stock as soon as one
the elements knows for the k authorities to k - 2 places. (Comparisons
In the example 21 you explained definition bidifferenter the code
group stocks with the definition tridifferenter Codegruppenvor-
councils).

This one in the example 29: From the Entstümmelungstafel herauszulesende
Code group stock shall serve the explanation of the definition.

The following code groups are e.g. contained in this stock:

00000 02120
00131 02201
00212 02332
01022 ..... ......


Two arbitrary code groups are different from each other
at least three of the five places. Places confessed if to two


35 VVS 1084/64

the elements are cancelled or are wrong, the Ent can with the help
stümmelungstafel the clear reconstruction of the code group
being carried out. (Become at nearer explanations the Be
action given the Entstümmelungsvorschriften).

How become Tridifferente code group stocks mostly, also?
exchange free code group stocks, from an odd number of
different elements formed.
The number of code groups of one tridifferenten Codegruppenvor-
ak 2 are at the most instalment at once if a the number of elements
and k is the code group length.

Example 27: The code groups shall 0 - 8 ge from the numbers
forms get and be five-digit.
Tridifferenter code group stock = 95-2 = 729
Since this crowd does not suffice generally,
letters often become verwen as code elements
det.

It was already pointed out to that bidifferent - exchange opens
as a rule and tridifferente code group stocks also from one
number of elements is formed odd.
Example shall be shown in the followings that at use one
straight Elementeanzahl the code group equation but that one of one
bidifferent corresponds exchange free code group stock, this one code -
however, group stock itself is not exchange free.


36 VVS 1084/64

Example 28: The code groups shall from the elements
you form and 0, 1, 2, 3 three-digit
being.
Code group equation


X2
X 1 0 0 1 2 3
1 1 2 3 0
2 2 3 0 1
3 3 0 1 2
0 1 2 3
X3
Code group stock

000 103 200( a) (b) 301
011 110 213( this ) 312( c. )
022 of (a ) 121 220( b) 323
033 132( c ) 231( this) 330

All code groups of the code group stock correspond the code
group equation, the unterschrichenen code groups, however, are
not exchange free. The code group stock is not exchange free.
A tridifferenter code group stock is always exchange free. Therefore
can with a tridifferenten code group stock mutilated
lungs, this one by exchange two neighbouring elements ent-
one stand, you correct hereinafterly qualities shall
tridifferenten code group stock, consisting of five-digit
Code groups, be specified. (everybody has these qualities
five-digit tridifferente code group stock).

four elements transmitted correctly allow a code group a)
the clear reconstruction of a wrong element, without
that the position must be known in the code group.
An element is, missing the position in the code group not be
knew is, a clear reconstruction of the code group is that way


37 VVS 1084/64

none of the corrected code groups possibly does not fit in it
A question must text connection be carried out, so.

three elements transmitted correctly allow a code group b)
the clear reconstruction of two flat or missing
Elements, if the position is known in the code group.

c) the exchange two of neighbouring elements in one code-
group yields a code group the gelei on no account again
Chen code group stock.

Mutilated code groups of a tridifferenten code group stock
this one can with the help applying to this code group stock
Code group equations or with the Entstümmelungstafel area-
becoming tigt. Tridifferenter Codegruppenglei since the application-
Bookings are, as that one of the exchange opens more difficult Codegruppenglei
has young, generally becomes the Entstümmelung of tridifferenten
groups mutilated with the help the Entstümmelungstafel vorge
Norms.

Example 29: (To the better overview got a smaller one
Code group stock chosen).

Become the five-digit code groups from this one
Elements 0, 1, 2, 3 formed.


38 VVS 1084/64

Enstümmelungstafel


I
1 00 13 21 +
2 01 + 22 30
3 02 10 23 31
4 03 11 + 32
5 + 12 20 33 1 2 3 4 5
0 1 2 3 00 22 + 11 33 III
1 2 3 + 31 03 20 + +
2 3 + 0 12 + 01 23 +
3 + 0 1 + 10 32 + 21
+ 0 1 2 + + 13 30 02
II
The column standing on the left of the square I and
the line standing above the square III
only serve for the gathering of the code groups
from the squares.

These become a shortening of the notation
single element of the code group of the row
marks after by z1, z2, z3, z4 and z5.

Example 30: Code group of 12133
z1 = 1
Z2 = 2
z3 = 1
z4 = 3
z5 = 3


39 VVS 1084/64

Handling:

The code group can in two ways from the Enstümmelungstafel
being read:

a) forwards:

z1z2 from I
z3 from II in the same column as z1z2,
z4z5 from III in the same line z3,
into the column, its column number like
the line number of z1z2 is,
e.g. 02201.

b) backwards:

z4z5 from III
z3 from II in the same line as z4z5,
z1z2 from I in the same splits like z3,
into the line, its line number like
the column number of z4z5 is.
e.g. 32230.

A combination of both Ablesevorschriften is then required,
z3 and z4 shall certainly e.g. be if.

Example 31: Z1 z2 from I,
z5 from III, in the column, the column number
it is same for the line number of z1 z2,
z4 from III in the same field like z5,
z3 from II in the intersection point this one by z1 z2
column and this one determined by z4 z5 be
line was correct.


40 VVS 1084/64

A contained in the code does not get Codegrup at the decoding
pe must be assumed, so at first, she that a wrong one
Element contains. It becomes respectively the row after assumed, that
z1, it is wrong for z2, z3, z4 or z5.

Example 32: Code group transmitted 31013

310 ... 31001. =
31.13 = 31213 .. 013 = 10013


One of the code groups is different of the transmitted
Code group only in a place (in the example: 31213), she is that way when
looking at the right code group. This code group is not in it
It contain code, is that way to examine, mutilated code whether into the
two neighbouring elements are mixed up group.

Example 33: 20120. is transmitted code group

Exchange z1 and z 2 : 02120 = code group
"z2 and z 3 : 21020 = no Codegr.
"z3 and z 4 : 20021 = no Codegr.
"z4 and z 5 : 20202 = code group

One of the code groups fits in the text connection, she is that way
but to look at the right one. If this is not the case, it is that way to examine,
whether the mutilated code group contains two wrong elements.
It becomes at two elements each (10 possibilities) as wrong
seen and the Entstümmelungstafel turns this one, code corrected
troop here selected.


41 VVS 1084/64

Example 34: Example 34:





2 .. 30 = ....
2.2.0 = 21200
2.23. = 20233
21 .. 0 = 21200
21.3. = 21331
212 ... 21200. =

If none of the code groups fits in the text connection, then one must
Question being carried out.

Exercise 8: A) reading you from the Entstümmelungstafel everyone
malleable code groups out and write
You this organized numerically.

b corrects you the following code groups)
an element is missing or is wrong these:

23031 1123.
32310 1310.
13002 2210.
32303 0221.
00110 0021.

You take one into account Ele, that at failure
Mendes all five possibilities checked
wanting to have to.

c corrects you the following code groups)
two elements are missing or are wrong these.
Stamp yourself apart from the handling
the Entstümmelungstafel the build this one
10 each to correcting code groups.


42 VVS 1084/64

(cf. example 34 )

312 00123
321 11023
002 21222

this corrects you the following code groups)
these mix up two neighbouring elements
became? (cf. example 33 )

10202 23131
31123 33112
01013 11300

Led tridifferenten Enstümmelungs to this one in the example 29
feasts an explanation still shall for code groups about the one in question
stock being given.
One was, said nevertheless till now that tridifferenter code groups
stock generally from an odd number would be different of
nen elements are, formed this one was in the example 29 with the help
the Entstümmelungstafel malleable code group stock under specification
worked out by 4 elements. Corresponds to the Entstümmelungs
code group equations with mod 5 feast, i.e, real that
code group stock was built the with 5 elements.
Instead of the 5th element appears in the fields to the Entstüm
melungstafel, element will one plus be in those of 5.
sign which is not used for the formation of code groups.
The number of code elements is 4 at once.
At the draft of a tridifferenten code group stock after
the till now known laws should for the formation of the code groups
to the the closest low odd number of code elements back-
being gone. So became the code group stock at the most
Containing 35-2 code groups. In the example 29, on the other hand, is
the code group stock 43 code groups. This one therefore allows above
possibility mentioned a larger code group stock.
In the practice not become such small code group stocks
built. Meaning wins the possibility of the addition
an element from which no code groups are, however, formed,


43 VVS 1084/64

if the code group stock under use of all 10 numbers
you shall build. It is, where then calculated with mod 11
there is no code group which contains the 11th element at.
2 advantages arise at usage of this possibility:

1st rise of the safety
Since a tridifferenter code group stock generally
Elementeanzahl is formed an odd, could
Use of numbers the code groups real only from 9
Numbers being formed. Dignity e.g. the number 9 in everyone
Reduced be missing code groups of a code group stock, so
himself the safety at Überschlüsselung not with one
absolutely sure method.

2nd extension of the code group stock
Became the number of code groups of the code group stock
increasing.
A code group stock, existing from five-digit Codegrup-
pen which are formed by using 9 numbers,
95-2 = 729 contains at the most code groups.
At use of the elements 0 - 10 to mod 11 gives up
the possibility, the code group stock on around 830 code-
increasing groups. The code group stock to mod 11 is
therefore greater. An exact end invoice is generally this one
Number of code groups of such a code group stock
not according to formula possible. One passes only the possibility
approximate regulation of the number of code groups of one sol-
Chen code group stock, in which the difference at the single ones
Be different for examples proportionally can.


44 VVS 1084/64

Is summarizing stated:

1 ) Protected code group stocks offer this one the possibility
Correction of mutilated code groups of these code groups-
stocks.

2 ) Protected code group stocks contain at the same element
the code group is, teanzahl, always formed from which
less code groups than unsecured code group stocks.
To not design the prolongation factor unfavourable,
sometimes gets more protected code groups on the application
stocks do without.

The aim position in this studies material is reached if you
the Ent is able, mutilated code groups with the help
code group equations given stümmelungstafeln and this one
correcting.