# HG changeset patch # User cu # Date 1506934968 -3600 # Node ID 5cd1865d45bdd16f651c0e5411950f3c4e3fc366 # Parent 441a1e662f28412f08e6a7b22e69213393065201 updated diff -r 441a1e662f28 -r 5cd1865d45bd coursework/pairlist.pdf Binary file coursework/pairlist.pdf has changed diff -r 441a1e662f28 -r 5cd1865d45bd coursework/pairlist.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/coursework/pairlist.tex Mon Oct 02 10:02:48 2017 +0100 @@ -0,0 +1,126 @@ +\documentclass[12pt]{article} +\usepackage{../style} +\usepackage{array} + +\newcounter{rowcount} +\setcounter{rowcount}{0} +\def\arraystretch{1.3} +\begin{document} + +\begin{tabular}{@{\stepcounter{rowcount}\makebox[2em][r]{\therowcount.)}\hspace*{\tabcolsep}}p{5cm}|p{7cm}} +\multicolumn{1}{l}{\hspace{9mm}Name} & Email\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} + +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} + +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +%&\\\hline +%&\\\noalign{\hrule height 2pt} +%&\\\hline +%&\\\noalign{\hrule height 2pt} + +\end{tabular} + +\begin{tabular}{@{\stepcounter{rowcount}\makebox[2em][r]{\therowcount.)}\hspace*{\tabcolsep}}p{5cm}|p{7cm}} +\multicolumn{1}{l}{\hspace{9mm}Name} & Email\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} + +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} + +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +%&\\\hline +%&\\\noalign{\hrule height 2pt} +%&\\\hline +%&\\\noalign{\hrule height 2pt} + +\end{tabular} + +\begin{tabular}{@{\stepcounter{rowcount}\makebox[2em][r]{\therowcount.)}\hspace*{\tabcolsep}}p{5cm}|p{7cm}} +\multicolumn{1}{l}{\hspace{9mm}Name} & Email\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} + +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} +&\\\hline +&\\\noalign{\hrule height 2pt} + +%&\\\hline +%&\\\noalign{\hrule height 2pt} +%&\\\hline +%&\\\noalign{\hrule height 2pt} +%&\\\hline +%&\\\noalign{\hrule height 2pt} +%&\\\hline +%&\\\noalign{\hrule height 2pt} +%&\\\hline +%&\\\noalign{\hrule height 2pt} + +\end{tabular} + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff -r 441a1e662f28 -r 5cd1865d45bd handouts/ho02.pdf Binary file handouts/ho02.pdf has changed diff -r 441a1e662f28 -r 5cd1865d45bd handouts/ho02.tex --- a/handouts/ho02.tex Sat Sep 30 05:28:58 2017 +0100 +++ b/handouts/ho02.tex Mon Oct 02 10:02:48 2017 +0100 @@ -3,7 +3,7 @@ \usepackage{../langs} \begin{document} -\fnote{\copyright{} Christian Urban, 2014, 2015, 2016} +\fnote{\copyright{} Christian Urban, 2014, 2015, 2016, 2017} %% second angle of the problem @@ -46,7 +46,8 @@ to counter low turnouts in elections\footnote{In my last local election where I was eligible to vote only 48\% of the population have cast their ballot. I was, I shamefully admit, -one of the non-voters.} and generally sounds like a good idea. +one of the non-voters. (Update) I finally bothered to vote by +mail in the 2017 election.} and generally sounds like a good idea. Right? Voting from the comfort of your own home, or on your mobile on the go, what could possibly go wrong? Even the UK's head of the Electoral Commission, Jenny Watson, argued in 2014 diff -r 441a1e662f28 -r 5cd1865d45bd slides/slides01.pdf Binary file slides/slides01.pdf has changed diff -r 441a1e662f28 -r 5cd1865d45bd slides/slides01.tex --- a/slides/slides01.tex Sat Sep 30 05:28:58 2017 +0100 +++ b/slides/slides01.tex Mon Oct 02 10:02:48 2017 +0100 @@ -935,6 +935,45 @@ \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{frame}[c] +\frametitle{Defence in Depth} + +\begin{center}\small +\pcode{urbanc:$6$3WWbKfr1$4vblknvGr6FcDeF92R5xFn3mskfdnEn...:...} +\end{center} + +\begin{itemize} +\item hashes help when password databases are leaked +\item salts help with protecting against dictionary attacks + and help people who have the same password on different sites\medskip + +\item but they do not protect against a focused attack against a single + password and also do not make poorly chosen passwords any better +\end{itemize} + +\end{frame} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{frame}[c] +\frametitle{Subtle Points} + +\begin{itemize} +\item in our web-application the salt needed to remain secret; + in password files the salt is public\bigskip + +\item the NYT has the ``resource'' unlocked at first + and locks it depending on the cookie data +\item our ``web-application'' has the resource locked at first, + and unlocks it depending on the cookie data + +\end{itemize} + +\end{frame} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[c] \frametitle{This Course} diff -r 441a1e662f28 -r 5cd1865d45bd slides/slides02.pdf Binary file slides/slides02.pdf has changed diff -r 441a1e662f28 -r 5cd1865d45bd slides/slides02.tex --- a/slides/slides02.tex Sat Sep 30 05:28:58 2017 +0100 +++ b/slides/slides02.tex Mon Oct 02 10:02:48 2017 +0100 @@ -77,43 +77,6 @@ \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[c] -\frametitle{Defence in Depth} - -\begin{center}\small -\pcode{urbanc:$6$3WWbKfr1$4vblknvGr6FcDeF92R5xFn3mskfdnEn...:...} -\end{center} - -\begin{itemize} -\item hashes help when password databases are leaked -\item salts help with protecting against dictionary attacks - and help people who have the same password on different sites\medskip - -\item but they do not protect against a focused attack against a single - password and also do not make poorly chosen passwords any better -\end{itemize} - -\end{frame} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[c] -\frametitle{Subtle Points} - -\begin{itemize} -\item in our web-application the salt needed to remain secret; - in password files the salt is public\bigskip - -\item the NYT has the ``resource'' unlocked at first - and locks it depending on the cookie data -\item our ``web-application'' has the resource locked at first, - and unlocks it depending on the cookie data - -\end{itemize} - -\end{frame} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[c]