RSA Encryption in Perl | 3

RSA Encryption in Perl

The Crypt::RC4 Module

Encrypting with the Module

There is a module on CPAN that should work on multiple
platforms available at http://search.cpan.org/search?dist=Crypt-RC4. Using the
Crypt::RC4 is also more convenient when we want
to encrypt something from within a larger Perl program. For example,
we may want to encrypt some Web form input, encrypt it, and send it
in an email.

In the above example, we are pulling three variables
from an HTML form, putting them into a colon delimited string,
encrypting it, and then sending it out to a predefined
recipient. The receiver, of course, won't be able to read
the information without decrypting it first.