What is this?
This page encrypts or decrypts text in your browser. I wrote it because of the lack of simple, easy to use encryption programs on the Internet.
To encrypt, type your message into the text box, enter a password (twice) and click the button. The encrypted text will appear in the lower box.
To decrypt, paste the encrypted text into the top box, select 'decrypt', enter the password and click the button.
If you're wanting to send it to someone, either choose a password that you both know, or send an obscure password by a different method (for example, send the encrypted text via the Internet and the password by SMS or phone call).
Why should I trust it?
Good question.
You can trust it because the encryption happens on your computer. This means that neither the text or the password is actually sent over the Internet, only the program to encrypt or decrypt them.
The weakest part of the system is the password. Choose a good one, and don't send it by the same method as the encrypted data. Preferably, send one over the Internet and the other through another method, e.g. by SMS or phone call. This should be secure enough, unless you're being followed by the Mafia or NSA, etc., in which case you probably want to use GnuPG.
But don't just take my word for it. If you know HTML and/or JavaScript, you can find the source code on GitHub, as well as the source for the underlying library. Even if you're not a coder, you can save this page to your machine and run it without an Internet connection.
How does it work?
Really, this page is just a simple wrapper around SJCL, a JavaScript encryption library written at Stanford University that uses the AES encryption algorithm.
JavaScript is the programming language that is run on web pages, so it can be interpretted and run without having to send input to the web server.