proteus Encrypt Batched
suspend fun proteusEncryptBatched(sessionIds: List<SessionId>, message: ByteArray): Map<SessionId, ByteArray>
Batch encryption for proteus messages This is used to minimize FFI roundtrips when used in the context of a multi-client session (i.e. conversation)
Return
A map indexed by each session ID and the corresponding CBOR-serialized encrypted message for this session
Parameters
session Ids
List of Proteus session IDs to encrypt the message for
message
payload to encrypt