encrypt
fun XSalsa20Poly1305Codec.encrypt(message: ByteArray, mOffset: Int = 0, mLength: Int = message.size, nonce: ByteArray): ByteArray?(source)
Deprecated
This is no longer used by Kord and all voice encryption modes using XSalsa20Poly1305 are no longer supported by Discord. This will be removed in the future.