DPP icon indicating copy to clipboard operation
DPP copied to clipboard

Add support for other encryption / decryption methods supported by discord

Open Kaydax opened this issue 2 months ago • 4 comments

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

Kaydax avatar Apr 28 '24 02:04 Kaydax