DPP
DPP copied to clipboard
Add support for other encryption / decryption methods supported by discord
Is your feature request related to a problem? Please describe.
Currently DPP only supports xsalsa20_poly1305
, however discord supports all of these other types:
- aead_aes256_gcm_rtpsize
- aead_aes256_gcm
- aead_xchacha20_poly1305_rtpsize
- xsalsa20_poly1305_lite_rtpsize
- xsalsa20_poly1305_lite
- xsalsa20_poly1305_suffix
Describe the solution you'd like I would like to see all modes supported, or at least rtpsize be implemented.
There is full documentation on how rtpsize works here: https://git.kaydax.xyz/w/algos/src/branch/main/doc/crypt.md
Describe alternatives you've considered None
Additional context This has also been implemented into BetterDisco here: https://github.com/elderlabs/BetterDisco/commit/d988d6a8