Services/KeyExchange: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 35: Line 35:
*Key: strong secret that both clients derive through J-PAKE
*Key: strong secret that both clients derive through J-PAKE


== Encodings ==
<ul>
<li>Big numbers are encoded as hex strings (Messages 1 and 2)</li>
<li>Hashes, ciphertext, IV and hmac are encoded in Base64 (Messages 3 and 4)</li>
</ul>
== Flow ==
== Flow ==


Line 171: Line 177:
C:    'type': 's3',
C:    'type': 's3',
C:    'payload': {
C:    'payload': {
C:      'H': "aa...bb"
C:      'hash': "base64encoded="
C:    }
C:    }
C: }
C: }
Line 194: Line 200:
C:      'ciphertext': "base64encoded=",
C:      'ciphertext': "base64encoded=",
C:      'IV': "base64encoded=",
C:      'IV': "base64encoded=",
C:      'hmac': "aa...bb",
C:      'hmac': "base64encoded=",
C:    }
C:    }
C: }
C: }
Confirmed users
971

edits

Navigation menu