Authentication examples


These examples study a simple authentication protocol with a N bits password. The input is checked against the password; if the result is true the attacker can observe an output of 1; otherwise the output is 0. Here is the program for a 2 bits secret:

observable int1 o;
public int2 input:=0;
secret int2 password;
if (password==input)
then assign o:=1;
else assign o:=0;
fi
return;

QUAIL
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.