question_authority.tex 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. \documentclass[12pt,a4paper,twoside]{thesis}
  2. %% PACKAGES
  3. \usepackage[utf8]{inputenc}
  4. \usepackage[T1]{fontenc}
  5. \usepackage{algorithm}
  6. \usepackage[noend]{algpseudocode}
  7. \usepackage{amsmath}
  8. \usepackage{amsthm}
  9. \usepackage{amsfonts}
  10. \usepackage{amssymb}
  11. \usepackage{amsthm}
  12. \usepackage{bytefield}
  13. \usepackage{cancel}
  14. \usepackage[dvips]{color}
  15. \usepackage{enumerate}
  16. \usepackage{epigraph}
  17. \usepackage{fancyhdr}
  18. \usepackage{graphicx}
  19. \usepackage{hyperref}
  20. \usepackage{indentfirst}
  21. \usepackage{mathtools}
  22. \usepackage{minted}
  23. \usepackage{makeidx,shortvrb,latexsym}
  24. \usepackage{pgfplots}
  25. \usepackage{supertabular}
  26. \usepackage{tikz}
  27. %% setting epigraphs
  28. \renewcommand{\epigraphsize}{\small}
  29. \setlength{\epigraphwidth}{0.8\textwidth}
  30. \let\origepigraph\epigraph
  31. \renewcommand\epigraph[2]{\origepigraph{\textit{#1}}{\textsc{#2}}}
  32. %% bytefield shit
  33. \newcommand{\colorbitbox}[3]{%
  34. \rlap{\bitbox{#2}{\color{#1}\rule{\width}{\height}}}%
  35. \bitbox{#2}{#3}}
  36. %% COMMANDS
  37. \DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
  38. \DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
  39. \DeclarePairedDelimiter{\angular}{\langle}{\rangle}
  40. \newcommand{\naturalN}{\mathbb{N}}
  41. \newcommand{\naturalPrime}{\mathbb{P}}
  42. \newcommand{\integerZ}{\mathbb{Z}}
  43. \newcommand{\factorBase}{\mathcal{B}}
  44. \newcommand{\bigO}[1]{\ensuremath{\mathcal{O}\left(#1\right)}}
  45. \newcommand{\openssl}{\textsc{OpenSSL}\ }
  46. %% here adopting Wikipedia's notation <https://en.wikipedia.org/wiki/Isqrt>
  47. \newcommand{\dsqrt}[1]{\ensuremath{isqrt(#1)}}
  48. \newcommand{\idiv}{\ensuremath{//}}
  49. \newcommand{\strong}[1]{\textbf{#1}}
  50. \newcommand{\eulerphi}[1]{\varphi(#1)}
  51. \newcommand{\abs}[1]{\left|#1\right|}
  52. \newcommand{\rfrac}[2]{{}^{#1}\!/_{#2}}
  53. \newcommand{\getsRandom}{\xleftarrow{r}}
  54. \newcommand{\xor}{\oplus}
  55. \newcommand{\legendre}[2]{({#1}/{#2})}
  56. \newcommand{\PKArg}{${N, e}$}
  57. \theoremstyle{plain}
  58. \newtheorem*{theorem*}{Theorem}
  59. \newtheorem*{definition*}{Definition}
  60. \makeindex
  61. \let\origdoublepage\cleardoublepage
  62. \newcommand{\clearemptydoublepage}{%
  63. \clearpage
  64. {\pagestyle{empty}\origdoublepage}%
  65. }
  66. \let\cleardoublepage\clearemptydoublepage
  67. % Note that colour boxes around links are NOT printed.
  68. % The text itself can be coloured, replacing the bounding box, but
  69. % when printing this may appear illegible;
  70. % link colors can be set to black for printing purposes, like so:
  71. %\hypersetup{colorlinks,%
  72. % citecolor=black,%
  73. % filecolor=black,%
  74. % linkcolor=black,%
  75. % urlcolor=black}
  76. % Also note that this will conflict with the color package called
  77. % earlier in this document if that is not set to the right option (e.g.
  78. % dvips or pdflatex).
  79. \begin{document}
  80. %\phd %se e' la tesi di dottorato, altrimenti non mettere nulla
  81. \university{Universit\`a degli Studi di Trento}
  82. \faculty{Facolt\`a di Scienze Matematiche Fisiche e Naturali}
  83. \dept{Dipartimento di Scienze Informatiche}
  84. \Logo{logo_unitn.jpg}
  85. %% titolo del dottorato
  86. % \phdtitle{}
  87. %% titolo della tesi
  88. \title{Question Authority}
  89. \subtitle{An Inquiry into The Secure Layer}
  90. \author{Michele Orr\`u}
  91. \supervisor{Prof. Massimiliano Sala}
  92. %% Uncomment the following two lines if a co-relator is present.
  93. \twosupervisors
  94. \firstreader{Dott. Emanuele Bellini}
  95. % capo della scuola di dottorato o controrelatore
  96. \secondreader{Prof. Giulia Boato}
  97. \accademico{Anno accademico $2012/2013$}
  98. \frontespizio % questo e` il frontespizio esterno, cioe' senza firme
  99. \cleardoublepage
  100. \signaturepage % questo e` il frontesizio interno con le firme
  101. %% DEDICA
  102. %non e' ovviamente obbligatoria
  103. \cleardoublepage \setcounter{page}{1} \pagenumbering{roman}
  104. \pagestyle{plain} \tableofcontents
  105. %\listoffigures
  106. %\addcontentsline{toc}{chapter}{Elenco delle figure}
  107. %\renewcommand{\listalgorithmname}{Elenco degli algoritmi}
  108. %\listofalgorithms
  109. %\addcontentsline{toc}{chapter}{Elenco degli algoritmi}
  110. %\addcontentsline{toc}{chapter}{Introduction}
  111. %% INTRODUCTION
  112. %\include{ack}
  113. %\addcontentsline{toc}{chapter}{Acknowledgment}
  114. %\cleardoublepage
  115. %\include{Introduction}
  116. %\addcontentsline{toc}{chapter}{Introduction}
  117. \cleardoublepage
  118. %% THESIS BODY
  119. \pagestyle{fancy} \pagenumbering{arabic} \mainmatter
  120. \vspace*{3in}
  121. \epigraph{
  122. Many persons who are not conversant with mathematical studies imagine that
  123. because the business of [Babbage's Analytical Engine] is to give results in
  124. numerical notation, the nature of the processes must consequently be
  125. arithmetical and numerical, rather than algebraical and analytical. This is an
  126. error. The engine can arrange and combine its numerical quantities exactly as if
  127. they were letters or any other general symbols; and in fact it might bring out
  128. its results in algebraical notation, were provisions made accordingly.}
  129. {Augusta Ada, Countess of Lovelace}
  130. %% there is no copyright, but the right to copy.
  131. \begin{figure}[b]
  132. \centering
  133. \includegraphics[width=80pt]{kopimi.png}
  134. \end{figure}
  135. \cleardoublepage
  136. \markboth{}{}
  137. % move this epigraph to a fitting place. I don't see why it fits here inside of
  138. % the begin figure env. ~~ AK
  139. %\epigraph{``[...] be conservative in what you do, be liberal in what
  140. %you accept from others.''}{The robustness priciple or ``Postel's
  141. %Law''~\cite{rfc761}}
  142. %{\centering
  143. % \includegraphics[width=.9\textwidth]{neboltai.png}\par
  144. % \vbox{\emph{Do not talk unencrypted}}
  145. %}
  146. \include{preface}
  147. \part{Prolegomena}
  148. \include{ssl_prequisites}
  149. \include{math_prequisites}
  150. \part{Questions}
  151. \include{fermat}
  152. \include{wiener}
  153. \include{pollard-1}
  154. \include{williams+1}
  155. \include{pollardrho}
  156. \include{dixon}
  157. \include{conclusions}
  158. \backmatter
  159. \bibliographystyle{ieeetr}
  160. \bibliography{library}
  161. \clearpage
  162. \addcontentsline{toc}{chapter}{Bibliography}
  163. \end{document}