At 13:08 -0800 02.03.2001, Bill Becker wrote:
>This script was given to me as being a Perl implementation of one of
>the RSA crypto routines. Could (Would?) someone care to tell me which
>one, and how it works? Details will yield a great BIG thanks!
>
>Picture it strung all on one line as a one-line /bin/perl
>implmentation, I think I split it correctly at the semi-colons...
>
>Many thanks in advance,
>
>Bill
>
>
>#!perl -sp0777i<X+d*lMa^*lN%0]dsXx++lMlN/dsM0<j]dsj$/=unpack('H*',$_);
>$_='echo 16dio\U$k"SK$/SM$n\EsN0p[lN*11K[d2%Sa2/d0$^Ixp"|dc';
>s/\W//g;
>$_pack('H*',/((..)*)$/)
One thing you should note is the characters "dc" at the end of the second
line. That is a Unix program. You need to call it to use this Perl
program, so chances are you won't get this to work in MacPerl, unless you
have a dc MPW tool.
--
Chris Nandor [EMAIL PROTECTED] http://pudge.net/
Open Source Development Network [EMAIL PROTECTED] http://osdn.com/