discord-encryption
discord-encryption copied to clipboard
An experimental encryption solution for Discord
Discord Encryption
We're back baby :)
An experimental encryption solution for Discord using BetterDiscord.
Download the encryption.plugin.js
from the releases here.
Features
Adds ability to encrypt / decrypt messages on discord using a set password
- Utilizes AES-256 encryption via the crypto-js library
- Passwords are saved per-chat
- Messages are decrypted the moment they are receved with little to no delay
- Encrypted messages appear as green
- Messages that fail to be decrypted (most likely due to an incorrect password) display a message and appear as red
How to use
Install
- Install Discord
- Install BetterDiscord
- Navigate to Discord Preferences -> BD/Plugins -> Open Plugin Folder
- Place 'encryption.plugin.js' in BetterDiscord's plugin folder
- Enable encryption in the BD/Plugins preference pane.
It may ask to install an additional plugin
0PluginLibrary.plugin
which is required - It should install itself if you clickdownload
.
Usage
- To toggle the encryption simply click the lock icon. You will be prompted for a password, if none is found for the chat channel.
- Received messages are decrypted automatically
- To view or change the encryption password simply right-click the lock icon and an input box will appear - passwords are automatically saved as you type
Encrypted Message
Decrypted Message
Development
This plugin uses rollup
to bundle what's in src
into the final encryption.plugin.js
script.
Getting rollup
to work with BetterDiscord
was a gamechanger as it allows the plugin to use multiple src files instead of just one. This makes development much nicer.
How to build Build:
$ yarn && yarn build
This runs both
rollup
, and abuild-patch
script to add the requiredBetterDiscord
META tags.