/CryptCord

BetterDiscord plugin for encrypting & decrypting messages with private key.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

CryptCord

End-To-End Encryption for Discord Messages.

About

A Discord plugin for encrypting your messages with AES-256, using the CryptoJS library. I don't know the full extent of the security of AES-256, but you should do your own research, StackExchange. I am not responsible for miss-use of this plugin with any illegal activities or otherwise TOS-Breaking things on Discord. You are solely responsible for what you use this tool for.

Installation

  1. Download and install the plugin via BetterDiscord or whatever plugin manager you choose.
  2. Go to the plugin settings in BetterDiscord, or edit the Encrypt.plugin.js file and change the encryption key. On BetterDiscord you can click "Generate Key".
  3. Save the settings or the file.
  4. Give the key to said person, prefferably via another platform so Discord does not have the key in any way.
  5. Now, if you want to enable encryption, there is two ways to do it. One, click the lock emoji in the text bar beside the other buttons, this will toggle the mode on or off. The other way is to press ALT and Enter at the same time, it will encrypt the message before sending it out.

Screenshots

example1
The red messages are messages you don't have the key for, the green ones are.

example2
Example of how to turn on or off the encryption.

example3
The BetterDiscord settings area.

example4
Supports Citador quotes.

example5
Supports Discord Markup excluding code highlighting and Emojis.

Known Bugs

  • on macOS the alt key does not always work (this is because of the way macOS alt key works)
  • for large amounts of text, using Citador quotes, or other unknown random reasons, it will sometimes say Error: Malformed UTF-8 data

Future Plans

  • Fixing general bugs.
  • Fixing the Tampermonkey script.