AES Text Encryption · Tutorial

How to send a secret message safely with password encryption

6 min readbeginnerUpdated

You need to send someone a piece of sensitive information, like a door code, a Wi-Fi password or an account recovery code, and the only convenient channel is email or chat. This tutorial encrypts the message with a password, explains how to share the two safely, and shows the recipient's side, using a sample message.

What you need

  • The AES Text Encryption tool, for both you and the recipient
  • Two different ways to contact the recipient, for example email and a phone call

Steps

  1. Choose a strong password

    Pick a password that's long and not used anywhere else. A few random words plus a number works well, such as lighthouse-tide-42 in the sample. The Password Generator can make one for you.

  2. Encrypt the message

    Choose Encrypt text, type the password, paste your message, and press Encrypt. After about a second, an encrypted message starting with BT1. appears.

  3. Send the message and the password separately

    Send the BT1. message by your usual channel, for example email. Share the password a different way, such as a phone call, in person or a different messaging app. If one channel is compromised, the information is still safe.

  4. Decrypt on the other side

    The recipient opens this tool, chooses Decrypt a message (it switches automatically when a BT1. message is pasted), pastes the message, enters the password and presses Decrypt. The Try it button does exactly this with the sample. It reveals a studio door code.

  5. Clean up

    Once the recipient has the information, both of you should delete the message and the password from email and chat history.

Try it yourself

Opens the AES Text Encryption with this tutorial's sample loaded.

Try it now

Common mistakes

Sending the password with the message
Putting both in the same email defeats the purpose. Anyone who reads the email can decrypt it.
Weak passwords
Short or common passwords can be guessed offline. The slow key derivation helps, but it can't save a password like 1234.
Expecting password recovery
There's no reset. If the password is lost, the message is gone for good, and that's what makes it secure.

Next steps

Go back to the AES Text Encryption, or keep going with one of these:

FAQ

What happens if someone changes one character of the message?

Decryption fails with an error. The built-in authentication tag detects any change.