proteus Encrypt With Pre Key
suspend fun proteusEncryptWithPreKey(message: ByteArray, preKey: PreKey, sessionId: SessionId): ByteArray
Create a session and encrypt a message.
Return
The CBOR-serialized encrypted message
Parameters
message
the message
pre Key
the prekey
session Id
the session ID to be used