hws/hw01.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 23 Sep 2014 01:58:14 +0100
changeset 165 6f84ad98cf49
parent 97 efcac3016613
child 169 2866fae8c1cf
permissions -rw-r--r--
added homework
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass{article}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\usepackage{charter}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\usepackage{hyperref}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\begin{document}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\section*{Homework 1}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\begin{enumerate}
165
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    10
\item {\bf (Optional)} If you want to have a look at the code
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    11
  presented in the lectures, install Node.js available (for free) from
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
\begin{center}
165
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    13
\url{http://nodejs.org}
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
\end{center}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
165
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    16
It needs aslo the Node-packages: Express, Cookie-Parser, Body-Parser and 
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    17
Crypto.
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    18
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
\item Practice thinking like an attacker. Assume the following situation:
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\begin{quote}\it
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
Prof.~V.~Nasty gives the following final exam question (closed books, closed notes):\bigskip
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\noindent
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\begin{tabular}{@ {}l}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
Write the first 100 digits of pi:\\
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
3.\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
\end{tabular}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
\end{quote}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
\noindent
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
Think of ways how you can cheat in this exam?
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
165
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    34
\item Explain what hashes and salts are. Describe how they can be used
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    35
  for ensuring data integrity and storing password information.
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
14
Christian Urban <urbanc@in.tum.de>
parents: 10
diff changeset
    37
\item What are good uses of cookies (that is browser cookies)?
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
165
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    39
\item Why is making bank customer be liable for financial fraud a bad
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    40
design choice for CC payments?
6f84ad98cf49 added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 97
diff changeset
    41
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
\end{enumerate}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
\end{document}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
%%% Local Variables: 
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
%%% mode: latex
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
%%% TeX-master: t
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
%%% End: