Shared Key
fun SharedKey( dependencies: DittoDependencies, appID: String, sharedKey: String, siteID: BigInteger? = null)
Content copied to clipboard
Parameters
dependencies
the dependencies required by the SDK to be initialised.
app ID
the name of the app. All peers must use the same app name to communicate.
shared Key
a base64-encoded DER private key. Refer to Ditto documentation for details about generating shared keys.
site ID
the site ID of the peer.