proteusEncrypt

suspend fun proteusEncrypt(message: ByteArray, sessionId: SessionId): ByteArray

Encrypt a message for a given session

Parameters

message
  • payload to encrypt

sessionId
  • ID of the Proteus session