decrypt

fun XSalsa20Poly1305Codec.decrypt(box: ByteArray, boxOffset: Int = 0, boxLength: Int = box.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.