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.
- Pick the algorithm and mode (ECB, CBC or CTR), then enter the key and IV and set their formats.
- Paste the ciphertext, choose its format and click Decrypt — or paste plaintext and click Encrypt.
- Switch the output format to inspect the result. On a padding error, check the key and IV or turn off PKCS#7 padding.