jack ander writes:
> Hi,
>
> Can anyone instruct me on how to make this script run using ActivePerl on
> WinXP?
>
> Thanks!
> [EMAIL PROTECTED]
>
>
> "To use the perl implementation of RC4 you just give a key in hex on the
> command line and the rc4 perl program will encrypt standard input to
> standard output. In this example we encrypt the message "test message" with
> the 32 bit hex key "12abcdef". The message is encrypted from stdin to stdout
> which is redirected to the file "test.rc4":"
>
> % echo test message | rc4 12abcdef > test.rc4
>
> To decrypt the message you just reverse the process giving the same key and
> using the encrypted file:
>
> % rc4 12abcdef < test.rc4
If rc4 is a Perl script to invoke the interpreter somehow, try:
echo test message | perl rc4 12abcdef > test.rc4
There are probably other ways as well.
HTH
--
Brian Raven
It won't be covered in the book. The source code has to be useful for
something, after all... :-)
-- Larry Wall in <[EMAIL PROTECTED]>
-----------------------------------------------------------------------
The information contained in this e-mail is confidential and solely
for the intended addressee(s). Unauthorised reproduction, disclosure,
modification, and/or distribution of this email may be unlawful. If you
have received this email in error, please notify the sender immediately
and delete it from your system. The views expressed in this message
do not necessarily reflect those of
LIFFE Holdings Plc or any of its subsidiary companies.
-----------------------------------------------------------------------
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs