Score:2

Scyther related questions for handling/splitting values and verifying hashes

fr flag

While implementing a protocol in Scyther, I need help with the following questions -

  1. How do we split a particular message/variable into two parts in Scyther? (For eg. if I have value R in my protocol that I need to divide into two parts say K1 and K2, how do I go about doing it in Scyther. I tried R=CONCAT(K1, K2) where all R, K1 and K2 are of the same type but I don't know whether it is the correct way)
  2. How do we verify the hashes received by both entities? (For eg. There is a message M that is generated by the sender S and he/she sends M and Hash(M) to the receiver R. A copy of the message, M' is already stored at the receiver R, then if we want to verify the values Hash(M) with Hash(M'), how do we do that? I tried using match() function but it shows some error)
  3. How do we handle the values that are claimed to be stored in the database of the entities? (For eg. a sender registers itself with the receiver by sending his unique ID and the receiver stores the ID received in its database for future reference, how do we depict this scenario in Scyther?)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.