Crypt::RC4

Perl implementation of the RC4 encryption algorithm.
Download

Crypt::RC4 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Kurt Kincaid
  • Publisher web site:
  • http://search.cpan.org/~sifukurt/Crypt-GOST_PP-1.10/GOST_PP.pm

Crypt::RC4 Tags


Crypt::RC4 Description

Perl implementation of the RC4 encryption algorithm. Crypt::RC4 is a Perl implementation of the RC4 encryption algorithm.SYNOPSIS# Functional Style use Crypt::RC4; $encrypted = RC4( $passphrase, $plaintext ); $decrypt = RC4( $passphrase, $encrypted );# OO Style use Crypt::RC4; $ref = Crypt::RC4->new( $passphrase ); $encrypted = $ref->RC4( $plaintext ); $ref2 = Crypt::RC4->new( $passphrase ); $decrypted = $ref2->RC4( $encrypted );# process an entire file, one line at a time # (Warning: Encrypted file leaks line lengths.) $ref3 = Crypt::RC4->new( $passphrase ); while () { chomp; print $ref3->RC4($_), " "; }A simple implementation of the RC4 algorithm, developed by RSA Security, Inc. Here is the description from RSA's website:RC4 is a stream cipher designed by Rivest for RSA Data Security (now RSA Security). It is a variable key-size stream cipher with byte-oriented operations. The algorithm is based on the use of a random permutation. Analysis shows that the period of the cipher is overwhelmingly likely to be greater than 10100. Eight to sixteen machine operations are required per output byte, and the cipher can be expected to run very quickly in software. Independent analysts have scrutinized the algorithm and it is considered secure. Requirements: · Perl


Crypt::RC4 Related Software