Crypto
Encrypt / Decrypt Text
Experiment with password-derived AES-GCM encryption while keeping the ciphertext format and password separate.
About this tool
When to use it
Experiment with password-derived AES-GCM encryption while keeping the ciphertext format and password separate.
How to use it
Enter test text and a password of at least eight characters, then encrypt. Copy the complete DM-AES1 payload. Switch to decryption, paste it, and use the exact same password. Keep the original until you have verified the round trip.
Guide updated . Examples checked against this implementation.
Worked examples
Recover a short fixture
Input
Encrypt Hello with demo-password; decrypt the returned payload with the same passwordExpected output
HelloCiphertext changes between runs because salt and IV are random. The example specifies the recovered text rather than a fixed ciphertext.
Errors and unsupported input
Decryption failedCheck the complete payload and password. A changed payload or incorrect password fails authentication; the tool cannot recover a lost password.
Continue this workflow
- HMAC Generator: Authenticate a message without encrypting it when that matches your protocol.
Questions
Frequently asked questions
Why does encrypting the same text produce different output?
Fresh randomness is used for every encryption. Verify compatibility by decrypting successfully, not by expecting identical ciphertext.