scyther/spdl/helloworld.spdl
2004-02-28 20:39:17 +00:00

18 lines
274 B
Plaintext

usertype String, World;
secret HelloWorld: String;
protocol hw(initiator,world)
{
role initiator
{
send_1(initiator, world, HelloWorld);
claim_2(initiator, Secret, HelloWorld);
}
}
const Alice, Bob: Agent;
const Earth, Mars: World;
run hw.initiator(Agent,World);