EVP_CIPHER-RC4 â The RC4 EVP_CIPHER implementations
| Use Case | Command | Description |
|---|---|---|
| đ Encrypt data with RC4 | openssl enc -rc4 -e -in plain.txt -out cipher.bin -K |
Encrypt a file using the RC4 stream cipher with a raw hexadecimal key |
| đ Decrypt data with RC4 | openssl enc -rc4 -d -in cipher.bin -out plain.txt -K |
Decrypt a file encrypted with RC4 |
| đ List available RC4 algorithms | openssl list -cipher-algorithms | grep -i rc4 |
Show all RC4-related cipher names supported by the legacy provider |
| âī¸ Use EVP API for RC4 encryption | EVP_EncryptInit_ex(ctx, EVP_rc4(), NULL, key, iv) |
Initialize an EVP cipher context for RC4 encryption |
Support for RC4 symmetric encryption using the EVP_CIPHER API.
The following algorithms are available in the legacy provider:
RC4RC4-40RC4-HMAC-MD5This implementation supports the parameters described in PARAMETERS in EVP_EncryptInit(3).
Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.
Generated by phpman v4.9.26-1-g511901d Author: Che Dong Under GNU General Public License
2026-08-07 01:58 @216.73.216.207
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format