EVP_RC2_CBC(3ossl)
π EVP_RC2_CBC π
okay bestie, welcome to the OpenSSL manual, page EVP_RC2_CBC(3ossl) β yes it's a whole page about the RC2 cipher and its lil EVP glow-up. grab a snack, we're doing this π
β¨ NAME β¨
EVP_rc2_cbc, EVP_rc2_cfb, EVP_rc2_cfb64, EVP_rc2_ecb, EVP_rc2_ofb, EVP_rc2_40_cbc, EVP_rc2_64_cbc β it's giving EVP RC2 cipher π
β¨ SYNOPSIS β¨
#include <openssl/evp.h>
const EVP_CIPHER *EVP_rc2_cbc(void);
const EVP_CIPHER *EVP_rc2_cfb(void);
const EVP_CIPHER *EVP_rc2_cfb64(void);
const EVP_CIPHER *EVP_rc2_ecb(void);
const EVP_CIPHER *EVP_rc2_ofb(void);
const EVP_CIPHER *EVP_rc2_40_cbc(void);
const EVP_CIPHER *EVP_rc2_64_cbc(void);
πΈ DESCRIPTION πΈ
so basically: the RC2 encryption algorithm, but for EVP. main character energy, fr fr β¨
π¦ EVP_rc2_cbc(), EVP_rc2_cfb(), EVP_rc2_cfb64(), EVP_rc2_ecb(), EVP_rc2_ofb()
These are the RC2 encryption algorithm in CBC, CFB, ECB and OFB modes respectively. no cap.
This is a variable key length cipher β it comes with an extra lil parameter called "effective key bits" or "effective key length". By default, both are set to 128 bits. default queen π
π¦ EVP_rc2_40_cbc(), EVP_rc2_64_cbc()
RC2 algorithm in CBC mode, but with a default key length <em>and</em> effective key length of 40 and 64 bits respectively. smol keys, bestie.
β οΈ WARNING: these functions are obsolete. like, deprecated-era, not it anymore π. Their usage should be replaced with theEVP_rc2_cbc(),EVP_CIPHER_CTX_set_key_length()andEVP_CIPHER_CTX_ctrl()functions to set the key length and effective key length. periodt.
π NOTES π
Developers, listen up π β you should be aware of the negative performance implications of calling these functions multiple times, and you should consider using EVP_CIPHER_fetch(3) with EVP_CIPHER-RC2(7) instead. See "Performance" in crypto(7) for further information. iykyk π«Ά
π RETURN VALUES π
These functions return an EVP_CIPHER structure that contains the implementation of the symmetric cipher. See EVP_CIPHER_meth_new(3) for details of the EVP_CIPHER structure. it's literally just handing you the goods π
π SEE ALSO π
π COPYRIGHT π
Copyright 2017-2023 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>.
k that's the whole page bestie, you ate it π
β¨ this was 3.5.9, dated 2026-09-29, straight from the EVP_RC2_CBC(3ossl) corner of the OpenSSL universe. go forth and encrypt responsibly π¦π
π¦ where this page comes from
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms