Concept: Connection ID

Back to overview

The identifier of a specific connection.

Description

The connection ID uniquely identifies a single connection. It allows to associate chunks to a specific connection in order to be able to resume the session. A more detailed explanation of the role of the connection ID is stated in the description of the Sequence Number.

The ID is being derived by using the established SaltyRTC session key (the private key of this peer and the public key of the other peer) by encrypting an empty byte sequence with the nonce connectionidconnectionid. The resulting 16 bytes are the connection ID.