slides/slides09.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 03 Dec 2013 13:18:10 +0000
changeset 147 ab38ed748930
parent 146 6f884231ca57
child 148 083c07f8668a
permissions -rw-r--r--
added
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
75
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
\documentclass[dvipsnames,14pt,t]{beamer}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
\usepackage{proof}
145
279fa5a06231 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 90
diff changeset
     3
\usepackage{beamerthemeplaincu}
75
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
\usepackage{mathpartir}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     5
\usepackage{isabelle}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
\usepackage{isabellesym}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
\usepackage[absolute,overlay]{textpos}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
\usepackage{ifthen}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     9
\usepackage{tikz}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    10
\usepackage{courier}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    11
\usepackage{listings}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    12
\usetikzlibrary{arrows}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    13
\usetikzlibrary{positioning}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    14
\usetikzlibrary{calc}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    15
\usepackage{graphicx} 
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    16
\usetikzlibrary{shapes}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    17
\usetikzlibrary{shadows}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    18
\usetikzlibrary{plotmarks}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    19
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    20
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    21
\isabellestyle{rm}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    22
\renewcommand{\isastyle}{\rm}%
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    23
\renewcommand{\isastyleminor}{\rm}%
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    24
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}%
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    25
\renewcommand{\isatagproof}{}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    26
\renewcommand{\endisatagproof}{}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    27
\renewcommand{\isamarkupcmt}[1]{#1}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    28
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    29
% Isabelle characters
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    30
\renewcommand{\isacharunderscore}{\_}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    31
\renewcommand{\isacharbar}{\isamath{\mid}}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    32
\renewcommand{\isasymiota}{}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    33
\renewcommand{\isacharbraceleft}{\{}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    34
\renewcommand{\isacharbraceright}{\}}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    35
\renewcommand{\isacharless}{$\langle$}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    36
\renewcommand{\isachargreater}{$\rangle$}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    37
\renewcommand{\isasymsharp}{\isamath{\#}}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    38
\renewcommand{\isasymdots}{\isamath{...}}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    39
\renewcommand{\isasymbullet}{\act}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    40
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    41
% beamer stuff 
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
    42
\renewcommand{\slidecaption}{APP 09, King's College London, 3 December 2013}
75
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    43
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}% for definitions
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    44
\newcommand{\bl}[1]{\textcolor{blue}{#1}}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    45
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    46
\begin{document}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    47
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    48
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    49
\mode<presentation>{
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    50
\begin{frame}<1>[t]
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    51
\frametitle{%
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    52
  \begin{tabular}{@ {}c@ {}}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    53
  \\
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    54
  \LARGE Access Control and \\[-3mm] 
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
    55
  \LARGE Privacy Policies (9)\\[-6mm] 
75
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    56
  \end{tabular}}\bigskip\bigskip\bigskip
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    57
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
    58
  \normalsize
75
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    59
  \begin{center}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    60
  \begin{tabular}{ll}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    61
  Email:  & christian.urban at kcl.ac.uk\\
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
    62
  Office: & S1.27 (1st floor Strand Building)\\
75
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    63
  Slides: & KEATS (also homework is there)\\
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    64
  \end{tabular}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    65
  \end{center}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    66
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    67
\end{frame}}
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    68
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    69
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    70
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    71
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    72
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    73
\frametitle{Review: Proofs}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    74
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    75
Modify the formula
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    76
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    77
\begin{tabular}{l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    78
\bl{$P\;\textit{controls}\;\textit{Permitted}(O, \textit{write})$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    79
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    80
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    81
using security levels so that it satisfies the {\it write rule} from the {\it
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    82
Bell-LaPadula} access policy.\bigskip 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    84
Do the same again, but satisfy the {\it write rule}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    85
from the {\it Biba} access policy.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    86
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    87
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    88
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    89
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    90
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    91
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    92
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    93
\frametitle{Review: Proofs}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    94
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    95
Assume two security levels \bl{$\textit{S}$} and \bl{$\textit{TS}$}, 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    96
which are ordered so that \bl{$slev(\textit{S}) < slev(\textit{TS})$}. 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    97
Assume further the substitution rules
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    98
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
    99
\bl{\begin{tabular}{@{}c@{}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   100
$\Gamma \vdash slev(P) = l_1$ \hspace{2mm} $\Gamma \vdash slev(Q) = l_2$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   101
\hspace{2mm} $\Gamma \vdash l_1 < l_2$\\\hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   102
$\Gamma \vdash slev(P) < slev(Q)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   103
\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   104
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   105
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   106
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   107
\bl{\begin{tabular}{c}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   108
$\Gamma \vdash slev(P) = l$ \hspace{4mm} $\Gamma \vdash slev(Q) = l$\\\hline
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   109
$\Gamma \vdash slev(P) = slev(Q)$
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   110
\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   111
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   112
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   113
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   114
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   115
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   116
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   117
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   118
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   119
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   120
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   121
\frametitle{Review: Proofs}\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   122
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   123
Let \bl{$\Gamma$} be the set containing the following six formulas
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   124
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   125
\bl{\begin{tabular}{@{}l@{}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   126
$slev(\textit{S}) < slev(\textit{TS})$\smallskip\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   127
$slev(\textit{Agent}) = slev(\textit{TS})$\smallskip\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   128
$slev(\textit{File}_1) = slev(\textit{S})$\smallskip\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   129
$slev(\textit{File}_2) = slev(\textit{TS})$\smallskip\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   130
$\forall O.\;slev(O) < slev(\textit{Agent}) \Rightarrow$\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   131
\hspace{30mm}$(\textit{Agent}\;\textit{controls}\;\textit{Permitted}(O, \textit{read}))$\smallskip\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   132
$\forall O.\;slev(O) = slev(\textit{Agent}) \Rightarrow$\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   133
\hspace{30mm}$(\textit{Agent}\;\textit{controls}\;\textit{Permitted}(O, \textit{read}))$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   134
\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   135
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   136
Using the inference rules of access-control logic and the substitution rules shown above,
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   137
give proofs for the two judgements
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   138
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   139
\bl{\begin{tabular}{@{}l@{}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   140
$\Gamma \vdash
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   141
(\textit{Agent}\;\textit{says}\;\textit{Permitted}(\textit{File}_1,
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   142
\textit{read})) \Rightarrow$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   143
\hspace{50mm}$\textit{Permitted}(\textit{File}_1, \textit{read})$\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   144
\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   145
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   148
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   149
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   150
75
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   151
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   152
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   153
\mode<presentation>{
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   154
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   155
\frametitle{Checking Solutions}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   156
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   157
How can you check somebody's solution without revealing the solution?\pause\bigskip
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   158
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   159
Alice and Bob solve crosswords. Alice knows the answer for 21D (folio) but doesn't 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   160
want to tell Bob.\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   161
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   162
You use an English  dictionary:
75
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   163
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   164
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   165
\item folio \onslide<4->{$\stackrel{1}{\rightarrow}$ individual }
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   166
                \onslide<5->{$\stackrel{2}{\rightarrow}$ human}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   167
                \onslide<6->{$\stackrel{3}{\rightarrow}$ or \ldots}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   168
\only<3>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   169
\begin{quote}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   170
``an \alert{individual} leaf of paper or parchment, either loose as one of a series or 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   171
forming part of a bound volume, which is numbered on the recto or front side only.''	
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   172
\end{quote}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   173
\only<4>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   174
\begin{quote}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   175
``a single \alert{human} being as distinct from a group''
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   176
\end{quote}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   177
\only<5>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   178
\begin{quote}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   179
``relating to \alert{or} characteristic of humankind''
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   180
\end{quote}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   181
\end{itemize}\bigskip\bigskip
76
dde58256fc35 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 75
diff changeset
   182
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   183
\only<7->{
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   184
this is essentially a hash function...but Bob can only check once he has also found the solution
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   185
}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   186
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   187
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   188
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
79
2eaca58f9bcc updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 78
diff changeset
   189
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   190
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   191
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   192
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   193
\frametitle{Zero-Knowledge Proofs}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   194
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   195
Two remarkable properties:\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   196
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   197
\begin{itemize}
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   198
\item Alice only reveals the fact that she knows a secret, not the secret itself.\bigskip
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   199
\item Having been convinced, Bob cannot use the evidence in order to convince Carol.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   200
\end{itemize}
76
dde58256fc35 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 75
diff changeset
   201
dde58256fc35 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 75
diff changeset
   202
\end{frame}}
dde58256fc35 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 75
diff changeset
   203
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
dde58256fc35 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 75
diff changeset
   204
dde58256fc35 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 75
diff changeset
   205
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
dde58256fc35 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 75
diff changeset
   206
\mode<presentation>{
77
56dbc339ec87 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 76
diff changeset
   207
\begin{frame}[t]
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   208
\frametitle{\begin{tabular}{@{}c@{}}The Idea\end{tabular}}
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   209
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   210
\begin{center}
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   211
\begin{tabular}{l@{\hspace{10mm}}r}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   212
\\[-10mm]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   213
\raisebox{10mm}{\large 1.} & \includegraphics[scale=0.1]{pics/alibaba1.png}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   214
\raisebox{10mm}{\large 2.} & \includegraphics[scale=0.1]{pics/alibaba2.png}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   215
\raisebox{10mm}{\large 3.} & \includegraphics[scale=0.1]{pics/alibaba3.png}
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   216
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   217
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   218
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   219
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   220
\only<2>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   221
\begin{textblock}{12}(2,13.3)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   222
Even if Bob has a hidden camera, a recording will not be convincing to anyone else 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   223
(Alice and Bob could have made it all up).
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   224
\end{textblock}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   225
\only<3>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   226
\begin{textblock}{12}(2,13.3)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   227
Even worse, an observer present at the experiment would not be convinced.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   228
\end{textblock}}
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   229
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   230
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   231
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   232
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   233
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   234
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   235
\begin{frame}[c]
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   236
\frametitle{Applications of ZKPs}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   237
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   238
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   239
\item authentication, where one party wants to prove its identity to a 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   240
second party via some secret information,  but doesn't want the second 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   241
party to learn anything about this secret\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   242
\item to enforce honest behaviour while maintaining privacy: the idea is to 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   243
force a user to prove, using a zero-knowledge proof, that its behaviour is 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   244
correct according to the protocol
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   245
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   246
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   247
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   248
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   249
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   250
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   251
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   252
\frametitle{Central Properties}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   253
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   254
Zero-knowledge proof protocols should satisfy:\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   255
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   256
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   257
\item \alert{\bf Completeness} If Alice knows the secret, Bob accepts Alice ``proof'' for sure.\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   258
\item \alert{\bf Soundness} If Alice does not know the secret, Bob accepts her ``proof'' with a very 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   259
small probability.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   260
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   261
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   262
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   263
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   264
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   265
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   266
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   267
\begin{frame}[c]
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   268
\frametitle{Graph Isomorphism}
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   269
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   270
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   271
\begin{tabular}{l@{\hspace{10mm}}r}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   272
\includegraphics[scale=0.8]{pics/graphs.png}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   273
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   274
\end{center}
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   275
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   276
Finding an isomorphism between two graphs is an NP complete problem.
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   277
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   278
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   279
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   280
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   281
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   282
\begin{frame}[c]
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   283
\frametitle{Graph Isomorphism Protocol}
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   284
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   285
Alice starts with knowing an isomorphism \bl{$\sigma$} between graphs \bl{$G_1$} and \bl{$G_2$}\medskip
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   286
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   287
\begin{enumerate}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   288
\item Alice generates an isomorphic graph \bl{$H$} which she sends to Bob 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   289
\item Bob asks either for an isomorphism between \bl{$G_1$} and \bl{$H$}, or
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   290
\bl{$G_2$} and \bl{$H$}	
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   291
\item Alice and Bob repeat this procedure \bl{$n$} times	
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   292
\end{enumerate}\pause
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   293
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   294
these are called commitment algorithms
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   295
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   296
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   297
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   298
   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   299
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   300
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   301
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   302
\frametitle{Graph Isomorphism Protocol (2)}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   303
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   304
If Alice knows the isomorphism, she can always calculate \bl{$\sigma$}.\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   305
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   306
 If she doesn't, she can only correctly respond if Bob's 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   307
 choice of index is the same as the one she used to form \bl{$H$}. The probability 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   308
 of this happening is \bl{$\frac{1}{2}$}, so after \bl{$n$} rounds the probability of her 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   309
 always responding correctly is only \bl{$\frac{1}{2}^n$}.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   310
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   311
\end{frame}}
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   312
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   313
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   314
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   315
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   316
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   317
\frametitle{Graph Isomorphism Protocol (3)}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   318
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   319
Why is the GI-protocol zero-knowledge?\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   320
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   321
A: We can generate a fake transcript of a conversation, which 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   322
cannot be distinguished from a ``real'' conversation.\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   323
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   324
Anything Bob can compute using the information obtained from 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   325
the transcript can be computed using only a forged transcript and 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   326
therefore participation in such a communication does not increase 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   327
Bob's capability  to perform any computation.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   328
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   329
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   330
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   331
   
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   332
   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   333
   
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   334
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   335
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   336
\begin{frame}[c]
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   337
\frametitle{Non-Interactive ZKPs}
77
56dbc339ec87 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 76
diff changeset
   338
80
807393d1efff updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 79
diff changeset
   339
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   340
\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   341
This is amazing: Alison can publish some data that contains no data about her secret,
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   342
but this data can be used to convince anyone of the secret's existence.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   343
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   344
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   345
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   346
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   347
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   348
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   349
\frametitle{Non-Interactive ZKPs (2)}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   350
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   351
Alice starts with knowing an isomorphism \bl{$\sigma$} between graphs \bl{$G_1$} and \bl{$G_2$}\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   352
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   353
\begin{enumerate}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   354
\item Alice generates \bl{$n$} isomorphic graphs \bl{$H_{1..n}$} which she makes public 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   355
\item she feeds the \bl{$H_{1..n}$} into a hashing function (she has no control over what
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   356
	the output will be)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   357
\item Alice takes the first \bl{$n$} bits of the output: whenever output is \bl{$0$}, she shows 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   358
an isomorphism with \bl{$G_1$} ; for \bl{$1$} she shows an isomorphism with \bl{$G_2$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   359
\end{enumerate}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   360
77
56dbc339ec87 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 76
diff changeset
   361
\end{frame}}
56dbc339ec87 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 76
diff changeset
   362
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
56dbc339ec87 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 76
diff changeset
   363
79
2eaca58f9bcc updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 78
diff changeset
   364
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2eaca58f9bcc updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 78
diff changeset
   365
\mode<presentation>{
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   366
\begin{frame}[c]
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   367
\frametitle{Problems of ZKPs}
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   368
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   369
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   370
\item ``grand chess master problem'' (person in the middle)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   371
\item 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   372
\end{itemize}
83
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 82
diff changeset
   373
147
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   374
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   375
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   376
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   377
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   378
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   379
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   380
\frametitle{Other Methods for ZKPs}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   381
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   382
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   383
\item modular logarithms (you can 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   384
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 146
diff changeset
   385
87
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   386
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   387
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   388
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   389
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   390
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   391
\begin{frame}[c]
146
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 145
diff changeset
   392
\frametitle{Random Number Generators}
87
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   393
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   394
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   395
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 86
diff changeset
   396
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
76
dde58256fc35 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 75
diff changeset
   397
\end{document}
75
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   398
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   399
%%% Local Variables:  
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   400
%%% mode: latex
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   401
%%% TeX-master: t
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   402
%%% End: 
df7cf3d07bd8 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
   403