question_authority.tex 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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{supertabular}
  25. \usepackage{tikz}
  26. %% setting epigraphs
  27. \renewcommand{\epigraphsize}{\small}
  28. \setlength{\epigraphwidth}{0.8\textwidth}
  29. \let\origepigraph\epigraph
  30. \renewcommand\epigraph[2]{\origepigraph{\textit{#1}}{\textsc{#2}}}
  31. %% bytefield shit
  32. \newcommand{\colorbitbox}[3]{%
  33. \rlap{\bitbox{#2}{\color{#1}\rule{\width}{\height}}}%
  34. \bitbox{#2}{#3}}
  35. %% COMMANDS
  36. \DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
  37. \DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
  38. \DeclarePairedDelimiter{\angular}{\langle}{\rangle}
  39. \newcommand{\naturalN}{\mathbb{N}}
  40. \newcommand{\naturalPrime}{\mathbb{P}}
  41. \newcommand{\integerZ}{\mathbb{Z}}
  42. \newcommand{\bigO}[1]{\ensuremath{\operatorname{O}\left(#1\right)}}
  43. \newcommand{\openssl}{\textsc{OpenSSL}\ }
  44. %% here adopting Wikipedia's notation <https://en.wikipedia.org/wiki/Isqrt>
  45. \newcommand{\dsqrt}[1]{\ensuremath{isqrt(#1)}}
  46. \newcommand{\idiv}{\ensuremath{//}}
  47. \newcommand{\strong}[1]{\textbf{#1}}
  48. \newcommand{\eulerphi}[1]{\varphi(#1)}
  49. \newcommand{\abs}[1]{\left|#1\right|}
  50. \newcommand{\rfrac}[2]{{}^{#1}\!/_{#2}}
  51. \newcommand{\getsRandom}{\xleftarrow{r}}
  52. \theoremstyle{plain}
  53. \newtheorem*{theorem*}{Theorem}
  54. \newtheorem*{definition*}{Definition}
  55. \makeindex
  56. \let\origdoublepage\cleardoublepage
  57. \newcommand{\clearemptydoublepage}{%
  58. \clearpage
  59. {\pagestyle{empty}\origdoublepage}%
  60. }
  61. \let\cleardoublepage\clearemptydoublepage
  62. % Note that colour boxes around links are NOT printed.
  63. % The text itself can be coloured, replacing the bounding box, but
  64. % when printing this may appear illegible;
  65. % link colors can be set to black for printing purposes, like so:
  66. %\hypersetup{colorlinks,%
  67. % citecolor=black,%
  68. % filecolor=black,%
  69. % linkcolor=black,%
  70. % urlcolor=black}
  71. % Also note that this will conflict with the color package called
  72. % earlier in this document if that is not set to the right option (e.g.
  73. % dvips or pdflatex).
  74. \begin{document}
  75. %\phd %se e' la tesi di dottorato, altrimenti non mettere nulla
  76. \university{Universit\`a degli Studi di Trento}
  77. \faculty{Facolt\`a di Scienze Matematiche Fisiche e Naturali}
  78. \dept{Dipartimento di Scienze Informatiche}
  79. \Logo{logo_unitn.jpg}
  80. %% titolo del dottorato
  81. % \phdtitle{}
  82. %% titolo della tesi
  83. \title{Question Authority}
  84. \subtitle{An Inquiry into The Secure Layer}
  85. \author{Michele Orr\`u}
  86. \supervisor{Prof. Massimiliano Sala}
  87. %% Uncomment the following two lines if a co-relator is present.
  88. %\twosupervisors
  89. %\firstreader{Prof. Ettore Miron}
  90. % capo della scuola di dottorato o controrelatore
  91. \secondreader{Prof. Nara Stabbocchi}
  92. \accademico{Anno accademico $2013/2014$}
  93. \frontespizio % questo e` il frontespizio esterno, cioe' senza firme
  94. \cleardoublepage
  95. \signaturepage % questo e` il frontesizio interno con le firme
  96. %% DEDICA
  97. %non e' ovviamente obbligatoria
  98. \cleardoublepage \setcounter{page}{1} \pagenumbering{roman}
  99. \pagestyle{plain} \tableofcontents
  100. %\listoffigures
  101. %\addcontentsline{toc}{chapter}{Elenco delle figure}
  102. %\renewcommand{\listalgorithmname}{Elenco degli algoritmi}
  103. %\listofalgorithms
  104. %\addcontentsline{toc}{chapter}{Elenco degli algoritmi}
  105. %\addcontentsline{toc}{chapter}{Introduction}
  106. %% INTRODUCTION
  107. %\include{ack}
  108. %\addcontentsline{toc}{chapter}{Acknowledgment}
  109. %\cleardoublepage
  110. %\include{Introduction}
  111. %\addcontentsline{toc}{chapter}{Introduction}
  112. \cleardoublepage
  113. %% THESIS BODY
  114. \pagestyle{fancy} \pagenumbering{arabic} \mainmatter
  115. \vspace*{3in}
  116. \epigraph{
  117. Many persons who are not conversant with mathematical studies imagine that
  118. because the business of [Babbage's Analytical Engine] is to give results in
  119. numerical notation, the nature of the processes must consequently be
  120. arithmetical and numerical, rather than algebraical and analytical. This is an
  121. error. The engine can arrange and combine its numerical quantities exactly as if
  122. they were letters or any other general symbols; and in fact it might bring out
  123. its results in algebraical notation, were provisions made accordingly.}
  124. {Augusta Ada, Countess of Lovelace}
  125. %% there is no copyright, but the right to copy.
  126. \begin{figure}[b]
  127. \centering
  128. \includegraphics[width=80pt]{kopimi.png}
  129. \end{figure}
  130. \include{preface}
  131. \part{Prequisites}
  132. \include{ssl_prequisites}
  133. \include{math_prequisites}
  134. \part{Factorization Methods}
  135. \include{fermat}
  136. \include{wiener}
  137. \include{pollard-1}
  138. \include{pollard+1}
  139. \include{pollardrho}
  140. \include{dixon}
  141. \include{conclusions}
  142. \backmatter
  143. %%\bibliographystyle{ieeetr}
  144. \bibliography{library}
  145. \clearpage
  146. \addcontentsline{toc}{chapter}{Bibliography}
  147. \end{document}