Package discord4j.voice.crypto
Interface EncryptionAdapter
- All Known Implementing Classes:
Aes256GcmEncryptionAdapter,Xchacha20Poly1305EncryptionAdapter
public interface EncryptionAdapter
-
Method Details
-
getNonceLength
int getNonceLength() -
encrypt
- Throws:
GeneralSecurityException
-
decrypt
- Throws:
GeneralSecurityException
-