\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{DucklingLover} \pdfinfo{ /Title (kryptologie.pdf) /Creator (Cheatography) /Author (DucklingLover) /Subject (Kryptologie Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{00D1BC} \definecolor{LightBackground}{HTML}{EFFCFA} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Kryptologie Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{DucklingLover} via \textcolor{DarkBackground}{\uline{cheatography.com/110515/cs/22582/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}DucklingLover \\ \uline{cheatography.com/ducklinglover} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 28th April, 2020.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{3} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Einführung}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Kryptologie ist eine Wissenschaft, die sich mit der Verschlüsselung und Entschlüsselung von Informationen besch{\"a}ftigt. L{\"a}sst sich unterteilen in: \newline % Row Count 3 (+ 3) •Kryptografie: Verschlüsselung von Informationen. \newline % Row Count 5 (+ 2) •Kryptoanalyse: Informationsgewinnung aus verschlüsselten Informationen. \newline % Row Count 7 (+ 2) Begriffe: \newline % Row Count 8 (+ 1) •Verschlüsselung (Chiffrierung): Ein lesbarer Text wird in eine nicht leserliche Zeichenfolge umgewandelt. \newline % Row Count 11 (+ 3) •Entschlüsselung (Dechiffrieren): Deutung unbekannter Zeichen, Symbole bzw. die Umwandlung in bekannte Zeichen. \newline % Row Count 14 (+ 3) •Entzifferung (Brechen, Knacken): Eine kryptanalytische Methode bei der aus einem Geheimtext ein Klartext gewonnen wird.% Row Count 17 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Atbash}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588082645_Anmerkung 2020-04-28 160351.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Eine Verschiebe-Chiffre mit dem Schlüssel 25 und entspricht somit einer Umkehrung des Alphabets.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Gartenzaun-Verfahren}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Gartenzaun-Verfahren: Wenn man den Text entschlüsseln will, muss man nur die Buchstaben in zwei Zeilen schreiben und jeden zweiten Buchstaben hochziehen. Man kann auch mehr als zwei Zeilen verwenden.% Row Count 4 (+ 4) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Freimaurerchiffre}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588082906_Anmerkung 2020-04-28 160635.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Das Alphabet besteht aus Symbole. Hier sieht man des US-amerikanische System} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 1: Python Morsecode}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588083529_ee.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 4: C{\"a}sar-Chiffre}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{„Znuyk cnu igt osgmotk gteznotm, igt ixkgzk znk osvuyyohrk." \newline % Row Count 2 (+ 2) 6 mal verschieben \newline % Row Count 3 (+ 1) Those Who can imagine anYthing, can create the impossible.% Row Count 5 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 7: Monographische Substitution}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{MEINE OMA \newline % Row Count 1 (+ 1) HUYIU MHP% Row Count 2 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 10: crypto interactive website}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{\seqsplit{YKKQKQLBREQKQRSODZGVCQOKACAYBOFKMHORAEDZ} mit CRYPTO als Schlüssel} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 10: crypto interactive website}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588084198_4.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{\seqsplit{YKKQKQLBREQKQRSODZGVCQOKACAYBOFKMHORAEDZ} mit CRYPTO als Schlüssel} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Morsecode}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588082257_morsecod.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Morsezeichen: Zeichensatz zur Übermittlung von Buchstaben und Ziffern. \newline Symbole: \newline • Kurzes Signal \newline • Langes Signal \newline • Pause} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{C{\"a}sar-Chiffre und ROT13}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Jeder Buchstabe der Nachricht wird um drei Stellen im Alphabet nach links versetzt. Jeder Buchstabe im normalen Alphabet wird dann durch den im neuen ersetzt. \newline % Row Count 4 (+ 4) Verschlüsselung mit dem Schlüssel 13.% Row Count 5 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Playfair–Verfahren}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588083172_dd.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Mithilfe eines bestimmten Alphabets wird der Text entschlüsselt. \newline Key plus alle restlichen Buchstaben aus dem Alphabet.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 2: Skytale}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{A C H T U N G D I E E I C H H O \newline % Row Count 1 (+ 1) E R N C H E N K O M M E N \newline % Row Count 2 (+ 1) \seqsplit{ACHTUNGDIEEICHHOERNCHENKOMMEN}% Row Count 3 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 5: ROT13 entschlüsseln}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588083835_1.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 8: Freimaurerchiffre}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{NATEONAM \newline % Row Count 1 (+ 1) SECURITZ \newline % Row Count 2 (+ 1) AGENCZ% Row Count 3 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 11: Playfair-Verfahren}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{\seqsplit{Theappleisinthecornerandthepearistheretoo} – Key muss durch 3 teilbar sein% Row Count 2 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Skytale}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588082312_skytale.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Skytale ist ein sehr altes \seqsplit{Verschlüsselungsverfahren}. Man ben{\"o}tigte einen Holz-Stab mit bestimmtem Durchmesser. \newline Der Schlüssel ist der Durchmesser.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{H{\"a}ufigkeitsanalyse}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Bei dieser Methoden werden statistische Eigenschaften des verschlüsselten Textes ausgenutzt, um Rückschlüsse auf die unverschlüsselte Nachricht zu ziehen. \newline % Row Count 4 (+ 4) Je l{\"a}nger der verschlüsselte Text, desto sicherer ist die H{\"a}ufigkeitsanalyse.% Row Count 6 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Monographische Substitution}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Ein \seqsplit{Verschlüsselungsverfahren}, bei dem nur ein einziges Alphabet zur Verschlüsselung, also zur Umwandlung des Klartextes in den Geheimtext, verwendet wird.% Row Count 4 (+ 4) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Kasiski-Test}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Wenn bestimmte W{\"o}rter oder Wortteile {\"o}fter auftreten kommt dieser Test ins Spiel (meistens bei der \seqsplit{Vigenère-Verschlüsselung)}. \newline % Row Count 3 (+ 3) Es wird ein verschlüsselter Text nach gleichen Zeichenfolgen untersucht und der \newline % Row Count 5 (+ 2) Abstand zwischen diesen Buchstaben ermittelt. \newline % Row Count 6 (+ 1) Der Abstand dieser Zeichenketten ist dann ein Vielfaches der Schlüsselwortl{\"a}nge.% Row Count 8 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 3: Gartenzaun-Verfahren}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{R N R L E G \newline % Row Count 1 (+ 1) E E W E M R I B N E E \newline % Row Count 2 (+ 1) G U E E R N% Row Count 4 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 6: ROT13 verschlüsseln}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588083864_2.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 9: H{\"a}ufigkeitsanalyse}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ducklinglover_1588083976_3.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{YXDY PQ YJC XZPVPYW YA ICQDEPZC AYJCEQ XQ YJCW QCC \newline YJCUQCVRCQ. XZEXJXU VPSDAVS \newline \newline tact is the ability to describe others as they see \newline themselves. abraham lincoln} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{Aufgabe 12: Enigma Geschichte}} \tn \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{Wie hei{\ss}en die drei Wissenschaftler, die die Enigma entschlüsselt haben? \newline % Row Count 2 (+ 2) • Marian Rejewski: Hat nach dem Krieg weiter geforscht. \newline % Row Count 4 (+ 2) • Jerzy Różycki: Ist noch vor Ende des Krieges verstorben \newline % Row Count 6 (+ 2) • Henryk Zygalski: Nach dem Krieg als Mathelehrer t{\"a}tig. \newline % Row Count 8 (+ 2) Alan Turing war w{\"a}hrend des zweiten Weltkrieges an der Entzifferung von Funksprüchen beteiligt, die mit der Enigma verschlüsselt wurden. \newline % Row Count 11 (+ 3) Am Weihnachtsabend, dem 24. Dezember 2013 sprach K{\"o}nigin Elisabeth II eine k{\"o}nigliche Begnadigung aus.% Row Count 14 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}