PostNutClarity (PNC) is a JavaScript utility that provides encryption and decryption functionalities for text messages and binary files shared in a web application. It automatically encrypts outgoing messages and files, decrypts incoming messages, and offers a user-friendly interface for file uploads with encryption.
- Automatic message encryption and decryption
- [BETA] File encryption with automatic file decryption
- Simple GUI to toggle encryption/decryption
With PNC:
Without PNC:
Encrypted image with PNC:
Encrypted file with PNC:
Encrypted image/file without PNC:
- Open up DevTools using CTRL+SHIFT+I on https://discord.com/app (or the Discord app if you have it enabled)
- Open the "Console" tab
- Open pnc.js and copy the code
- Paste the code into your console, and PNC should be enabled!
Note: As of now, you have to run this code every single time you open Discord
- Message Encryption/Decryption: Messages are encrypted before being sent and decrypted upon being received.
- File Encryption/Decryption: Files are encrypted before being uploaded and decrypted upon being displayed or downloaded.
- MutationObserver: Observes the DOM for changes and decrypts new content as it appears.
- XHR Interception: Intercepts outgoing XMLHttpRequest (XHR) requests to encrypt message content.