Return to lonauth.pm CVS log | Up to [LON-CAPA] / loncom / auth |
version 1.24, 2001/08/20 12:57:02 | version 1.25, 2001/10/05 05:21:56 |
---|---|
Line 259 sub handler { | Line 259 sub handler { |
my $keybin=pack("H16",$key); | my $keybin=pack("H16",$key); |
my $cipher=new DES $keybin; | my $cipher=new Crypt::DES $keybin; |
my $upass=$cipher->decrypt( | my $upass=$cipher->decrypt( |
unpack("a8",pack("H16",substr($FORM{'upass'},0,16)))); | unpack("a8",pack("H16",substr($FORM{'upass'},0,16)))); |