diff --git a/bib.bib b/bib.bib index 6bb7627..5f9cb06 100644 --- a/bib.bib +++ b/bib.bib @@ -13,15 +13,29 @@ Note = {\url{https://en.wikipedia.org/wiki/RSA_(cryptosystem)}}, Title = {{RSA} (Cryptosystem) --- {W}ikipedia{,} {D}ie freie {E}nzyklop{\"a}die}, Year = {2016}} - +} @misc{ref2, Author = {Wikipedia}, Note = {\url{https://de.wikipedia.org/wiki/RSA-Kryptosystem}}, Title = {{RSA}-{K}ryptosystem --- {W}ikipedia{,} {D}ie freie {E}nzyklop{\"a}die}, Year = {2016}} - +} @misc{ref3, - Author = {L. Van Houtven}, - Note = {\url{https://www.crypto101.io}}, - Title = {Crypto 101}, - Year = {2016}} + author = "L. Van Houtven", + title = "Crypto 101", + note = "\url{https://www.crypto101.io}", + year = "2016", +} +@misc{ref4, + author = "Whitfield Diffie Martin Hellman", + title = {New Directions in Cryptographie}, + note = "\url{https://www-ee.stanford.edu/\%7Ehellman/publications/24.pdf}", + year = "1976", +} +@misc{ref5, + author = "R.L. Rivest und A. Shamir und L. Adleman", + title = "A Method for Obtaining Digital Signatures and Public-Key + Cryptosystems", + note = "\url{https://people.csail.mit.edu/rivest/Rsapaper.pdf}", + year = "1978", +} \ No newline at end of file diff --git a/main.pdf b/main.pdf index 19f7327..cde7c4e 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/main.tex b/main.tex index 58074e8..3fce1e7 100644 --- a/main.tex +++ b/main.tex @@ -1,7 +1,7 @@ \documentclass{math_rsa} \title{Einführung zu RSA} \date{\today} -\author{Andreas Zweili, Ismail Cadaroski, Ivan Höhler, Michael Stratighiou} +\author{Andreas Zweili, Ismail Cadaroski, Ivan Hörler, Michael Stratighiou} %\institute{} % \titlegraphic{\hfill\includegraphics[height=1.5cm]{logo.pdf}} @@ -15,14 +15,46 @@ \tableofcontents \newpage -\section{Biographie} -Hallo Dies ist ein Test +\section{Einführung} + +Diese Arbeit wird eine Einführung zu dem Verschlüsselungsalgorithmus RSA geben. +Anhand von vereinfachten Rechnungen wird die Funktion des Algorthmus +veranschaulicht und erklärt. In der Realität sind die verwendeten Zahlen jedoch +um ein x-faches grösser. Die nachfolgende Zahl ist 1024 Bit gross. Der Leser +kann sich also ungefähr vorstellen wie gross die Zahlen sind wenn die heutige +empfohlene Grösse bei 4096 Bit liegt. + +\begin{sexylisting}{RSA-1024 Primzahl} +13506641086599522334960321627880596993888147560566 +70275244851438515265106048595338339402871505719094 +41798207282164471551373680419703964191743046496589 +27425623934102086438320211037295872576235850964311 +05640735015081875106765946292055636855294752135008 +52879416377328533906109750544334999811150056977236 +890927563 +\end{sexylisting} + +\subsection{Geschichte} + +WIP +RSA wurde im Jahre 1977 von Ronald L. Rivest, Adi Shamir und Leonard Adleman am +MIT entdeckt. Ein Jahr zuvor wurde von Whitfield Diffie und Martin Hellman eine +Theorie zu Publickey-Kryptographie veröffentlicht welche jedoch noch keinen +funktionierenden Algorithmus beinhaltete. + +RSA steht dabei für die Anfangsbuchstaben ihrer Familiennamen. +Im Jahre 2002 erhielten sie den Turing-Award für ihre Arbeit auf dem Gebiet der +Kryptographie. +WIP +\subsection{Verwendung} + \section{Verschlüsseln} TODO: Sind das wirklich alles Sections? Ich habe sie jetzt mal in Subsections geändert. Ist evtl. eher Fett gemeint? +Ismail was hast du hier gemeint? \subsection{Schlüsselkontruktion} N = Privatschlüssel p= primzahl q = primzahl \\ diff --git a/math_rsa.cls b/math_rsa.cls index 0083886..34b08ac 100644 --- a/math_rsa.cls +++ b/math_rsa.cls @@ -8,7 +8,7 @@ %Enable Mathsupport \RequirePackage{mathtools} %Use normal font for math -\RequirePackage[Regular]{mathastext} +\RequirePackage{mathastext} %Support for German \RequirePackage[utf8]{inputenc} @@ -58,3 +58,17 @@ \definecolor{teal}{HTML}{009688} \definecolor{yellow}{HTML}{FFEB3B} \definecolor{green}{HTML}{388E3C} + +%better font for monospace characters +\RequirePackage{sourcecodepro} + +% Listing with a box around it +\RequirePackage[most]{tcolorbox} +\newtcblisting{sexylisting}[2][]{ + sharp corners, + fonttitle=\bfseries, + colframe=gray, + listing only, + listing options={basicstyle=\ttfamily,}, + title=\thetcbcounter #2, #1 +}