Research Article

A Robust and Effective Smart-Card-Based Remote User Authentication Mechanism Using Hash Function

Algorithm 5

Role specification in HLPSL for the session of our scheme.
role session( , : agent, : symmetric_key,
     : hash_func)
def =
local SI, SJ, RI, RJ: channel (dy)
composition
    alice( , , , , SI, RI)
     bob( , , , , SJ, RJ)
end role