EVP_CIPHER-RC2 - The RC2 EVP_CIPHER implementations
| Use Case | Command | Description |
|---|---|---|
| Encrypt file with RC2-CBC | openssl enc -rc2-cbc -in plain.txt -out encrypted.bin -pass pass:secret | Encrypts plain.txt using RC2‑CBC and a password‑derived key |
| Decrypt file | openssl enc -d -rc2-cbc -in encrypted.bin -out plain.txt -pass pass:secret | Decrypts encrypted.bin back to plain.txt |
| Use 40‑bit effective key length | openssl enc -rc2-40-cbc -in plain.txt -out encrypted.bin -pass pass:secret | Forces RC2 to use a 40‑bit key (equivalent to export‑grade) |
| List available RC2 ciphers | openssl list -cipher-algorithms | grep RC2 | Shows all RC2 variants supported by the current OpenSSL build |
Support for RC2 symmetric encryption using the EVP_CIPHER API.
The following algorithms are available in the legacy provider:
This implementation supports the parameters described in "PARAMETERS" in EVP_EncryptInit(3).
provider-cipher(7), OSSL_PROVIDER-legacy(7)
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>.
3.0.2 2026-06-02 EVP_CIPHER-RC2(7SSL)
Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 21:00 @2600:1f28:365:80b0:b91e:58eb:6587:15c8
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format