encodeMessage

fun encodeMessage(secret: ByteArray, channelId: String, payload: ByteArray): ByteArray