Loading…
Encrypt/decrypt text with AES password. Use for secrets. Input: text + password ≤10MB. Returns ciphertext/plaintext. 100% client-side.
Encrypt / Decrypt is loading — interactive editor will appear here. Use examples below to try instantly once loaded.
Press ? for keyboard shortcuts
Encrypts and decrypts text using symmetric algorithms: AES, TripleDES, Rabbit, and RC4. Supports text and hex input/output formats with a configurable secret key.
Understanding symmetric encryption is fundamental to security. This tool lets you experiment with multiple algorithms side-by-side, observe how different keys and algorithms produce different outputs, and verify encryption/decryption round-trips.
This tool is part of the DevStackIO platform — a collection of free online developer tools from DevStackIO. Browse more free developer resources on DevStackIO.
Developers learning about cryptography, security analysts examining encrypted payloads, and anyone needing quick symmetric encryption/decryption.
Choose Encrypt or Decrypt mode
Select an algorithm from the dropdown: AES, TripleDES, Rabbit, or RC4
Enter a secret key — both sides of encrypt/decrypt must use the same key
For encryption: type plaintext in the input area
For decryption: choose input format (Text or Hex) and paste the ciphertext
Choose output format (Hex or Text) and click the action button
Copy the result using the Copy button
Encrypt: algorithm=AES, key='my-secret', input='Hello World'. Output: hex string of the XOR-processed bytes.Decrypt: algorithm=AES, key='my-secret', input='[hex from above]', inputFormat=Hex. Output: 'Hello World'Is this suitable for production encryption? No
this uses simplified implementations for learning. Use established libraries like Web Crypto API for production.
Why does the output change completely with a one-character key change?
Symmetric ciphers are designed so that similar keys produce completely different outputs (avalanche effect).
Can I encrypt binary data?
Currently the tool accepts text and hex input. For binary, convert to hex first and use hex mode.
Which algorithm is fastest?
RC4 and Rabbit are stream ciphers and tend to be faster. AES and TripleDES are block ciphers with more overhead.
Authoritative specifications, standards, and in-depth reading for Encrypt / Decrypt.
Modern authenticated encryption. Legacy algorithms (TripleDES, RC4, Rabbit) removed for security.
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes for text. Copy or compare instantly.
Generate time-based OTP codes from authenticator secret. Use for 2FA testing; for random tokens use token-generator. Input: Base32 secret. Returns 6-digit code + QR. 100% client-side.
Decode SSL certificates (subject/expiry/chain). Use for debugging certs. Input: PEM text ≤10MB. Returns parsed fields. 100% client-side.
Build Content-Security-Policy headers. Use for XSS hardening. Input: directive options. Returns policy string. 100% client-side.
Compute MD5/SHA-256/SHA-512 checksums for files to verify integrity. Use for files; for text strings use hash-generator. Input: file ≤10MB. Returns hex digests. 100% client-side, files never uploaded.
Infer JSON Schema from sample JSON for validation. Use when authoring schemas; for validating instances use json-validator. Input: JSON ≤10MB. Returns JSON Schema draft. 100% client-side.
Hash passwords with bcrypt (cost-configurable) and verify. Use for password storage; for fast checksums use hash-generator, for keyed MACs use hmac-generator. Input: password text. Returns bcrypt hash. 100% client-side.
Generate sortable ULIDs (time-ordered IDs). Use when ordering matters; for random UUIDs use uuid-generator, for tokens use token-generator. Input: count option. Returns ULID strings. 100% client-side.
Learn the concepts behind this tool.
AES
Advanced Encryption Standard is a symmetric block cipher using 128, 192, or 256-bit keys approved by NIST. It encrypts data fast and securely in software and hardware worldwide.
View in glossary →RSA
RSA is an asymmetric cryptosystem using a public key for encryption and a private key for decryption. Its security relies on the difficulty of factoring large prime products.
View in glossary →