scyther/protocols/misc/simplest.spdl

19 lines
216 B
Plaintext
Raw Normal View History

2006-11-21 13:40:50 +00:00
secret k: Nonce;
const Alice,Bob,Charlie: Agent;
const ne: Nonce;
protocol simplest(I)
{
role I
{
var x: Nonce;
const n: Nonce;
read_!1(I,I, x);
send_!2(I,I, n, {n, x}k );
2006-11-21 13:40:50 +00:00
claim_3(I, Secret, n);
}
}