hacktricks/src/crypto-and-stego/rc4-encrypt-and-decrypt.md
2025-08-20 12:46:23 +00:00

555 B

RC4 Encrypt and Decrypt

{{#include ../banners/hacktricks-training.md}}

If you can somehow encrypt a plaintext using RC4, you can decrypt any content encrypted by that RC4 (using the same password) just using the encryption function.

If you can encrypt a known plaintext you can also extract the password. More references can be found in the HTB Kryptos machine:

{{#ref}} https://0xrick.github.io/hack-the-box/kryptos/ {{#endref}}

{{#ref}} https://0xrick.github.io/hack-the-box/kryptos/ {{#endref}}

{{#include ../banners/hacktricks-training.md}}