22 lines
214 B
Plaintext
22 lines
214 B
Plaintext
|
|
||
|
protocol soph(I,R)
|
||
|
{
|
||
|
role I
|
||
|
{
|
||
|
fresh ni: Nonce;
|
||
|
|
||
|
send_1(I,R, {I,ni}pk(R) );
|
||
|
read_2(R,I, ni );
|
||
|
claim_3(I,Niagree);
|
||
|
}
|
||
|
|
||
|
role R
|
||
|
{
|
||
|
var ni: Nonce;
|
||
|
|
||
|
read_1(I,R, {I,ni}pk(R) );
|
||
|
send_2(R,I, ni );
|
||
|
}
|
||
|
}
|
||
|
|