# Alice MUST identify the shared retained secret (SRS) by selecting from her client's list of the secrets it retained from sessions with Bob's clients (the most recent secret for each of the clients he has used to negotiate ESessions with Alice's client).
...
...
@@ -409,24 +545,63 @@ class EncryptedStanzaSession(StanzaSession):
self.status='active'
self.enable_encryption=True
defaccept_e2e_bob(self):
pass
# generate a random number between 'bottom' and 'top'
defsrand(self,bottom,top):
# minimum number of bytes needed to represent that range