1Crypt::RC4::XS(3)     User Contributed Perl Documentation    Crypt::RC4::XS(3)
2
3
4

NAME

6       Crypt::RC4::XS - Perl implementation of the RC4 encryption algorithm
7

SYNOPSIS

9         use Crypt::RC4::XS;
10         # Functional Style
11         my $encrypted = RC4($passphrase, $plaintext);
12         my $decrypted = RC4($passphrase, $encrypted);
13
14         # OO Style
15         my $cipher = Crypt::RC4->new($passphrase);
16         my $encrypted = $cipher->RC4($plain_text);
17

DESCRIPTION

19       This module XS implementation of the RC4 algorithm, developed by RSA
20       Security, Inc. Here is the description from Wikipedia website:
21
22       In cryptography, RC4 (also known as ARC4 or ARCFOUR meaning Alleged
23       RC4, see below) is the most widely-used software stream cipher and is
24       used in popular protocols such as Secure Sockets Layer (SSL) (to
25       protect Internet traffic) and WEP (to secure wireless networks). While
26       remarkable for its simplicity and speed in software, RC4 is vulnerable
27       to attacks when the beginning of the output keystream is not discarded,
28       or a single keystream is used twice; some ways of using RC4 can lead to
29       very insecure cryptosystems such as WEP.
30
31   EXPORT
32       RC4()
33

SEE ALSO

35       Crypt::RC4
36

AUTHOR

38       Hiroyuki OYAMA, <oyama@module.jp>
39

LICENSE

41       This library is free software; you can redistribute it and/or modify it
42       under the same terms as Perl itself, either Perl version 5.8.8 or, at
43       your option, any later version of Perl 5 you may have available.
44
45
46
47perl v5.32.0                      2020-07-28                 Crypt::RC4::XS(3)
Impressum