Study the classical ciphers
Compare the same text under Caesar, ROT13 and both rail fence rearrangements.
Guide
Text encryption covers four families of algorithm. AES uses the passphrase API of crypto-js: a key is derived from the passphrase through the OpenSSL-compatible EvpKDF, a random salt is added automatically and the result is emitted as Base64. Caesar and ROT13 only rotate ASCII letters. Rail fence offers two rearrangements — the standard W type and the group type common in CTF puzzles.
Updated 2026-09-102 min read
| Input | Output | Notes |
|---|---|---|
| AES plaintext + passphrase | Base64 ciphertext | The random salt makes every run different |
ABC with Caesar +3 |
DEF |
Only A–Z and a–z move |
| ROT13 applied twice | The original text | A 13-place rotation is self-inverse |
[a-zA-Z]; digits, Chinese text, emoji and punctuation are left untouched.Compare the same text under Caesar, ROT13 and both rail fence rearrangements.
Encrypt and decrypt short text between a controlled environment and this tool's OpenSSL-compatible format.
Because passphrase-based CryptoJS AES generates a random salt and encodes that salt together with the ciphertext.
No. It is a reversible character rearrangement, fine for teaching or puzzles but not for protecting sensitive data.
Plaintext, ciphertext and passphrases are handled only in browser memory and are never uploaded; sensitive keys still should not be typed on an untrusted device.
Updated 2026-09-10
AES encryption and decryption plus classic ciphers: Caesar, ROT13, rail fence
The key is derived from the password with OpenSSL EvpKDF and the ciphertext is Base64 (it contains a random salt, so every encryption differs)