Use the buttons above to either import a saved chat or create a chat. Use the menu at the top left to view an explanation of how to use this app and to change preferences.
0 characters
×
Create New Chat
×
Preferences
×
Explanation
To keep your personal text private, this app allows you to encrypt and decrypt text. Private Chat is especially useful when someone else has access to your computer or phone and might see your notes.
CAUTION: SENDING PRE-ENCRYPTED TEXT VIA COMMUNICATION SERVICES MIGHT VIOLATE THEIR ACCEPTABLE USE POLICY AND COULD POTENTIALLY GET YOUR ACCOUNT SUSPENDED OR TERMINATED, SO PLEASE DO NOT USE PRIVATE CHAT IN ANY WAY THAT IS ILLEGAL OR THAT COULD VIOLATE TERMS OF SERVICE OF ANY COMMUNICATION SERVICE. One does wonder whether services that promise end-to-end encryption (where they claim that even they can't read your messages), would really have a problem with messages that are pre-encrypted (how would they know that the message you are sending is pre-encrypted by you, unless they can actually intercept it, decrypt it and read/analyze it?).
Encryption algorithms available
Nav cipher: Created since other algorithms were too simple or produced very long encrypted text. This cipher produces text that is two characters longer than the original text due to a two digit nonce. This is a custom built cipher that has not been audited, so it could easily be cracked by a professional cryptographer. Only standard keyboard characters get encrypted.
Caesar cipher: This cipher can easily be decrypted. It was only meant to have an encryption mechanism that kept text garbled enough to prevent annoying algorithms from analyzing the contents of messages and sending advertisements based on it. The password you type is used to generate the offset required to perform the encryption and decryption.
AES: Much more secure than the Nav cipher. AES is an encryption algorithm trusted by the industry. Used here by invoking the CryptoJS library.
How to use Private Chat
Decide on an encryption algorithm and password/passphrase on Private Chat.
Start a new chat in Private Chat. Type some text and click the Encrypt button. Click the Copy icon near the encrypted message that appears.
Paste the encrypted message into the same or different instance of Private Chat using the Paste button and click the Decrypt button.
Features
You can start multiple chats and switch between chats using a dropdown menu at the top of the screen.
You can hide chats and show them by typing the chat password. However, a JavaScript expert would be able to use programmer tools and access the text if they have access to the browser where the chats are stored.
All data is stored temporarily in memory and is lost on page refresh/close. If you need to save/load chats, use the Export/Import options. Passwords will not be saved to storage.
Private Chat does not transmit any data anywhere without your knowledge. The source code is freely available here. and you can run it live here.