1Net::SSH::Perl::Cipher:U:sReCr4(C3o)ntributed Perl DocumNeentt:a:tSiSoHn::Perl::Cipher::RC4(3)
2
3
4
6 Net::SSH::Perl::Cipher::RC4 - RC4 encryption/decryption
7
9 use Net::SSH::Perl::Cipher;
10 my $cipher = Net::SSH::Perl::Cipher->new('RC4', $key);
11 print $cipher->encrypt($plaintext);
12
14 Net::SSH::Perl::Cipher::RC4 provides RC4 (arcfour) encryption support
15 for the SSH2 protocol implementation in Net::SSH::Perl. Unlike the
16 other Net::SSH::Perl::Cipher objects, the RC4 module relies on no out‐
17 side libraries; the RC4 algorithm is implemented entirely in this mod‐
18 ule.
19
20 RC4 uses key sizes of 16 bytes.
21
23 Please see the Net::SSH::Perl manpage for author, copyright, and
24 license information.
25
26
27
28perl v5.8.8 2003-12-03 Net::SSH::Perl::Cipher::RC4(3)