CTF

AES, DES & RC4 Encrypt / Decrypt

Encrypt and decrypt AES, DES, 3DES and RC4 in your browser with ECB, CBC and CTR modes, PKCS#7 padding and text, hex or Base64 I/O.

Runs locallyYour input never leaves this device
WORKBENCH

2 MB input limit · no history kept

Everything runs locally in JavaScript, including the ECB, DES, 3DES and RC4 that Web Crypto lacks. CTR uses a big-endian counter, matching PyCryptodome's counter setup. ECB and DES are insecure — use them only for CTFs and compatibility testing.

HOW TO USE

How to use the AES, DES & RC4 Encrypt / Decrypt

CTF crypto and reversing challenges often hand you a key, an IV and a ciphertext and ask you to recover an AES-, DES- or RC4-encrypted flag. Web Crypto has no ECB, DES or RC4, so this tool implements them in plain JavaScript, and the key, IV and data each take text, hex or Base64.

  1. Pick the algorithm and mode (ECB, CBC or CTR), then enter the key and IV and set their formats.
  2. Paste the ciphertext, choose its format and click Decrypt — or paste plaintext and click Encrypt.
  3. Switch the output format to inspect the result. On a padding error, check the key and IV or turn off PKCS#7 padding.
USE CASES

AES, DES & RC4 Encrypt / Decrypt use cases

  • Decrypt AES-CBC or ECB strings after finding the key while reversing a binary.
  • Verify the RC4 or DES keys used in a malware configuration.
  • Check your own encryption code against a reference implementation.

Related topics: aes, aes decrypt, des, 3des, rc4, ecb, cbc, ctr, 對稱加密, crypto, ctf

FAQ

AES, DES & RC4 Encrypt / Decrypt FAQ

Does the AES, DES & RC4 Encrypt / Decrypt upload my data?

No. Tool input and results stay in the current tab. Navigation may load static site assets, but does not upload the data you enter.

Is the AES, DES & RC4 Encrypt / Decrypt free? Do I need an account?

It's free with no account and no usage limits, like every other tool on SecTools.

Can I use the AES, DES & RC4 Encrypt / Decrypt on mobile or offline?

Yes. It works in mobile and desktop browsers and keeps working offline once the page has loaded. You can also self-host the open-source code on an internal network.

Can I treat the AES, DES & RC4 Encrypt / Decrypt's results as a final verdict?

Use them for triage and cross-checking. For important incidents, keep the original evidence and confirm with your formal verification or forensic process.

SECURITY NOTE

Use it safely

This tool supports analysis and interpretation; it doesn't replace a formal security review. Avoid pasting live credentials, private keys or production passwords on a shared computer. Close the tab when you're done and your input is gone.