Changes

Np1sec/Specification

451 bytes removed, 9 years ago
Dmitri moved page [[MpOTR/Specification]] to [[Np1sec/Specification]]: protocol renamed
=== Leave ===
 
Leaving a chatroom involves only one procedure for those who are staying in the chatroom (Procedure Farewell) which is described in Algorithm [[mpCAT#Farewell|4]]. The remaining participants only need a notice from the server that the user is leaving to re-run the one round key update algorithm. Also, failure to receive a heartbeat from a user will result in executing Algorithm [[mpCAT#Farewell|4]] excluding users which did not update their key.
====Farewell====
Input: <math>lastMessage</math>
'''for each''' <math>message</math> in Messages Received from <math>lastDigestedMessage</math>+1 till <math>lastMessage</math>, '''do'''
<math>sesionDigest := HassHash(sessionDigest, message)</math>
<span style="font-family: serif; font-size: larger; font-variant:small-caps;">'''LRU Cache Store Digest</span>'''(<math>sessionDigest</math>, <math>message</math>)
'''return''' <math>sessionDigest</math>,<math>lastMessageId</math>
{{algorithm-begin|name=Hash}}
Input: <math>message</math>
'''return''' <span style="font-family: serif; font-size: larger; font-variant:small-caps;">'''SHA-512256</span>'''(<math>message</math>)
{{algorithm-end}}
[[Category: mpOTR]]
Bureaucrat, emailconfirmed, administrator, translator
662
edits