- 'Simplest' protocol that shows postponing effort.

This commit is contained in:
ccremers 2004-03-09 16:07:02 +00:00
parent dba0eab72b
commit 5d9e893a44

19
spdl/simplest.spdl Normal file
View File

@ -0,0 +1,19 @@
secret k: Nonce;
const Alice,Bob,Charlie: Agent;
const ne: Nonce;
protocol simplest(I)
{
role I
{
var x: Nonce;
const n: Nonce;
read(I,I, x);
send(I,I, n, {n, x}k );
}
}
run simplest.I(Alice);
run simplest.I(Alice);