RC4 Encryption

This online tool helps you encrypt text or a file from local storage or a URL using RC4. It supports various modes and padding schemes. It also supports PBKDF2 or EvpKDF, with customizable salt, iteration, and hash settings. It also supports drop bytes.

Input
Output
Share Link
Settings
Salt
Key

Decryption

FAQ

What is RC4 and how does it work?

RC4 is a stream cipher that XORs keystream with plaintext. Decrypt using RC4 decryption.

Is RC4 still secure?

RC4 has known biases and is deprecated in TLS. Prefer AES-CTR or other modern ciphers.

What is the RC4 "drop" parameter?

Dropping initial bytes reduces keystream bias. Set the drop option appropriately in the RC4 tool.

How do I derive an RC4 key?

Use PBKDF2/EvpKDF with salt and iterations from a passphrase. You can hash with SHA256.

Can I decrypt RC4 without the key?

No. You must know the key (and drop setting) to decrypt. See RC4 decryption.