1EVP_RC4(3ossl)                      OpenSSL                     EVP_RC4(3ossl)
2
3
4

NAME

6       EVP_rc4, EVP_rc4_40, EVP_rc4_hmac_md5 - EVP RC4 stream cipher
7

SYNOPSIS

9        #include <openssl/evp.h>
10
11        const EVP_CIPHER *EVP_rc4(void);
12        const EVP_CIPHER *EVP_rc4_40(void);
13        const EVP_CIPHER *EVP_rc4_hmac_md5(void);
14

DESCRIPTION

16       The RC4 stream cipher for EVP.
17
18       EVP_rc4()
19           RC4 stream cipher. This is a variable key length cipher with a
20           default key length of 128 bits.
21
22       EVP_rc4_40()
23           RC4 stream cipher with 40 bit key length.
24
25           WARNING: this function is obsolete. Its usage should be replaced
26           with the EVP_rc4() and the EVP_CIPHER_CTX_set_key_length()
27           functions.
28
29       EVP_rc4_hmac_md5()
30           Authenticated encryption with the RC4 stream cipher with MD5 as
31           HMAC.
32
33           WARNING: this is not intended for usage outside of TLS and requires
34           calling of some undocumented ctrl functions. These ciphers do not
35           conform to the EVP AEAD interface.
36

NOTES

38       Developers should be aware of the negative performance implications of
39       calling these functions multiple times and should consider using
40       EVP_CIPHER_fetch(3) instead.  See "Performance" in crypto(7) for
41       further information.
42

RETURN VALUES

44       These functions return an EVP_CIPHER structure that contains the
45       implementation of the symmetric cipher. See EVP_CIPHER_meth_new(3) for
46       details of the EVP_CIPHER structure.
47

SEE ALSO

49       evp(7), EVP_EncryptInit(3), EVP_CIPHER_meth_new(3)
50
52       Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
53
54       Licensed under the Apache License 2.0 (the "License").  You may not use
55       this file except in compliance with the License.  You can obtain a copy
56       in the file LICENSE in the source distribution or at
57       <https://www.openssl.org/source/license.html>.
58
59
60
613.1.1                             2023-08-31                    EVP_RC4(3ossl)
Impressum