Skip to content
Snippets Groups Projects
HelloWorld.spdl 419 B
Newer Older
mwh1g17's avatar
mwh1g17 committed
usertype String;

const HelloWorld: String;





protocol hello(I,R)

mwh1g17's avatar
mwh1g17 committed


mwh1g17's avatar
mwh1g17 committed
	{



	role I {

mwh1g17's avatar
mwh1g17 committed


		fresh Icreate : Nonce;

		var Irecieve : Nonce;

		



		send_1(I,R, {I,Icreate} HelloWorld);



		claim_i1(I,Secret,Icreate);

mwh1g17's avatar
mwh1g17 committed
		fresh Rcreate : Nonce;

		var Rrecieve : Nonce;



		recv_1(I,R, {I,Rrecieve} HelloWorld);





		claim_r1(R,Secret,Rcreate);